summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
1999-08-30.Jim Meyering
1999-08-29(relative_time_table): Change `type' of `THIS' fromJim Meyering
tMINUTE_UNIT to tUNUMBER. From Urs Thuermann.
1999-08-29(get_date): Rename latter local `tm' to probe_tm.Jim Meyering
1999-08-29(get_date): Rename outermost local `probe' to `quarter'.Jim Meyering
1999-08-29Add copyright notice.Jim Meyering
(number): Handle `Nov 11 1996' example; see Risks Digest 20.55 http://catless.ncl.ac.uk/Risks/20.55.html#subj18 (1999-08-27) (<stdio.h>): Include only if testing. (ISUPPER): Remove. (ISLOWER, PC): New macros. (<string.h>): Include if HAVE_STRING_H, not USG. (bcopy): Remove. (yymaxdepth, ..., yycheck): Don't bother to redefine, since we assume bison. (EPOCH_YEAR): Renamed from EPOCH. (table): Renamed from TABLE. (meridian): Now an anonymous enum. (struct parser_control): New type. (YYLEX_PARAM, YYPARSE_PARAM, YYSTYPE): New macros. (yyInput, ..., yyRelYear): Migrated into struct parser_control. (%pure_parser): Added, so that the parser is pure. (%union): Removed; the type is now just plain int. All %type directives removed. (tLOCAL_ZONE): New %token. (month_day_table): Renamed from MonthDayTable. (gmtime, localtime, mktime, time): Declare only if not defined. (meridian_table): New table. (dst_table): New table. (units_table): renamed from UnitsTable. (relative_time_table): Renamed from OtherTable. (time_zone_table): Renamed from TimezoneTable. Modernized data. (military_table): Renamed from MilitaryTable. (to_hour): Renamed from ToHour. (to_year): Renamed from ToYear. (lookup_zone): New function. (LookupWord): Renamed from lookup_word. Use lookup_zone for time zones. (yylex): Now reentrant. All callers changed. (get_date): Add support for local time zone abbreviations. Make it reentrant.
1999-08-17.Jim Meyering
1999-08-17.Jim Meyering
1999-08-10(ARGMATCH_QUOTING_STYLE):Jim Meyering
Change from escape_quoting_style to locale_quoting_style. (argmatch_invalid): Use new quotearg_style primitive for simplicity. Also, use ARGMATCH_QUOTING_STYLE to quote, instead of quoting ourselves.
1999-08-10(locale_quoting_style): New enum value.Jim Meyering
(quotearg_n_style, quotearg_style): New decls.
1999-08-10Include <libintl.h> if ENABLE_NLS.Jim Meyering
(_): New macro. (quoting_style_args, quoting_style_v, quotearg_buffer): Add support for locale_quoting_style, using _("`") and _("'") for open and close quote symbols. Do not quote spaces in escape_quoting_style. (quotearg_n_style, quotearg_style): New functions.
1999-08-08fix typoJim Meyering
1999-08-08update prototypeJim Meyering
1999-08-08(savedir): Change type of name_size parameter to off_t.Jim Meyering
1999-08-07(OtherTable[]): Use tDAY_UNIT for `tomorrow,'Jim Meyering
`yesterday,' `today,' and `now' rather than tMINUTE_UNIT. Of course with correspondingly smaller numbers for tomorrow and yesterday. This change does not change the way the code works, since the grammar rules for the two symbols are analogous.
1999-08-01(quotearg_buffer):Jim Meyering
Don't quote spaces if C quoting style.
1999-07-30.Jim Meyering
1999-07-30Include <sys/types.h> now that linebuffer.h usesJim Meyering
size_t. This is required on at least SunOS4. From Kaveh Ghazi.
1999-07-26*** empty log message ***Jim Meyering
1999-07-20update commentsJim Meyering
1999-07-20(translate_040_to_space) [MOUNTED_GETMNTENT1]: New function.Jim Meyering
(read_filesystem_list) [MOUNTED_GETMNTENT1]: Use it.
1999-07-18.Jim Meyering
1999-07-15(noinst_HEADERS): Add getpagesize.h.Jim Meyering
1999-07-15.Jim Meyering
1999-07-15*** empty log message ***Jim Meyering
1999-07-15(get_fs_usage) [STATFS_TRUNCATES_BLOCK_COUNTS]:Jim Meyering
Work around SunOS botch also when block size is different from 1k.
1999-07-10*** empty log message ***Jim Meyering
1999-07-10cpp indent and split a long lineJim Meyering
1999-07-10use a space, not TAB after #defineJim Meyering
1999-07-10cpp indentJim Meyering
1999-07-04[!defined strtoumax]: Declare strtoumax.Jim Meyering
1999-07-04.Jim Meyering
1999-07-04(readline): Leave room for an extra byteJim Meyering
after the newline; comm needs this for memcoll.
1999-07-04[struct linebuffer] (size): Declare to be of type size_t, not long.Jim Meyering
[struct linebuffer] (length): Likewise.
1999-07-04(readline): Append trailing newline to line.Jim Meyering
1999-07-04(enum human_inexact_style): New enum.Jim Meyering
(human_readable_inexact): New decl.
1999-07-04(human_readable): New function.Jim Meyering
(human_readable_inexact): Renamed from human_readable, with new arg INEXACT_STYLE. Add support for ceiling and floor.
1999-07-04(__strtol): Remove decl; it doesn't work if __strtolJim Meyering
expands to a macro, which occurs in HP-UX 10.20 with strtoumax. (strtol, strtoul): New decls (for pre-ANSI hosts), to replace the above decl.
1999-05-23.Jim Meyering
1999-05-23.Jim Meyering
1999-05-23(libfu_a_SOURCES): Add same.c.Jim Meyering
(noinst_HEADERS): Add same.h.
1999-05-23*** empty log message ***Jim Meyering
1999-05-23New file (function extracted from ln.c).Jim Meyering
1999-05-21remove trailing newlineJim Meyering
1999-05-20add the comment to go with last changeJim Meyering
1999-05-20(get_date): Let mktime deduce tm_isdst if weJim Meyering
have an absolute timestamp, or if the relative timestamp mentions days, months, or years.
1999-05-17(human_readable): Allow from_block_size to be zero.Jim Meyering
1999-05-15.Jim Meyering
1999-05-15(getugroups): Don't dereference a null pointer whenJim Meyering
running `id USER' for some USER that is listed on the RHS in /etc/group. From Sander van Malssen. Add some curly braces, use STREQ, reverse the sense of a test and use `continue' to save a level of nesting.
1999-05-14(version_etc): Put version info and author namesJim Meyering
on the first two lines respectively rather than putting the three lines of copyright info between them.
1999-05-13Include <string.h> or <strings.h> for strlen prototype.Jim Meyering