summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
1997-02-04libitizeJim Meyering
1997-02-04libitizeJim Meyering
1997-02-04libitizeJim Meyering
1997-02-04new obstack from libcJim Meyering
1997-02-03(parse_long_options): Compare getopt_long returnJim Meyering
value against -1, not EOF. Use NULL, not `(int *) 0' as last parameter in getopt_long call.
1997-01-26bracket prototype with PARAMSJim Meyering
1997-01-26.Jim Meyering
1997-01-25remove trailing blanksJim Meyering
1997-01-25(noinst_HEADERS): Add getdate.h.Jim Meyering
1997-01-25.Jim Meyering
1997-01-25(XSTRTOL_H): Undefine it.Jim Meyering
1997-01-25[!_STRTOL_ERROR]: Define the type `enum strtol_error'Jim Meyering
only if it hasn't already been defined.
1997-01-25(__xstrtol): Change interpretation ofJim Meyering
VALID_SUFFIXES == NULL vs VALID_SUFFIXES == "". Use the former when any suffix is valid, the later when no suffix is allowed.
1997-01-25(parse_long_options): Reset optind to zeroJim Meyering
before just returning so that getopt internals get initialized from the probably-new parameters when/if getopt is called later.
1997-01-23Update from GNU via UliJim Meyering
1997-01-23revert last changeJim Meyering
1997-01-22[strftime]: Add parameters to macro definition. From Drepper.Jim Meyering
1997-01-22(_strftime_copytm): New function, to work around Solaris 2.5 tzset bug.Jim Meyering
From Paul Eggert.
1997-01-18Indent with GNU indent.Jim Meyering
1997-01-18Indent 2 more cpp-directives to reflect nesting.Jim Meyering
1997-01-18(get_date): Change prototype to reflect const'ness of parameters.Jim Meyering
Indent cpp-directives to reflect nesting.
1997-01-18.Jim Meyering
1997-01-181997-01-06 Paul Eggert <eggert@twinsun.com>Jim Meyering
* getdate.y: Rewrite to use mktime. <sys/timeb.h>: Don't include. (mktime): Declare. (struct timeb, timezone, DOOMSDAY, SECSPERDAY, DSTMODE, yyDSTmode, ToSeconds, Convert, DSTcorrect, RelativeDate, RelativeMonth): Remove. (ToHour): New function (part of the old ToSeconds fn). (ToYear): New function (part of the old Convert fn). (TABLE.value, yyDayOrdinal, yyDayNumber, yyTimezone, yyDay, yyHour, yyMinutes, yyMonth, yySeconds, yyYear, yyRelMonth, yyRelSeconds, Number): Now int instead of time_t. (HOUR): Don't cast to time_t. (tDAY_UNIT, tHOUR_UNIT, tYEAR_UNIT): New %tokens. (UnitsTable): Use new units that are closer to the keywords. (yyRelDay, yyRelHour, yyRelMinutes, yyRelYear): New variables. (rel, relunit, get_date): Add support for them. (time): Fix timezone calculations for negative half-hour offsets when integer division truncates towards minus infinity. (zone): Incorporiate DST calculation directly. (get_date): 2nd arg is now time_t *, not struct timeb *. Use mktime to do most of the work, instead of computing it ourselves. Guard against falsely reporting errors near the time_t boundaries when parsing times in other time zones.
1997-01-18Add comment re HAVE_PSTAT_GETDYNAMIC.Jim Meyering
1997-01-18reindentJim Meyering
1997-01-15Fix up indentation a little.Jim Meyering
1997-01-15Indent cpp-directives to reflect nesting.Jim Meyering
1997-01-08(_getopt_internal): Use `_', rather than the (sometimes-)expansion `gettext'.Jim Meyering
1997-01-08[_]: Define to gettext also if ENABLE_NLS is defined.Jim Meyering
1997-01-08New (more POSIX compliant) version from GNU libc.Jim Meyering
1997-01-03.Jim Meyering
1997-01-03(EXTRA_DIST): Add getgroups.c.Jim Meyering
1997-01-02.Jim Meyering
1996-12-27Add comment.Jim Meyering
Rename local, ng to n_groups.
1996-12-23.Jim Meyering
1996-12-21update from GNU libcJim Meyering
1996-12-21Update from GNU libc.Jim Meyering
1996-12-19.Jim Meyering
1996-12-18run cpp-indentJim Meyering
1996-12-18another new version ...Jim Meyering
1996-12-18(ISDIGIT): Replace with smaller, faster editionJim Meyering
that yields nonzero only on ASCII digits. (ISDIGIT_LOCALE): New macro, with same meaning that ISDIGIT used to have. From Paul Eggert.
1996-12-18add blank line.Jim Meyering
1996-12-18Update from GNU libc.Jim Meyering
1996-12-17.Jim Meyering
1996-12-13(IN_CTYPE_DOMAIN): Rename from ISASCII.Jim Meyering
(ISDIGIT): New definition from Paul Eggert. This one evaluates its argument exactly once. (yylex): Move increment out of ISALPHA argument. Use a comma-expression instead.
1996-12-11(EXTRA_DIST): Add strftime.c to appease automake.Jim Meyering
Although it's not used yet, it'll be used by ls's (to-be-done) --format=FORMAT option.
1996-12-10.Jim Meyering
1996-12-10(EXTRA_DIST): Add mktime.c.Jim Meyering
Reported by Thomas Bushnell.
1996-12-10Include config.h.Jim Meyering
[!HAVE_BCOPY && HAVE_MEMCPY && !defined (bcopy)]: Define bcopy in terms of memcpy. Reported by Marcus Daniels.
1996-12-10.Jim Meyering