platform/upstream/coreutils.git
26 years ago.
Jim Meyering [Sat, 4 Jul 1998 00:05:23 +0000 (00:05 +0000)]
.

26 years ago(copy_internal): Rename variable and reverse sense of tests
Jim Meyering [Fri, 3 Jul 1998 23:56:44 +0000 (23:56 +0000)]
(copy_internal): Rename variable and reverse sense of tests
to make the code a little clearer.

26 years ago(df_readable): Rename local so as not to shadow global.
Jim Meyering [Fri, 3 Jul 1998 21:05:06 +0000 (21:05 +0000)]
(df_readable): Rename local so as not to shadow global.

26 years ago(SAME_INODE): New macro.
Jim Meyering [Fri, 3 Jul 1998 20:57:31 +0000 (20:57 +0000)]
(SAME_INODE): New macro.
Use it to replace open-coded equivalents.

26 years ago(copy_internal): Try harder identifying a relative
Jim Meyering [Fri, 3 Jul 1998 20:32:37 +0000 (20:32 +0000)]
(copy_internal): Try harder identifying a relative
symbolic link in the current directory.
From Andreas Schwab.

26 years agoSkip tests that depend on link(2) not following symlinks.
Jim Meyering [Fri, 3 Jul 1998 20:09:03 +0000 (20:09 +0000)]
Skip tests that depend on link(2) not following symlinks.
From Andreas Schwab.

26 years ago(copy_internal): Don't skip test for same file if creating a hardlink
Jim Meyering [Fri, 3 Jul 1998 20:06:50 +0000 (20:06 +0000)]
(copy_internal): Don't skip test for same file if creating a hardlink
from symlink over a non-symlink while making backups.

26 years ago(copy_internal): Don't call chown on a symlink.
Jim Meyering [Fri, 3 Jul 1998 19:57:42 +0000 (19:57 +0000)]
(copy_internal): Don't call chown on a symlink.

26 years ago*** empty log message ***
Jim Meyering [Wed, 1 Jul 1998 12:46:39 +0000 (12:46 +0000)]
*** empty log message ***

26 years agoDon't define NDEBUG, now that it's done via configure's --disable-assert option.
Jim Meyering [Wed, 1 Jul 1998 12:44:22 +0000 (12:44 +0000)]
Don't define NDEBUG, now that it's done via configure's --disable-assert option.

26 years ago(read_filesystem_list):
Jim Meyering [Tue, 30 Jun 1998 14:32:53 +0000 (14:32 +0000)]
(read_filesystem_list):
Plug file descriptor leak on failure.
Report failure if lock file can't be opened for some reason
other than nonexistence.

26 years ago*** empty log message ***
Jim Meyering [Tue, 30 Jun 1998 14:32:33 +0000 (14:32 +0000)]
*** empty log message ***

26 years ago. FILEUTILS-3_16q
Jim Meyering [Tue, 30 Jun 1998 03:57:55 +0000 (03:57 +0000)]
.

26 years ago(read_filesystem_list) [MOUNTED_GETMNTENT2]:
Jim Meyering [Tue, 30 Jun 1998 03:56:57 +0000 (03:56 +0000)]
(read_filesystem_list) [MOUNTED_GETMNTENT2]:
Always close stream and file descriptor before returning.

26 years ago(main): Move the test of the result of the read_filesystem_list call
Jim Meyering [Tue, 30 Jun 1998 02:27:51 +0000 (02:27 +0000)]
(main): Move the test of the result of the read_filesystem_list call
up out of if-block -- code in the else-block depends on it too.

26 years ago(read_filesystem_list): If SVR4, lock /etc/.mnttab.lock if available,
Jim Meyering [Tue, 30 Jun 1998 02:15:43 +0000 (02:15 +0000)]
(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>.

26 years ago*** empty log message ***
Jim Meyering [Mon, 29 Jun 1998 20:34:02 +0000 (20:34 +0000)]
*** empty log message ***

26 years ago.
Jim Meyering [Mon, 29 Jun 1998 20:33:24 +0000 (20:33 +0000)]
.

26 years ago.
Jim Meyering [Mon, 29 Jun 1998 20:32:36 +0000 (20:32 +0000)]
.

26 years agoprotoize
Jim Meyering [Mon, 29 Jun 1998 20:29:28 +0000 (20:29 +0000)]
protoize

26 years ago.
Jim Meyering [Mon, 29 Jun 1998 17:35:28 +0000 (17:35 +0000)]
.

26 years ago*** empty log message ***
Jim Meyering [Mon, 29 Jun 1998 17:31:11 +0000 (17:31 +0000)]
*** empty log message ***

26 years ago*** empty log message ***
Jim Meyering [Mon, 29 Jun 1998 17:19:30 +0000 (17:19 +0000)]
*** empty log message ***

26 years ago.
Jim Meyering [Mon, 29 Jun 1998 17:03:13 +0000 (17:03 +0000)]
.

26 years ago(fstype_to_string): Guard with #if ! HAVE_F_FSTYPENAME_IN_STATFS.
Jim Meyering [Mon, 29 Jun 1998 17:01:48 +0000 (17:01 +0000)]
(fstype_to_string): Guard with #if ! HAVE_F_FSTYPENAME_IN_STATFS.

26 years agoInclude sys/param.h. NetBSD 1.3.1 requires this
Jim Meyering [Mon, 29 Jun 1998 16:57:09 +0000 (16:57 +0000)]
Include sys/param.h.  NetBSD 1.3.1 requires this
for the definition of NGROUPS (used in a system header included
by sys/mount.h).

26 years ago*** empty log message ***
Jim Meyering [Mon, 29 Jun 1998 16:24:37 +0000 (16:24 +0000)]
*** empty log message ***

26 years agorevert back to using lower case _unlocked wrapper names
Jim Meyering [Mon, 29 Jun 1998 16:24:01 +0000 (16:24 +0000)]
revert back to using lower case _unlocked wrapper names

26 years agoInclude system.h only after error.h and readutmp.h
Jim Meyering [Mon, 29 Jun 1998 16:23:15 +0000 (16:23 +0000)]
Include system.h only after error.h and readutmp.h
so we don't get redefinition warnings about getc, etc.
Revert back to using lower case _unlocked wrapper names.

26 years ago*** empty log message ***
Jim Meyering [Mon, 29 Jun 1998 16:16:58 +0000 (16:16 +0000)]
*** empty log message ***

26 years agorevert back to using lower case _unlocked wrapper names
Jim Meyering [Mon, 29 Jun 1998 15:59:39 +0000 (15:59 +0000)]
revert back to using lower case _unlocked wrapper names

26 years agorevert back to using lower case _unlocked wrapper names
Jim Meyering [Mon, 29 Jun 1998 15:57:45 +0000 (15:57 +0000)]
revert back to using lower case _unlocked wrapper names

26 years agoUpdate call to human_readable -- now there's one fewer arg.
Jim Meyering [Mon, 29 Jun 1998 15:56:23 +0000 (15:56 +0000)]
Update call to human_readable -- now there's one fewer arg.

26 years ago.
Jim Meyering [Mon, 29 Jun 1998 15:38:09 +0000 (15:38 +0000)]
.

26 years ago(__xstrtol), src/dd.c (parse_integer):
Jim Meyering [Mon, 29 Jun 1998 15:36:28 +0000 (15:36 +0000)]
(__xstrtol), src/dd.c (parse_integer):
Add support for SI-like suffixes like "GB" and "TD".
(usage): Describe it.

26 years ago(human_readable_base, output_units): Remove;
Jim Meyering [Mon, 29 Jun 1998 15:34:54 +0000 (15:34 +0000)]
(human_readable_base, output_units): Remove;
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.

26 years ago(human_readable_base, output_units): Remove;
Jim Meyering [Mon, 29 Jun 1998 15:33:38 +0000 (15:33 +0000)]
(human_readable_base, output_units): Remove;
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.

26 years ago * lib/xstrtol.c (bkm_scale): Don't assume that you can convert
Jim Meyering [Mon, 29 Jun 1998 15:24:43 +0000 (15:24 +0000)]
* 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.

26 years ago(__ZLONG_MAX): Remove.
Jim Meyering [Mon, 29 Jun 1998 15:24:15 +0000 (15:24 +0000)]
(__ZLONG_MAX): Remove.

26 years ago(human_readable): Coalesce last two args into one, for convenience.
Jim Meyering [Mon, 29 Jun 1998 15:23:45 +0000 (15:23 +0000)]
(human_readable): Coalesce last two args into one, for convenience.

26 years ago * lib/human.c, lib/human.h (human_readable): Coalesce last two args
Jim Meyering [Mon, 29 Jun 1998 15:23:04 +0000 (15:23 +0000)]
* 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.

26 years ago*** empty log message ***
Jim Meyering [Mon, 29 Jun 1998 14:27:03 +0000 (14:27 +0000)]
*** empty log message ***

26 years ago.
Jim Meyering [Mon, 29 Jun 1998 03:42:55 +0000 (03:42 +0000)]
.

26 years ago(usage): Make --kilobytes description consistent with
Jim Meyering [Mon, 29 Jun 1998 03:42:50 +0000 (03:42 +0000)]
(usage): Make --kilobytes description consistent with
that in du and df.  From Göran Uddeborg.

26 years ago*** empty log message ***
Jim Meyering [Mon, 29 Jun 1998 03:42:18 +0000 (03:42 +0000)]
*** empty log message ***

26 years ago.
Jim Meyering [Mon, 29 Jun 1998 02:27:55 +0000 (02:27 +0000)]
.

26 years ago.
Jim Meyering [Mon, 29 Jun 1998 02:16:17 +0000 (02:16 +0000)]
.

26 years ago.
Jim Meyering [Mon, 29 Jun 1998 02:15:29 +0000 (02:15 +0000)]
.

26 years ago.
Jim Meyering [Mon, 29 Jun 1998 02:14:27 +0000 (02:14 +0000)]
.

26 years ago.
Jim Meyering [Mon, 29 Jun 1998 02:13:56 +0000 (02:13 +0000)]
.

26 years agoChange all uses of unlocked-wrapped functions to their upper case wrapper names.
Jim Meyering [Mon, 29 Jun 1998 02:13:21 +0000 (02:13 +0000)]
Change all uses of unlocked-wrapped functions to their upper case wrapper names.

26 years agoChange all uses of unlocked-wrapped functions to their upper case wrapper names.
Jim Meyering [Mon, 29 Jun 1998 02:11:07 +0000 (02:11 +0000)]
Change all uses of unlocked-wrapped functions to their upper case wrapper names.

26 years agoChange all uses of unlocked-wrapped functions to their upper case wrapper names.
Jim Meyering [Mon, 29 Jun 1998 02:10:24 +0000 (02:10 +0000)]
Change all uses of unlocked-wrapped functions to their upper case wrapper names.

26 years ago.
Jim Meyering [Mon, 29 Jun 1998 01:11:00 +0000 (01:11 +0000)]
.

26 years ago(fsp_to_string): Clean out some crufty #ifdefs
Jim Meyering [Mon, 29 Jun 1998 01:10:24 +0000 (01:10 +0000)]
(fsp_to_string): Clean out some crufty #ifdefs
now that we're using the jm_FSTYPENAME autoconf macro.

26 years agoadd #undefs, alphabetize
Jim Meyering [Mon, 29 Jun 1998 01:00:51 +0000 (01:00 +0000)]
add #undefs, alphabetize

26 years ago.
Jim Meyering [Sun, 28 Jun 1998 23:51:58 +0000 (23:51 +0000)]
.

26 years ago*** empty log message ***
Jim Meyering [Sun, 28 Jun 1998 23:51:47 +0000 (23:51 +0000)]
*** empty log message ***

26 years ago.
Jim Meyering [Sun, 28 Jun 1998 23:12:10 +0000 (23:12 +0000)]
.

26 years agoexperimental support for -t [optional fd] -- probably soon to be backed out
Jim Meyering [Sun, 28 Jun 1998 21:53:05 +0000 (21:53 +0000)]
experimental support for -t [optional fd] -- probably soon to be backed out

26 years ago.
Jim Meyering [Sun, 28 Jun 1998 21:42:37 +0000 (21:42 +0000)]
.

26 years agoRequire the new macro: jm_FUNC_GLIBC_UNLOCKED_IO.
Jim Meyering [Sun, 28 Jun 1998 21:41:08 +0000 (21:41 +0000)]
Require the new macro: jm_FUNC_GLIBC_UNLOCKED_IO.

26 years ago.
Jim Meyering [Sun, 28 Jun 1998 21:40:12 +0000 (21:40 +0000)]
.

26 years agoAdd macro definitions for GNU libc unlocked wrappers.
Jim Meyering [Sun, 28 Jun 1998 21:38:14 +0000 (21:38 +0000)]
Add macro definitions for GNU libc unlocked wrappers.

26 years agoadd a FIXME for output delimiter
Jim Meyering [Sun, 28 Jun 1998 21:32:51 +0000 (21:32 +0000)]
add a FIXME for output delimiter

26 years agoremove `non-directory'
Jim Meyering [Sun, 28 Jun 1998 21:13:04 +0000 (21:13 +0000)]
remove `non-directory'

26 years ago*** empty log message ***
Jim Meyering [Sun, 28 Jun 1998 21:11:31 +0000 (21:11 +0000)]
*** empty log message ***

26 years ago*** empty log message ***
Jim Meyering [Sun, 28 Jun 1998 21:11:20 +0000 (21:11 +0000)]
*** empty log message ***

26 years agoAdd DIRED_ prefix to the macros: FPUTS and FPUTS_LITERAL.
Jim Meyering [Sun, 28 Jun 1998 20:34:29 +0000 (20:34 +0000)]
Add DIRED_ prefix to the macros: FPUTS and FPUTS_LITERAL.

26 years agos/PUTCHAR/DIRED_PUTCHAR/g.
Jim Meyering [Sun, 28 Jun 1998 20:31:16 +0000 (20:31 +0000)]
s/PUTCHAR/DIRED_PUTCHAR/g.

26 years ago*** empty log message ***
Jim Meyering [Sun, 28 Jun 1998 02:35:08 +0000 (02:35 +0000)]
*** empty log message ***

26 years ago*** empty log message ***
Jim Meyering [Sat, 27 Jun 1998 23:54:10 +0000 (23:54 +0000)]
*** empty log message ***

26 years ago*** empty log message ***
Jim Meyering [Sat, 27 Jun 1998 23:45:46 +0000 (23:45 +0000)]
*** empty log message ***

26 years agoAdd two tests for double spacing.
Jim Meyering [Sat, 27 Jun 1998 23:45:03 +0000 (23:45 +0000)]
Add two tests for double spacing.

26 years ago(print_page): Break out of loop before double space test
Jim Meyering [Sat, 27 Jun 1998 23:43:40 +0000 (23:43 +0000)]
(print_page): Break out of loop before double space test
if cols_ready_to_print is zero.

26 years ago*** empty log message ***
Jim Meyering [Sat, 27 Jun 1998 22:10:02 +0000 (22:10 +0000)]
*** empty log message ***

26 years ago(copy_internal): Fix it so hard-link test is no longer hidden inside
Jim Meyering [Sat, 27 Jun 1998 22:09:45 +0000 (22:09 +0000)]
(copy_internal): Fix it so hard-link test is no longer hidden inside
big if-(backup_type == none) block.

26 years ago*** empty log message ***
Jim Meyering [Sat, 27 Jun 1998 21:36:28 +0000 (21:36 +0000)]
*** empty log message ***

26 years ago*** empty log message ***
Jim Meyering [Sat, 27 Jun 1998 21:14:40 +0000 (21:14 +0000)]
*** empty log message ***

26 years ago*** empty log message ***
Jim Meyering [Sat, 27 Jun 1998 21:03:16 +0000 (21:03 +0000)]
*** empty log message ***

26 years ago(copy_reg): Detect identical source and dest here.
Jim Meyering [Sat, 27 Jun 1998 20:44:23 +0000 (20:44 +0000)]
(copy_reg): Detect identical source and dest here.
(copy_internal): Make the test symmetric.

26 years ago.
Jim Meyering [Sat, 27 Jun 1998 20:37:17 +0000 (20:37 +0000)]
.

26 years ago*** empty log message ***
Jim Meyering [Sat, 27 Jun 1998 20:35:26 +0000 (20:35 +0000)]
*** empty log message ***

26 years ago(TESTS): Add same-file.
Jim Meyering [Sat, 27 Jun 1998 20:35:16 +0000 (20:35 +0000)]
(TESTS): Add same-file.

26 years ago*** empty log message ***
Jim Meyering [Sat, 27 Jun 1998 20:33:58 +0000 (20:33 +0000)]
*** empty log message ***

26 years ago*** empty log message ***
Jim Meyering [Sat, 27 Jun 1998 20:33:22 +0000 (20:33 +0000)]
*** empty log message ***

26 years ago*** empty log message ***
Jim Meyering [Sat, 27 Jun 1998 20:22:36 +0000 (20:22 +0000)]
*** empty log message ***

26 years ago.
Jim Meyering [Sat, 27 Jun 1998 20:20:25 +0000 (20:20 +0000)]
.

26 years ago*** empty log message ***
Jim Meyering [Sat, 27 Jun 1998 20:14:15 +0000 (20:14 +0000)]
*** empty log message ***

26 years ago*** empty log message ***
Jim Meyering [Sat, 27 Jun 1998 20:10:29 +0000 (20:10 +0000)]
*** empty log message ***

26 years ago*** empty log message ***
Jim Meyering [Sat, 27 Jun 1998 13:45:23 +0000 (13:45 +0000)]
*** empty log message ***

26 years agochanged --verbose message
Jim Meyering [Sat, 27 Jun 1998 04:40:13 +0000 (04:40 +0000)]
changed --verbose message

26 years ago(remove_file): Remove `non-directory' part of
Jim Meyering [Sat, 27 Jun 1998 04:39:25 +0000 (04:39 +0000)]
(remove_file): Remove `non-directory' part of
`removing non-directory FILE' verbose message.

26 years ago(show_dev): Increase field width for blocks, used,
Jim Meyering [Wed, 24 Jun 1998 03:02:06 +0000 (03:02 +0000)]
(show_dev): Increase field width for blocks, used,
and available columns from 7 to 8.

26 years ago*** empty log message ***
Jim Meyering [Sun, 21 Jun 1998 18:53:07 +0000 (18:53 +0000)]
*** empty log message ***

26 years ago*** empty log message ***
Jim Meyering [Sun, 21 Jun 1998 18:51:18 +0000 (18:51 +0000)]
*** empty log message ***

26 years ago.
Jim Meyering [Thu, 18 Jun 1998 15:22:51 +0000 (15:22 +0000)]
.

26 years ago(check): Depend on $(maint_gen) so
Jim Meyering [Thu, 18 Jun 1998 15:20:03 +0000 (15:20 +0000)]
(check): Depend on $(maint_gen) so
`make maintainer-clean; ./configure; make check' works.

26 years ago.
Jim Meyering [Sun, 7 Jun 1998 14:45:55 +0000 (14:45 +0000)]
.

26 years ago*** empty log message ***
Jim Meyering [Sun, 7 Jun 1998 14:40:04 +0000 (14:40 +0000)]
*** empty log message ***