lib


Log

Author Commit Date CI Message
Jim Meyering ff8b01f4 1998-06-30T03:56:57 (read_filesystem_list) [MOUNTED_GETMNTENT2]: Always close stream and file descriptor before returning.
Jim Meyering 07ce9324 1998-06-30T02:15:43 (read_filesystem_list): If SVR4, lock /etc/.mnttab.lock if available, to avoid race conditions (e.g. with the automounter on Solaris 2.6). Include <errno.h>, <fcntl.h>, <unistd.h>.
Jim Meyering 42b5becc 1998-06-29T20:29:28 protoize
Jim Meyering b6a91103 1998-06-29T17:01:48 (fstype_to_string): Guard with #if ! HAVE_F_FSTYPENAME_IN_STATFS.
Jim Meyering 70f6f1ad 1998-06-29T15:24:43 * lib/xstrtol.c (bkm_scale): Don't assume that you can convert unsigned long to double without losing information. (bkm_scale_by_power): New function. * lib/xstrtol.c (__xstrtol), src/dd.c (parse_integer): Add support for SI-like suffixes like "GB" and "TD". * src/dd.c (usage): Describe it.
Jim Meyering 026383c8 1998-06-29T15:24:15 (__ZLONG_MAX): Remove.
Jim Meyering c65fe04f 1998-06-29T15:23:45 (human_readable): Coalesce last two args into one, for convenience.
Jim Meyering 96e78d1f 1998-06-29T15:23:04 * lib/human.c, lib/human.h (human_readable): Coalesce last two args into one, for convenience. All callers changed. (human_block_size): New function. * lib/human.c: Include <config.h> only if HAVE_CONFIG_H. Include <stdlib.h> if HAVE_STDLIB_H; declare getenv unless HAVE_DECL_GETENV. (_): New macro. Include <argmatch.h>, <error.h>, <xstrtoul.h>. (DEFAULT_BLOCK_SIZE): New macro. (block_size_args, block_size_types): New constants. (humblock): New function.
Jim Meyering c52618d1 1998-06-29T01:10:24 (fsp_to_string): Clean out some crufty #ifdefs now that we're using the jm_FSTYPENAME autoconf macro.
Jim Meyering f88ac7eb 1998-05-25T03:41:02 .
Jim Meyering 136333c1 1998-05-24T14:20:58 .
Jim Meyering 6cf802f3 1998-05-24T14:00:03 Fix braino: check S_ISLNK only if lstat succeeds.
Jim Meyering 5e3f5023 1998-05-24T13:41:57 fix typo: s/chat/char/
Jim Meyering 7aa812e9 1998-05-19T15:15:09 *** empty log message ***
Jim Meyering 07d201fb 1998-05-19T15:06:49 .
Jim Meyering 7abd4b24 1998-05-16T20:26:54 (read_utmp): Add variant for systems that have the utmpname function. Ansideclify.
Jim Meyering bc44d402 1998-05-16T04:39:24 (is_prime): Ansideclify. (next_prime): Ansideclify. Add an assertion.
Jim Meyering 49e6107d 1998-05-16T04:37:45 (EXTRA_DIST): Remove. Automake groks the `LIBOBJS=' lines in the m4/*.m4 macros, so the hack of including some custom-replaced C source file names here is no longer needed.
Jim Meyering 7a13295e 1998-05-16T04:30:42 .
Jim Meyering 428e9107 1998-05-10T16:04:39 Don't declare strdup if it's defined as a macro. Reported by Lorne Baker.
Jim Meyering 677f8065 1998-05-04T00:27:15 .
Jim Meyering 6e55997c 1998-05-03T22:14:55 .
Jim Meyering d6905ada 1998-05-02T15:25:56 .
Jim Meyering 140b7a20 1998-04-28T12:19:53 tweak from FSF
Jim Meyering 63b027ff 1998-04-13T16:29:58 (noinst_HEADERS): Add safe-read.h.
Jim Meyering c965104e 1998-04-13T13:51:27 .
Jim Meyering 0eeff3be 1998-04-12T15:16:37 .
Jim Meyering 96462d30 1998-04-12T09:39:30 (TYPE_MAXIMUM): Update from system.h.
Jim Meyering 105aa815 1998-04-11T17:53:09 (noinst_HEADERS): Add safe-read.h.
Jim Meyering 84acb508 1998-04-11T17:52:28 .
Jim Meyering 0e9de31e 1998-04-11T15:37:35 split a couple long lines
Jim Meyering 6845df70 1998-04-11T15:35:06 Add curly braces around statements in if/else/while/do/etc. that span more than a line -- even around multiline simple statements or single-line simple statements preceded by a comment line.
Jim Meyering 7efc2307 1998-04-11T15:04:39 .
Jim Meyering f629cb35 1998-04-09T07:28:10 indent cpp directives
Jim Meyering 2dbc26c0 1998-04-09T07:22:52 make there be two spaces after `.' in comments
Jim Meyering a273f0ec 1998-04-06T08:09:36 Lots of minor spec and name changes, and new comments. From François Pinard.
Jim Meyering ecdc5485 1998-04-06T08:09:11 Lots of minor spec and name changes, and new comments. (hash_rehash): Rewritten to be easier on the allocator. From François Pinard.
Jim Meyering cf04d496 1998-04-06T00:26:54 *** empty log message ***
Jim Meyering 0d88dfed 1998-04-05T23:44:12 *** empty log message ***
Jim Meyering a76c548e 1998-04-05T23:43:58 .
Jim Meyering 62227802 1998-04-05T21:32:26 add braces to disambiguate ambiguous else
Jim Meyering f711379c 1998-04-05T18:24:18 (WIDE_CHAR_SUPPORT): Define. This now depends on HAVE_BTOWC so systems that lack btowc (like solaris-2.5.1) don't lose.
Jim Meyering 3fdc98be 1998-04-04T21:37:50 *** empty log message ***
Jim Meyering 33bed6ea 1998-04-04T18:16:51 (PARAMS): Define.
Jim Meyering fa39892b 1998-03-31T13:14:22 Merge with the version from textutils.
Jim Meyering 84101579 1998-03-31T12:09:55 add descriptive first-line comment
Jim Meyering 5bef2f78 1998-03-31T12:05:17 (rpl_memcmp): Rename from memcmp.
Jim Meyering 12cc8b97 1998-03-27T22:29:05 remove dcl of unused local, num_regs
Jim Meyering 743c80bf 1998-03-27T12:40:03 cpp-directive aesthetics
Jim Meyering 9e096f5f 1998-03-27T11:23:07 new version from Uli
Jim Meyering ccb04df5 1998-03-23T22:47:05 .
Jim Meyering 54dce95d 1998-03-23T07:24:54 update from libc/copies
Jim Meyering d56026b4 1998-03-21T08:49:00 Update from patch-2.5.3.
Jim Meyering 769d477a 1998-03-19T22:18:04 Include <limits.h>. (CHAR_BIT, EXTRACT_TOP_BIT, PROPAGATE_TOP_BIT): New macros. (get_fs_usage): If top bit of system variable corresponding to fsu_bavail is set, then set fsu_bavail_top_bit_set, and sign-extend the value when storing it into fsu_bavail.
Jim Meyering 0daa10b1 1998-03-19T22:17:43 (struct fs_usage): New member fsu_bavail_top_bit_set.
Jim Meyering 67f394c1 1998-03-15T11:09:10 Use #if, not #ifdef with HAVE_ macros
Jim Meyering 35f70728 1998-03-15T08:11:02 update from fsf
Jim Meyering 63c0ef79 1998-03-14T19:53:21 *** empty log message ***
Jim Meyering dd57bf31 1998-03-14T16:38:35 .
Jim Meyering a34cff22 1998-03-14T16:31:51 s/get-date.h/getdate.h/
Jim Meyering 20d7d557 1998-03-14T16:30:52 .
Jim Meyering fc161832 1998-03-13T15:25:49 protoize
Jim Meyering bf384095 1998-03-13T15:24:43 (getugroups): Don't add a group number if it would be a duplicate. From Ulrich Drepper.
Jim Meyering a19e601b 1998-03-10T22:55:20 (getuidbyname) [__DJGPP__]: Make function know about any arbitrary user name. (getgidbyname) [__DJGPP__]: Make function know about any arbitrary group name. From Eli.
Jim Meyering 6b8b6dee 1998-03-10T22:49:04 (parse_user_spec) [__DJGPP__]: Make function know about any arbitrary user and group by pretending to be the user and to belong to the group specified in `spec_arg' argument.
Jim Meyering 894a82c4 1998-02-25T23:35:53 .
Jim Meyering 5472ac42 1998-02-24T23:33:41 (TYPE_SIGNED): Define. (TYPE_MAXIMUM): Define. (ULONG_MAX): Use TYPE_MAXIMUM. (LONG_MAX): Use TYPE_MAXIMUM.
Jim Meyering da2cd9bb 1998-02-24T23:31:40 (libfu_a_SOURCES): Add quotearg.c. (noinst_HEADERS): Add quotearg.h.
Jim Meyering de12c4b7 1998-02-24T23:31:11 .
Jim Meyering 9300fc8b 1998-02-24T23:19:13 add comment
Jim Meyering 87735e12 1998-02-24T23:18:23 update from libit
Jim Meyering 6db73c83 1998-02-24T23:17:38 protoize
Jim Meyering 18ab6ee1 1998-02-24T22:59:34 capitalize macro params and protoize
Jim Meyering 8113e5c5 1998-02-24T22:58:26 add copyright
Jim Meyering d141af4c 1998-02-24T22:54:10 Update from libit.
Jim Meyering 0402072d 1998-02-23T10:16:53 .
Jim Meyering 23fa298d 1998-02-22T08:21:07 revert most of last delta, but leave cppi/copyright changes
Jim Meyering 521fac92 1998-02-20T21:50:49 .
Jim Meyering 21230f56 1998-02-20T21:42:29 (noinst_HEADERS): s/getdate.h/get-date.h/
Jim Meyering b24e4cd5 1998-02-20T21:42:11 s/getdate.h/get-date.h/
Jim Meyering 420a1599 1998-02-20T12:22:50 .
Jim Meyering ec4c2552 1998-02-19T21:31:06 (dirname): Include ctype.h. [IN_CTYPE_DOMAIN]: Define. [ISALPHA]: Define. [MSDOS]: Add support for DOS-style file names with drive letters. Based on a patch from Eli Zaretskii.
Jim Meyering 4ba0abaf 1998-02-19T21:28:38 [__DJGPP__]: Add missing typedef for daddr_t.
Jim Meyering bee64b87 1998-02-11T22:17:38 Add my comment from ChangeLog entry for gkm's change.
Jim Meyering f565b913 1998-02-07T15:17:56 .
Jim Meyering 9009dcd2 1998-02-07T08:13:08 .
Jim Meyering 2ea9c49d 1998-02-03T07:23:13 (sys/types.h): Include to get size_t on some systems. (NULL): Define if needed.
Jim Meyering 48233dc7 1998-01-25T21:20:53 .
Jim Meyering bfd921d6 1998-01-23T22:02:54 (__mktime_internal): Work around bug in Irix4.0.5's C compiler. From Kaveh Ghazi. (TYPE_MINIMUM): Define. (TYPE_MAXIMUM): Define. (TIME_T_MIN): Use TYPE_MINIMUM. (TIME_T_MAX): Use TYPE_MAXIMUM.
Jim Meyering 83de8993 1998-01-21T15:59:28 .
Jim Meyering bed95b29 1998-01-21T15:57:48 Fix copyright
Jim Meyering 8a6a44fb 1998-01-21T15:57:18 Use ANSI function definitions. Remove global declaration of backup_type. (simple_backup_suffix): Default to `~', not `.orig'. Use PARAMS, not __BACKUPFILE_P. (find_backup_file_name): Add parameter, backup_type.
Jim Meyering ea0beb54 1998-01-21T15:55:12 Remove extern declaration of backup_type. Use PARAMS, not __BACKUPFILE_P. (VALID_BACKUP_TYPE): Define. (find_backup_file_name): Adjust prototype.
Jim Meyering 38f9b64b 1998-01-20T11:34:38 Use ANSI function definitions.
Jim Meyering 6e866dec 1998-01-20T11:34:04 [enum backup_type]: Set `none' to 1.
Jim Meyering 83bacbc7 1998-01-16T08:51:39 Make PARAMS-defining conditionals consistent.
Jim Meyering d6db5bb9 1998-01-13T10:08:11 Set errno to ENOENT, not EINVAL. This is consistent with most other implementations.
Jim Meyering 6377e850 1998-01-12T08:13:39 Include sys/param.h only #if HAVE_SYS_PARAM_H. Move function-spanning `#if ...BSIZE' stmt to follow inclusion of sys/param.h since BSIZE is sometimes defined in sys/param.h. Based on a patch from Philippe De Muyter.
Jim Meyering 96b34d0a 1998-01-11T09:14:29 .
Jim Meyering 8e83ae95 1998-01-11T09:12:30 *** empty log message ***