summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
1998-07-01Don't define NDEBUG, now that it's done via configure's --disable-assert option.Jim Meyering
1998-06-30(read_filesystem_list):Jim Meyering
Plug file descriptor leak on failure. Report failure if lock file can't be opened for some reason other than nonexistence.
1998-06-30(read_filesystem_list) [MOUNTED_GETMNTENT2]:Jim Meyering
Always close stream and file descriptor before returning.
1998-06-30(read_filesystem_list): If SVR4, lock /etc/.mnttab.lock if available,Jim Meyering
to avoid race conditions (e.g. with the automounter on Solaris 2.6). Include <errno.h>, <fcntl.h>, <unistd.h>.
1998-06-29protoizeJim Meyering
1998-06-29(fstype_to_string): Guard with #if ! HAVE_F_FSTYPENAME_IN_STATFS.Jim Meyering
1998-06-29 * lib/xstrtol.c (bkm_scale): Don't assume that you can convertJim Meyering
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.
1998-06-29(__ZLONG_MAX): Remove.Jim Meyering
1998-06-29(human_readable): Coalesce last two args into one, for convenience.Jim Meyering
1998-06-29 * lib/human.c, lib/human.h (human_readable): Coalesce last two argsJim Meyering
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.
1998-06-29(fsp_to_string): Clean out some crufty #ifdefsJim Meyering
now that we're using the jm_FSTYPENAME autoconf macro.
1998-05-25.Jim Meyering
1998-05-24.Jim Meyering
1998-05-24Fix braino: check S_ISLNK only if lstat succeeds.Jim Meyering
1998-05-24fix typo: s/chat/char/Jim Meyering
1998-05-19*** empty log message ***Jim Meyering
1998-05-19.Jim Meyering
1998-05-16(read_utmp): Add variant for systems that have the utmpname function.Jim Meyering
Ansideclify.
1998-05-16(is_prime): Ansideclify.Jim Meyering
(next_prime): Ansideclify. Add an assertion.
1998-05-16(EXTRA_DIST): Remove. Automake groks the `LIBOBJS='Jim Meyering
lines in the m4/*.m4 macros, so the hack of including some custom-replaced C source file names here is no longer needed.
1998-05-16.Jim Meyering
1998-05-10Don't declare strdup if it's defined as a macro.Jim Meyering
Reported by Lorne Baker.
1998-05-04.Jim Meyering
1998-05-03.Jim Meyering
1998-05-02.Jim Meyering
1998-04-28tweak from FSFJim Meyering
1998-04-13(noinst_HEADERS): Add safe-read.h.Jim Meyering
1998-04-13.Jim Meyering
1998-04-12.Jim Meyering
1998-04-12(TYPE_MAXIMUM): Update from system.h.Jim Meyering
1998-04-11(noinst_HEADERS): Add safe-read.h.Jim Meyering
1998-04-11.Jim Meyering
1998-04-11split a couple long linesJim Meyering
1998-04-11Add curly braces around statements in if/else/while/do/etc. thatJim Meyering
span more than a line -- even around multiline simple statements or single-line simple statements preceded by a comment line.
1998-04-11.Jim Meyering
1998-04-09indent cpp directivesJim Meyering
1998-04-09make there be two spaces after `.' in commentsJim Meyering
1998-04-06Lots of minor spec and name changes, and new comments.Jim Meyering
From François Pinard.
1998-04-06Lots of minor spec and name changes, and new comments.Jim Meyering
(hash_rehash): Rewritten to be easier on the allocator. From François Pinard.
1998-04-06*** empty log message ***Jim Meyering
1998-04-05*** empty log message ***Jim Meyering
1998-04-05.Jim Meyering
1998-04-05add braces to disambiguate ambiguous elseJim Meyering
1998-04-05(WIDE_CHAR_SUPPORT): Define.Jim Meyering
This now depends on HAVE_BTOWC so systems that lack btowc (like solaris-2.5.1) don't lose.
1998-04-04*** empty log message ***Jim Meyering
1998-04-04(PARAMS): Define.Jim Meyering
1998-03-31Merge with the version from textutils.Jim Meyering
1998-03-31add descriptive first-line commentJim Meyering
1998-03-31(rpl_memcmp): Rename from memcmp.Jim Meyering
1998-03-27remove dcl of unused local, num_regsJim Meyering