lib


Log

Author Commit Date CI Message
Jim Meyering a6dccfc3 1999-11-26T07:31:42 .
Jim Meyering 1fa55b5e 1999-11-22T14:09:58 (DISTCLEANFILES): Add lstat.c and stat.c.
Jim Meyering 94c3325e 1999-11-19T17:02:01 (strstr): Include config.h. Add a `;' between shloop label and `}'.
Jim Meyering 0a5f1642 1999-11-13T23:19:25 .
Jim Meyering e8f0e848 1999-11-11T13:20:24 .
Jim Meyering 6564fd99 1999-11-11T11:00:50 (make_path): Fix long-latent bug (note others just like it were fixed in 1998-01-02). A user (FIXME, who?) reported that using `install -d -g foo 1/2` only sets the group on the intermediate directory, not the final component. From Michael Stone.
Jim Meyering 33bf2142 1999-11-09T20:34:17 (XMALLOC): Correct misnamed macro parameter name: s/N_bytes/N_items/. (XCALLOC): Likewise. (XREALLOC): Likewise.
Jim Meyering 0599e5c9 1999-11-07T21:06:02 (default_block_size): New function. (humblock): Use it if no block size is specified. (human_block_size): If the specified block size is zero, report an error if report_errors is nonzero; otherwise use the default.
Jim Meyering f889ed88 1999-11-05T09:55:24 Use HAVE_STRUCT_STAT_ST_BLOCKS, not deprecated HAVE_ST_BLOCKS.
Jim Meyering a58d5190 1999-11-04T23:13:12 (memcoll): The two arguments cannot be adjacent any more, so remove the alloca/copy workaround for that case.
Jim Meyering 32027663 1999-11-04T23:12:42 (readline): Do not leave room for an extra byte after the newline; it's no longer needed.
Jim Meyering a09482e0 1999-11-01T09:53:41 (MAINTAINERCLEANFILES): Set to $(BUILT_SOURCES).
Jim Meyering e38e9590 1999-10-31T15:49:05 update a comment from alpha.gnu.org:/home/gd/gnu/lib/getdate.y
Jim Meyering 7df6fcb7 1999-10-31T11:40:06 .
Jim Meyering 98a35414 1999-10-23T13:31:09 .
Jim Meyering 4c8efe43 1999-10-11T12:39:14 update from GNU lib C
Jim Meyering f4a47b01 1999-10-11T12:39:09 *** empty log message ***
Jim Meyering 0d2b1a83 1999-10-11T12:38:55 *** empty log message ***
Jim Meyering e5534304 1999-10-04T05:59:37 (__attribute__): Define to empty if GCC claims to be before 2.8; this is needed for OPENStep 4.2 cc. Also, define to empty if strict ANSI.
Jim Meyering f8bf1528 1999-09-28T15:26:45 (__attribute__): Protect against redefinition.
Jim Meyering 6e93b42a 1999-09-28T14:48:43 (error_at_line): Use strerror portably here, too, just as was done in error.
Jim Meyering 757bb587 1999-09-26T19:05:39 (xalloc_die): Rename from xalloc_fail and update callers. Use explicit exit to help avoid warnings.
Jim Meyering 9d67945f 1999-09-26T19:01:12 small correction from Akim
Jim Meyering 17addc5b 1999-09-26T18:52:51 (DIRECTORY_SEPARATOR): Define. (ISSLASH): Define. (path_concat): Allow parameter DIR to be NULL. (xpath_concat): New function. From Akim Demaille.
Jim Meyering fa2069e4 1999-09-26T18:42:56 (__attribute__): Define. (ATTRIBUTE_NORETURN): Define. (xalloc_fail_func): Add noreturn attribute. (xalloc_die): Declare. (NEW): Define as yet unused macro. (XFREE): Likewise (CCLONE): Likewise. (CLONE): Likewise. From Akim Demaille.
Jim Meyering 16501f4c 1999-09-26T18:37:02 (base_name): Add prototype. From Akim Demaille.
Jim Meyering dede3f1b 1999-09-19T16:47:58 *** empty log message ***
Jim Meyering 33d5b811 1999-09-19T16:46:50 [STAT_MACROS_BROKEN] (S_ISLNK): Undefine. (S_ISLNK): Define if necessary. This is necessary on a NEC SX-4 with SUPER-UX 9.1.
Jim Meyering 20b83f8e 1999-09-19T08:09:50 Remove useless parens in #if directive
Jim Meyering 55123888 1999-09-05T06:56:50 (ENOSYS): Don't use ENOMSG; it's not in NeXTStep3.3. Use EINVAL instead.
Jim Meyering ef4494f3 1999-09-04T20:27:03 tweak comment
Jim Meyering 5249a0d1 1999-09-02T21:23:01 (xalloc_fail_func): Use `PARAMS'. (xstrdup): Add protoype.
Jim Meyering 085991fd 1999-09-01T13:16:46 (version_etc_copyright): Declare it.
Jim Meyering b2dc4ba8 1999-09-01T13:15:11 (version_etc_copyright): Default copyright string. (version_etc): Use it.
Jim Meyering 501a5df5 1999-09-01T13:09:19 (xalloc_fail_func): Use `PARAMS'.
Jim Meyering f5f5d085 1999-08-30T14:34:09 .
Jim Meyering 8a62daba 1999-08-29T14:55:24 (relative_time_table): Change `type' of `THIS' from tMINUTE_UNIT to tUNUMBER. From Urs Thuermann.
Jim Meyering 38b658cb 1999-08-29T12:55:35 (get_date): Rename latter local `tm' to probe_tm.
Jim Meyering 00869359 1999-08-29T12:28:56 (get_date): Rename outermost local `probe' to `quarter'.
Jim Meyering c6cb26ec 1999-08-29T07:29:51 Add copyright notice. (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.
Jim Meyering cd6e594f 1999-08-17T08:00:19 .
Jim Meyering 064b3c31 1999-08-17T07:46:10 .
Jim Meyering 5c363a56 1999-08-10T11:00:12 (ARGMATCH_QUOTING_STYLE): 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.
Jim Meyering cbc709a9 1999-08-10T10:58:01 (locale_quoting_style): New enum value. (quotearg_n_style, quotearg_style): New decls.
Jim Meyering 66bec62b 1999-08-10T10:50:18 Include <libintl.h> if ENABLE_NLS. (_): 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.
Jim Meyering 14e721e5 1999-08-08T10:16:53 fix typo
Jim Meyering d9bc7df3 1999-08-08T10:12:55 update prototype
Jim Meyering 8e2cc070 1999-08-08T10:12:43 (savedir): Change type of name_size parameter to off_t.
Jim Meyering 70686f64 1999-08-07T09:50:34 (OtherTable[]): Use tDAY_UNIT for `tomorrow,' `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.
Jim Meyering 3c3d25cd 1999-08-01T07:44:39 (quotearg_buffer): Don't quote spaces if C quoting style.
Jim Meyering 13413b31 1999-07-30T21:15:01 .
Jim Meyering d59ff2bd 1999-07-30T19:29:27 Include <sys/types.h> now that linebuffer.h uses size_t. This is required on at least SunOS4. From Kaveh Ghazi.
Jim Meyering c6a5094f 1999-07-26T06:52:28 *** empty log message ***
Jim Meyering 12c637b4 1999-07-20T18:52:05 update comments
Jim Meyering 34bd051e 1999-07-20T18:41:58 (translate_040_to_space) [MOUNTED_GETMNTENT1]: New function. (read_filesystem_list) [MOUNTED_GETMNTENT1]: Use it.
Jim Meyering 9aed1cf1 1999-07-18T11:21:58 .
Jim Meyering 0a0f3598 1999-07-15T16:16:24 (noinst_HEADERS): Add getpagesize.h.
Jim Meyering 3dba1682 1999-07-15T09:31:44 .
Jim Meyering d1d0f73f 1999-07-15T09:31:34 *** empty log message ***
Jim Meyering eab7ca83 1999-07-15T07:50:06 (get_fs_usage) [STATFS_TRUNCATES_BLOCK_COUNTS]: Work around SunOS botch also when block size is different from 1k.
Jim Meyering d929a80e 1999-07-10T16:40:33 *** empty log message ***
Jim Meyering c966cc7a 1999-07-10T16:40:16 cpp indent and split a long line
Jim Meyering 41868d18 1999-07-10T16:36:56 use a space, not TAB after #define
Jim Meyering 906522d1 1999-07-10T16:36:11 cpp indent
Jim Meyering f60f9281 1999-07-04T10:40:04 [!defined strtoumax]: Declare strtoumax.
Jim Meyering 8b13b403 1999-07-04T10:38:37 .
Jim Meyering 9d80c0d4 1999-07-04T10:31:01 (readline): Leave room for an extra byte after the newline; comm needs this for memcoll.
Jim Meyering 17448795 1999-07-04T10:08:56 [struct linebuffer] (size): Declare to be of type size_t, not long. [struct linebuffer] (length): Likewise.
Jim Meyering ade79def 1999-07-04T10:06:42 (readline): Append trailing newline to line.
Jim Meyering e389e12a 1999-07-04T08:47:49 (enum human_inexact_style): New enum. (human_readable_inexact): New decl.
Jim Meyering f1d77440 1999-07-04T08:47:28 (human_readable): New function. (human_readable_inexact): Renamed from human_readable, with new arg INEXACT_STYLE. Add support for ceiling and floor.
Jim Meyering e911cfd7 1999-07-04T08:34:31 (__strtol): Remove decl; it doesn't work if __strtol 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.
Jim Meyering feb5808b 1999-05-23T21:06:36 .
Jim Meyering 25ee20d5 1999-05-23T20:44:48 .
Jim Meyering 4099aee5 1999-05-23T20:40:59 (libfu_a_SOURCES): Add same.c. (noinst_HEADERS): Add same.h.
Jim Meyering 5052916e 1999-05-23T19:43:10 *** empty log message ***
Jim Meyering 1fe04cba 1999-05-23T19:42:59 New file (function extracted from ln.c).
Jim Meyering 85023021 1999-05-21T20:47:18 remove trailing newline
Jim Meyering e850d55e 1999-05-20T03:49:25 add the comment to go with last change
Jim Meyering 85a3961e 1999-05-20T03:47:24 (get_date): Let mktime deduce tm_isdst if we have an absolute timestamp, or if the relative timestamp mentions days, months, or years.
Jim Meyering 615e02f2 1999-05-17T13:03:46 (human_readable): Allow from_block_size to be zero.
Jim Meyering 6b76fb10 1999-05-15T05:46:45 .
Jim Meyering 94076e90 1999-05-15T04:50:26 (getugroups): Don't dereference a null pointer when 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.
Jim Meyering dc96af69 1999-05-14T17:11:03 (version_etc): Put version info and author names on the first two lines respectively rather than putting the three lines of copyright info between them.
Jim Meyering 150e3921 1999-05-13T20:48:44 Include <string.h> or <strings.h> for strlen prototype.
Jim Meyering d9ae4251 1999-05-13T20:44:45 [__GLIBC__ >= 2]: #if-out prototypes.
Jim Meyering e481f380 1999-05-10T04:24:49 Update from libc.
Jim Meyering 957049c4 1999-05-07T18:52:35 .
Jim Meyering d5907e80 1999-05-06T02:10:34 (make_dir): When reporting a mkdir failure and the target cannot be `stat'ed, use the errno from the failed mkdir call, not the one from the stat call. Before this change, running `mkdir -p /no-dir/no-dir' as an unprivileged user would wrongly elicit `No such file or directory' instead of `Permission denied'.
Jim Meyering 5ed8adaa 1999-05-05T13:34:18 (read_utmp): Use the new definitions.
Jim Meyering 65bc9985 1999-05-05T13:34:02 Add definitions to help read utmpx on systems with utmpname. (UTMP_NAME_FUNCTION): Define. (SET_UTMP_ENT): Likewise. (GET_UTMP_ENT): Likewise. (END_UTMP_ENT): Likewise.
Jim Meyering 310f220f 1999-05-05T13:21:29 (TYPE_SIGNED, TYPE_MAXIMUM, TYPE_MINIMUM): Define. (ULONG_LONG_MAX, LONG_LONG_MAX, LONG_LONG_MIN): Define if not defined. Based on a patch from Kaveh Ghazi.
Jim Meyering 90182dd6 1999-05-05T03:05:11 Include makepath.h libintl.h, not after it. Otherwise, we'd get the wrong definition of PARAMS from libintl.h. (The method of defining PARAMS in libintl.h doesn't check PROTOTYPES, which is necessary on Irix4 since cc doesn't define __STDC__.) From Kaveh Ghazi.
Jim Meyering ceaf650f 1999-05-03T02:38:50 (read_utmp): Ignore the return value from utmpname.
Jim Meyering d1cfafba 1999-05-01T04:13:56 *** empty log message ***
Jim Meyering 40e284d3 1999-04-26T13:25:08 (utime_null): Don't pass 0666 to open; it's not needed and isn't guaranteed to be portable.
Jim Meyering f2ab7f35 1999-04-26T13:22:23 (S_IRWXU, S_IRWXG, S_IRWXO): Define if not defined. Use proper mode_t types and macros. Don't assume the traditional Unix values for mode bits.
Jim Meyering 050d93b8 1999-04-26T13:19:37 (make_node_op_equals, mode_compile, mode_create_from_ref, mode_adjust): Use proper mode_t types and macros. Don't assume the traditional Unix values for mode bits. modechange.h now includes sys/types.h. Include xstrtol.h. (isodigit, oatoi): Remove. (S_ISUID, S_ISGID, S_ISVTX, S_IRUSR, S_IWUSR, S_IXUSR, S_IRGRP, S_IWGRP, S_IXGRP, S_IROTH, S_IWOTH, S_IXOTH, S_IRWXU, S_IRWXG, S_IRWXO): Define if not defined. (CHMOD_MODE_BITS): New macro. (mode_compile): Convert from octal with xstrtoul, not our own routine.
Jim Meyering 06b7dd0c 1999-04-26T13:13:59 Include <config.h>, <sys/types.h> for mode_t. (struct mode_change): Members affected and value are now mode_t instead of unsigned short.
Jim Meyering 11a9ce21 1999-04-26T13:13:36 <config.h>, <sys/types.h>: Include for mode_t. (mode_string): Now takes mode_t.