lib


Log

Author Commit Date CI Message
Jim Meyering 34b298f0 1998-09-07T17:03:50 .
Jim Meyering 5d41f264 1998-09-07T03:23:30 add test harness
Jim Meyering defeec97 1998-09-07T02:38:28 *** empty log message ***
Jim Meyering 22c071e5 1998-09-07T02:36:36 *** empty log message ***
Jim Meyering ab534a75 1998-09-07T02:21:19 (libfu_a_SOURCES): Change posixtm.y to posixtm.c. (noinst_HEADERS): Add posixtm.h.
Jim Meyering b29665b6 1998-09-07T02:18:43 *** empty log message ***
Jim Meyering 3fabedfa 1998-09-07T02:17:55 .
Jim Meyering b8251896 1998-09-06T22:57:00 rewrite from yacc-based version
Jim Meyering 9dc1a4ff 1998-09-06T22:55:47 .
Jim Meyering c9761838 1998-09-06T22:53:59 *** empty log message ***
Jim Meyering fa39a6be 1998-08-16T15:26:20 (PARAMS): Define and use.
Jim Meyering b3b26ab6 1998-08-15T14:20:16 Add braces to suppress warning about ambiguous `else'.
Jim Meyering 5542a382 1998-08-15T03:01:13 (read_filesystem_list) [MOUNTED_GETMNT]: Don't infloop on getmnt(2) returning 0. Christian von Roques
Jim Meyering 293e41a2 1998-08-14T14:09:21 .
Jim Meyering e93173fd 1998-08-13T02:09:24 .
Jim Meyering 7086754d 1998-08-13T02:07:54 (noinst_HEADERS): Add filemode.h.
Jim Meyering c63f16fc 1998-08-13T02:05:56 Protoize. Tsort function definitions and remove prototypes of static functions. (mode_string): Remove prototype.
Jim Meyering cf34f757 1998-08-13T02:05:29 .
Jim Meyering ad3d56c0 1998-08-13T01:52:01 (ftypelet): Add comments for Cray DMF support. From Johan Danielsson.
Jim Meyering 191a820c 1998-08-11T01:52:38 add comment from glibc version
Jim Meyering 9fb5802a 1998-08-07T12:54:51 update from glibc
Jim Meyering 04e03d50 1998-08-03T03:03:11 Ansideclify.
Jim Meyering 069ca377 1998-08-03T03:02:20 *** empty log message ***
Jim Meyering 13192579 1998-08-03T03:02:04 (readline): Return zero upon error as well as upon end of file. From James Youngman.
Jim Meyering 0ba789ce 1998-07-29T04:00:36 Remove duplicate include of <stdio.h>.
Jim Meyering 5d783169 1998-07-29T03:58:55 (struct mount_entry): New members me_dummy, me_remote. (read_filesystem_list): Remove all_fs argument. (REMOTE_FS_TYPE): Remove. (ME_DUMMY, ME_REMOTE): New macros. From Paul.
Jim Meyering ea12546c 1998-07-29T03:58:02 (read_filesystem_list): Remove all_fs argument, but put the necessary information into the result so that the caller can ignore filesystems that he's not interested in. From Paul.
Jim Meyering 399bff08 1998-07-25T15:01:32 Use PARAMS macro.
Jim Meyering 83d2e1ba 1998-07-25T15:00:37 (xatoi): Ansideclify. (fstype_to_string): Ansideclify.
Jim Meyering ae9fb019 1998-07-25T14:55:10 (REMOTE_FS_TYPE): New macro.
Jim Meyering a7e84e3d 1998-07-25T14:54:42 (read_filesystem_list) [MOUNTED_GETMNTINFO]: Use fsp_to_string. (fsp_to_string): Don't xmalloc return value (yet).
Jim Meyering feeb972f 1998-07-25T14:41:04 (read_filesystem_list): If all_fs is negative, omit non-local filesytems. From Paul Eggert.
Jim Meyering 3e654383 1998-07-25T13:48:45 .
Jim Meyering 23360fcb 1998-07-22T18:30:16 (human_readable): amt -> damt, to fix typo when computing which power to use after overflow occurs during multiplication. From Paul Eggert.
Jim Meyering 6ce9913b 1998-07-22T16:57:15 Include <stdio.h> if NDEBUG is not defined; needed on SunOS 4. From Paul Eggert.
Jim Meyering 4c32b89c 1998-07-20T03:58:24 .
Jim Meyering 0e334dd9 1998-07-18T12:28:31 (read_filesystem_list): Fix more memory leaks on failure. From Andreas Schwab.
Jim Meyering bc581d10 1998-07-16T23:26:50 (noinst_HEADERS): Add lchown.h.
Jim Meyering 3ec9676d 1998-07-16T23:25:29 include lchown.h
Jim Meyering 7f33074a 1998-07-16T23:23:05 .
Jim Meyering 98e0c959 1998-07-16T23:12:25 [!ENOSYS] (ENOSYS): Define to ENOTSUP or ENOMSG.
Jim Meyering 3823a272 1998-07-16T23:02:19 Update prototype.
Jim Meyering 19679ec8 1998-07-16T23:02:03 (safe_read): Change type of pointer parameter to `void' to avoid Irix4 cc errors. Reported by Kaveh Ghazi.
Jim Meyering f4f0b655 1998-07-04T17:15:08 Include stdio.h. Required on some systems when using assert. From Kaveh Ghazi.
Jim Meyering e04cab09 1998-07-04T03:42:40 .
Jim Meyering ee369d4b 1998-07-04T01:44:01 remove ifdef around inclusion of regex.h altogether!!
Jim Meyering 40b13bd6 1998-07-04T01:33:19 (noinst_HEADERS): Add regex.h.
Jim Meyering 2bc1fe2a 1998-07-04T00:48:11 (read_filesystem_list): Don't leak memory on failure. Don't create a dummy struct mount_entry entry; use the address-of-the-tail-address method instead. Preserve errno if possible on failure, setting it to 0 if inapplicable. Close file descriptor leak if the F_SETLKW failed. Report an error if SVR4 lock file cannot be opened for some reason other than a nonexistent lock file.
Jim Meyering edbb0712 1998-07-04T00:19:23 .
Jim Meyering 7509c70d 1998-07-04T00:15:37 Change guard on <regex.h> inclusion to use new symbol `! HAVE_LIBC_REGEX' defined in m4/regex.m4.
Jim Meyering 6fdecf95 1998-07-01T12:44:22 Don't define NDEBUG, now that it's done via configure's --disable-assert option.
Jim Meyering 32a530aa 1998-06-30T14:32:53 (read_filesystem_list): Plug file descriptor leak on failure. Report failure if lock file can't be opened for some reason other than nonexistence.
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