summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
1998-07-03(SAME_INODE): New macro.Jim Meyering
Use it to replace open-coded equivalents.
1998-07-03(copy_internal): Try harder identifying a relativeJim Meyering
symbolic link in the current directory. From Andreas Schwab.
1998-07-03Skip tests that depend on link(2) not following symlinks.Jim Meyering
From Andreas Schwab.
1998-07-03(copy_internal): Don't skip test for same file if creating a hardlinkJim Meyering
from symlink over a non-symlink while making backups.
1998-07-03(copy_internal): Don't call chown on a symlink.Jim Meyering
1998-07-01*** empty log message ***Jim Meyering
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*** empty log message ***Jim Meyering
1998-06-30.Jim Meyering
1998-06-30(read_filesystem_list) [MOUNTED_GETMNTENT2]:Jim Meyering
Always close stream and file descriptor before returning.
1998-06-30(main): Move the test of the result of the read_filesystem_list callJim Meyering
up out of if-block -- code in the else-block depends on it too.
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-29*** empty log message ***Jim Meyering
1998-06-29.Jim Meyering
1998-06-29.Jim Meyering
1998-06-29protoizeJim Meyering
1998-06-29.Jim Meyering
1998-06-29*** empty log message ***Jim Meyering
1998-06-29*** empty log message ***Jim Meyering
1998-06-29.Jim Meyering
1998-06-29(fstype_to_string): Guard with #if ! HAVE_F_FSTYPENAME_IN_STATFS.Jim Meyering
1998-06-29Include sys/param.h. NetBSD 1.3.1 requires thisJim Meyering
for the definition of NGROUPS (used in a system header included by sys/mount.h).
1998-06-29*** empty log message ***Jim Meyering
1998-06-29revert back to using lower case _unlocked wrapper namesJim Meyering
1998-06-29Include system.h only after error.h and readutmp.hJim Meyering
so we don't get redefinition warnings about getc, etc. Revert back to using lower case _unlocked wrapper names.
1998-06-29*** empty log message ***Jim Meyering
1998-06-29revert back to using lower case _unlocked wrapper namesJim Meyering
1998-06-29revert back to using lower case _unlocked wrapper namesJim Meyering
1998-06-29Update call to human_readable -- now there's one fewer arg.Jim Meyering
1998-06-29.Jim Meyering
1998-06-29(__xstrtol), src/dd.c (parse_integer):Jim Meyering
Add support for SI-like suffixes like "GB" and "TD". (usage): Describe it.
1998-06-29(human_readable_base, output_units): Remove;Jim Meyering
replace with new variable output_block_size. All uses changed. (long_options, usage, main): Add --block-size. (main, decode_switches): Use new human_block_size function to initialize output block size consistently with other programs. From Paul Eggert.
1998-06-29(human_readable_base, output_units): Remove;Jim Meyering
replace with new variable output_block_size. All uses changed. (long_options, usage, main): Add --block-size. (main, decode_switches): Use new human_block_size function to initialize output block size consistently with other programs. (print_header, show_dev): Shrink some columns and expand others, to squeeze in support for today's larger filesystems. (print_header): Print output block size using power-of-1024 SI format. (df_readable): Coalesce last two args into one, for convenience. All callers changed. (main): Remove check for portable output format and larger or human-readable block sizes. From Paul Eggert.
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*** empty log message ***Jim Meyering
1998-06-29.Jim Meyering
1998-06-29(usage): Make --kilobytes description consistent withJim Meyering
that in du and df. From Göran Uddeborg.
1998-06-29*** empty log message ***Jim Meyering
1998-06-29.Jim Meyering
1998-06-29.Jim Meyering
1998-06-29.Jim Meyering
1998-06-29.Jim Meyering
1998-06-29.Jim Meyering
1998-06-29Change all uses of unlocked-wrapped functions to their upper case wrapper names.Jim Meyering
1998-06-29Change all uses of unlocked-wrapped functions to their upper case wrapper names.Jim Meyering
1998-06-29Change all uses of unlocked-wrapped functions to their upper case wrapper names.Jim Meyering