platform/upstream/coreutils.git
25 years ago(read_filesystem_list): Remove all_fs
Jim Meyering [Wed, 29 Jul 1998 03:58:02 +0000 (03:58 +0000)]
(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.

25 years ago*** empty log message ***
Jim Meyering [Tue, 28 Jul 1998 13:29:22 +0000 (13:29 +0000)]
*** empty log message ***

25 years ago*** empty log message ***
Jim Meyering [Tue, 28 Jul 1998 13:20:20 +0000 (13:20 +0000)]
*** empty log message ***

25 years agoUndef stat.
Jim Meyering [Tue, 28 Jul 1998 13:15:58 +0000 (13:15 +0000)]
Undef stat.

25 years ago*** empty log message ***
Jim Meyering [Mon, 27 Jul 1998 14:25:10 +0000 (14:25 +0000)]
*** empty log message ***

25 years agoMake copy create each destination file initially
Jim Meyering [Mon, 27 Jul 1998 13:39:36 +0000 (13:39 +0000)]
Make copy create each destination file initially
with mode 0600 so strip will work, then apply specified mode.
Arne Henrik Juul reported that `./ginstall -s -c -m 555 dd /tmp' failed.

25 years ago.
Jim Meyering [Mon, 27 Jul 1998 13:38:42 +0000 (13:38 +0000)]
.

25 years ago(TESTS_ENVIRONMENT): Set LS, MKDIR, and RM.
Jim Meyering [Mon, 27 Jul 1998 13:27:45 +0000 (13:27 +0000)]
(TESTS_ENVIRONMENT): Set LS, MKDIR, and RM.

25 years agouse ls to check the permissions
Jim Meyering [Mon, 27 Jul 1998 13:26:58 +0000 (13:26 +0000)]
use ls to check the permissions

25 years agoTest stripping an executable that eventually will be made unwritable.
Jim Meyering [Mon, 27 Jul 1998 13:18:31 +0000 (13:18 +0000)]
Test stripping an executable that eventually will be made unwritable.

25 years ago*** empty log message ***
Jim Meyering [Sun, 26 Jul 1998 21:48:37 +0000 (21:48 +0000)]
*** empty log message ***

25 years agoConvert some char* dcls to `unsigned char*' and remove a cast --
Jim Meyering [Sun, 26 Jul 1998 20:43:50 +0000 (20:43 +0000)]
Convert some char* dcls to `unsigned char*' and remove a cast --
to placate irix4's cc.

25 years ago(check_punctuation): Add cast to placate irix4's cc. Reported by Kaveh Ghazi.
Jim Meyering [Sun, 26 Jul 1998 20:42:02 +0000 (20:42 +0000)]
(check_punctuation): Add cast to placate irix4's cc. Reported by Kaveh Ghazi.

26 years ago(split_3): Add cast to placate irix4's cc. From Kaveh Ghazi.
Jim Meyering [Sun, 26 Jul 1998 20:09:25 +0000 (20:09 +0000)]
(split_3): Add cast to placate irix4's cc. From Kaveh Ghazi.

26 years ago(chown): Remove unused definition.
Jim Meyering [Sun, 26 Jul 1998 04:13:57 +0000 (04:13 +0000)]
(chown): Remove unused definition.
Reported by Kaveh Ghazi.

26 years ago.
Jim Meyering [Sun, 26 Jul 1998 04:10:01 +0000 (04:10 +0000)]
.

26 years ago.
Jim Meyering [Sun, 26 Jul 1998 04:06:55 +0000 (04:06 +0000)]
.

26 years agoAdd tests for new --output-delimiter option,
Jim Meyering [Sun, 26 Jul 1998 04:06:37 +0000 (04:06 +0000)]
Add tests for new --output-delimiter option,
as well as for NUL input delimiter (--delimiter='').

26 years ago.
Jim Meyering [Sun, 26 Jul 1998 04:06:07 +0000 (04:06 +0000)]
.

26 years ago(cut_fields): Honor new --output-delimiter option.
Jim Meyering [Sun, 26 Jul 1998 04:05:07 +0000 (04:05 +0000)]
(cut_fields): Honor new --output-delimiter option.
(main): Fix handling of --delimiter='' (-d '').  Until now, it has
never worked as advertised.  I guess no one tried it.

26 years ago*** empty log message ***
Jim Meyering [Sun, 26 Jul 1998 03:59:27 +0000 (03:59 +0000)]
*** empty log message ***

26 years ago.
Jim Meyering [Sun, 26 Jul 1998 02:59:37 +0000 (02:59 +0000)]
.

26 years ago*** empty log message ***
Jim Meyering [Sun, 26 Jul 1998 02:56:36 +0000 (02:56 +0000)]
*** empty log message ***

26 years agoAdd two tests. `sort -o no-file no-file' didn't fail.
Jim Meyering [Sun, 26 Jul 1998 02:55:53 +0000 (02:55 +0000)]
Add two tests.  `sort -o no-file no-file' didn't fail.

26 years ago(main): Stat all non-`-' input file files (and fail if a
Jim Meyering [Sun, 26 Jul 1998 02:54:01 +0000 (02:54 +0000)]
(main): Stat all non-`-' input file files (and fail if a
stat fails) when an output file is specified by `-o' but doesn't exist.

26 years ago*** empty log message ***
Jim Meyering [Sun, 26 Jul 1998 00:29:45 +0000 (00:29 +0000)]
*** empty log message ***

26 years ago(main): rmdir fails with EEXIST on some systems.
Jim Meyering [Sun, 26 Jul 1998 00:29:30 +0000 (00:29 +0000)]
(main): rmdir fails with EEXIST on some systems.
Handle that, so --ignore-fail-on-non-empty works.
(EEXIST): Define to zero if not defined.
(ENOTEMPTY): Likewise.

26 years ago*** empty log message ***
Jim Meyering [Sat, 25 Jul 1998 21:50:53 +0000 (21:50 +0000)]
*** empty log message ***

26 years agoRemove `diff' I'd put in for debugging.
Jim Meyering [Sat, 25 Jul 1998 21:50:35 +0000 (21:50 +0000)]
Remove `diff' I'd put in for debugging.
Exit with the status from cmp.

26 years ago*** empty log message *** FILEUTILS-3_16s
Jim Meyering [Sat, 25 Jul 1998 17:52:54 +0000 (17:52 +0000)]
*** empty log message ***

26 years agoSkip three more unportable tests. These failed on SunOS4.1.4.
Jim Meyering [Sat, 25 Jul 1998 17:52:37 +0000 (17:52 +0000)]
Skip three more unportable tests.  These failed on SunOS4.1.4.

26 years ago*** empty log message ***
Jim Meyering [Sat, 25 Jul 1998 16:49:13 +0000 (16:49 +0000)]
*** empty log message ***

26 years ago*** empty log message ***
Jim Meyering [Sat, 25 Jul 1998 16:45:45 +0000 (16:45 +0000)]
*** empty log message ***

26 years ago.
Jim Meyering [Sat, 25 Jul 1998 15:32:12 +0000 (15:32 +0000)]
.

26 years ago(SAME_INODE): Define it here instead.
Jim Meyering [Sat, 25 Jul 1998 15:31:23 +0000 (15:31 +0000)]
(SAME_INODE): Define it here instead.

26 years ago(SAME_INODE): Remove definition.
Jim Meyering [Sat, 25 Jul 1998 15:30:08 +0000 (15:30 +0000)]
(SAME_INODE): Remove definition.

26 years ago.
Jim Meyering [Sat, 25 Jul 1998 15:28:24 +0000 (15:28 +0000)]
.

26 years ago(same_file): New function
Jim Meyering [Sat, 25 Jul 1998 15:27:55 +0000 (15:27 +0000)]
(same_file): New function
(remove_dir): Use it to give a better diagnostic when rmdir fails
because it can't remove the current directory.

26 years ago(long_options): Changes table entries not to use this form:
Jim Meyering [Sat, 25 Jul 1998 15:14:16 +0000 (15:14 +0000)]
(long_options): Changes table entries not to use this form:
{"all", no_argument, &show_all_fs, 1},
but rather this form:
{"all", no_argument, NULL, 'a'},
Using the latter, all the option handling in one place: the getopt loop.

26 years agoUse PARAMS macro.
Jim Meyering [Sat, 25 Jul 1998 15:01:32 +0000 (15:01 +0000)]
Use PARAMS macro.

26 years ago(xatoi): Ansideclify.
Jim Meyering [Sat, 25 Jul 1998 15:00:37 +0000 (15:00 +0000)]
(xatoi): Ansideclify.
(fstype_to_string): Ansideclify.

26 years ago(REMOTE_FS_TYPE): New macro.
Jim Meyering [Sat, 25 Jul 1998 14:55:10 +0000 (14:55 +0000)]
(REMOTE_FS_TYPE): New macro.

26 years ago(read_filesystem_list) [MOUNTED_GETMNTINFO]: Use fsp_to_string.
Jim Meyering [Sat, 25 Jul 1998 14:54:42 +0000 (14:54 +0000)]
(read_filesystem_list) [MOUNTED_GETMNTINFO]: Use fsp_to_string.
(fsp_to_string): Don't xmalloc return value (yet).

26 years ago(read_filesystem_list): If all_fs is negative, omit non-local filesytems.
Jim Meyering [Sat, 25 Jul 1998 14:41:04 +0000 (14:41 +0000)]
(read_filesystem_list): If all_fs is negative, omit non-local filesytems.
From Paul Eggert.

26 years ago(show_dev): Omit local devices if show_all_fs is negative.
Jim Meyering [Sat, 25 Jul 1998 14:36:07 +0000 (14:36 +0000)]
(show_dev): Omit local devices if show_all_fs is negative.
(show_all_fs): If negative, omit non-local filesystems.
All uses of (all_fs != 0) changed to (all_fs > 0).
(long_options, usage, main): Add -l or --local option.
(main): When asking for df of an explicit file name, get all
the mount points, so that we're more likely to find it when
we look it up.

26 years ago.
Jim Meyering [Sat, 25 Jul 1998 13:49:47 +0000 (13:49 +0000)]
.

26 years ago.
Jim Meyering [Sat, 25 Jul 1998 13:48:45 +0000 (13:48 +0000)]
.

26 years ago(utime_now): Moved into m4/utimes.m4.
Jim Meyering [Sat, 25 Jul 1998 13:20:49 +0000 (13:20 +0000)]
(utime_now): Moved into m4/utimes.m4.
(touch) [!HAVE_UTIME_NULL]: Remove #ifdef and use of utime_now in if-block.

26 years ago.
Jim Meyering [Sat, 25 Jul 1998 13:16:38 +0000 (13:16 +0000)]
.

26 years ago*** empty log message ***
Jim Meyering [Sat, 25 Jul 1998 13:10:11 +0000 (13:10 +0000)]
*** empty log message ***

26 years ago.
Jim Meyering [Wed, 22 Jul 1998 18:32:36 +0000 (18:32 +0000)]
.

26 years ago(human_readable): amt -> damt, to fix typo when
Jim Meyering [Wed, 22 Jul 1998 18:30:16 +0000 (18:30 +0000)]
(human_readable): amt -> damt, to fix typo when
computing which power to use after overflow occurs during
multiplication.

From Paul Eggert.

26 years ago*** empty log message ***
Jim Meyering [Wed, 22 Jul 1998 16:57:26 +0000 (16:57 +0000)]
*** empty log message ***

26 years agoInclude <stdio.h> if NDEBUG is not defined; needed on SunOS 4.
Jim Meyering [Wed, 22 Jul 1998 16:57:15 +0000 (16:57 +0000)]
Include <stdio.h> if NDEBUG is not defined; needed on SunOS 4.
From Paul Eggert.

26 years ago.
Jim Meyering [Mon, 20 Jul 1998 03:59:51 +0000 (03:59 +0000)]
.

26 years ago.
Jim Meyering [Mon, 20 Jul 1998 03:58:24 +0000 (03:58 +0000)]
.

26 years ago.
Jim Meyering [Mon, 20 Jul 1998 03:58:04 +0000 (03:58 +0000)]
.

26 years ago*** empty log message ***
Jim Meyering [Mon, 20 Jul 1998 03:57:59 +0000 (03:57 +0000)]
*** empty log message ***

26 years ago(copy_internal): Add another exclusion from the
Jim Meyering [Sun, 19 Jul 1998 04:14:52 +0000 (04:14 +0000)]
(copy_internal): Add another exclusion from the
sameness test: when --force has been specified, the destination
is unlinked before any copy.
(copy_internal): Add yet another: when both src and dest are symlinks.

26 years ago*** empty log message ***
Jim Meyering [Sat, 18 Jul 1998 14:06:38 +0000 (14:06 +0000)]
*** empty log message ***

26 years ago*** empty log message ***
Jim Meyering [Sat, 18 Jul 1998 13:54:40 +0000 (13:54 +0000)]
*** empty log message ***

26 years ago*** empty log message ***
Jim Meyering [Sat, 18 Jul 1998 13:53:32 +0000 (13:53 +0000)]
*** empty log message ***

26 years ago.
Jim Meyering [Sat, 18 Jul 1998 13:51:11 +0000 (13:51 +0000)]
.

26 years ago(TESTS): Add into-self-2.
Jim Meyering [Sat, 18 Jul 1998 13:16:43 +0000 (13:16 +0000)]
(TESTS): Add into-self-2.

26 years ago.
Jim Meyering [Sat, 18 Jul 1998 13:15:33 +0000 (13:15 +0000)]
.

26 years ago(read_filesystem_list): Fix more memory leaks on failure.
Jim Meyering [Sat, 18 Jul 1998 12:28:31 +0000 (12:28 +0000)]
(read_filesystem_list): Fix more memory leaks on failure.
From Andreas Schwab.

26 years ago*** empty log message ***
Jim Meyering [Thu, 16 Jul 1998 23:41:43 +0000 (23:41 +0000)]
*** empty log message ***

26 years agoInclude lchown.h.
Jim Meyering [Thu, 16 Jul 1998 23:41:03 +0000 (23:41 +0000)]
Include lchown.h.

26 years ago*** empty log message ***
Jim Meyering [Thu, 16 Jul 1998 23:40:18 +0000 (23:40 +0000)]
*** empty log message ***

26 years ago(noinst_HEADERS): Add lchown.h.
Jim Meyering [Thu, 16 Jul 1998 23:26:50 +0000 (23:26 +0000)]
(noinst_HEADERS): Add lchown.h.

26 years agoinclude lchown.h
Jim Meyering [Thu, 16 Jul 1998 23:25:29 +0000 (23:25 +0000)]
include lchown.h

26 years ago.
Jim Meyering [Thu, 16 Jul 1998 23:23:05 +0000 (23:23 +0000)]
.

26 years ago[!ENOSYS] (ENOSYS): Define to ENOTSUP or ENOMSG.
Jim Meyering [Thu, 16 Jul 1998 23:20:03 +0000 (23:20 +0000)]
[!ENOSYS] (ENOSYS): Define to ENOTSUP or ENOMSG.

26 years ago*** empty log message ***
Jim Meyering [Thu, 16 Jul 1998 23:14:30 +0000 (23:14 +0000)]
*** empty log message ***

26 years ago[!ENOSYS] (ENOSYS): Define to ENOTSUP or ENOMSG.
Jim Meyering [Thu, 16 Jul 1998 23:12:25 +0000 (23:12 +0000)]
[!ENOSYS] (ENOSYS): Define to ENOTSUP or ENOMSG.

26 years agoUpdate prototype.
Jim Meyering [Thu, 16 Jul 1998 23:02:19 +0000 (23:02 +0000)]
Update prototype.

26 years ago(safe_read): Change type of pointer parameter to
Jim Meyering [Thu, 16 Jul 1998 23:02:03 +0000 (23:02 +0000)]
(safe_read): Change type of pointer parameter to
`void' to avoid Irix4 cc errors.  Reported by Kaveh Ghazi.

26 years ago.
Jim Meyering [Thu, 16 Jul 1998 22:58:12 +0000 (22:58 +0000)]
.

26 years ago(check_format): Add `5' to the list of digits.
Jim Meyering [Wed, 15 Jul 1998 12:39:58 +0000 (12:39 +0000)]
(check_format): Add `5' to the list of digits.
Reported by Donni Erpel.

26 years ago.
Jim Meyering [Mon, 13 Jul 1998 00:33:36 +0000 (00:33 +0000)]
.

26 years agocheck: depend on maint_gen
Jim Meyering [Mon, 13 Jul 1998 00:31:49 +0000 (00:31 +0000)]
check: depend on maint_gen

26 years ago(print_header): Print "1k-blocks", not "1.0k-blocks".
Jim Meyering [Mon, 13 Jul 1998 00:17:57 +0000 (00:17 +0000)]
(print_header): Print "1k-blocks", not "1.0k-blocks".

26 years ago*** empty log message ***
Jim Meyering [Thu, 9 Jul 1998 14:29:22 +0000 (14:29 +0000)]
*** empty log message ***

26 years ago(jm_FUNC_CHOWN): Add a check to verify that the
Jim Meyering [Thu, 9 Jul 1998 14:29:11 +0000 (14:29 +0000)]
(jm_FUNC_CHOWN): Add a check to verify that the
uid and gid actually remain unchanged.

26 years ago*** empty log message ***
Jim Meyering [Wed, 8 Jul 1998 01:10:45 +0000 (01:10 +0000)]
*** empty log message ***

26 years ago*** empty log message ***
Jim Meyering [Wed, 8 Jul 1998 01:08:37 +0000 (01:08 +0000)]
*** empty log message ***

26 years agoRemove FCLOSE_UNLOCKED block.
Jim Meyering [Wed, 8 Jul 1998 01:07:39 +0000 (01:07 +0000)]
Remove FCLOSE_UNLOCKED block.

26 years agoRemove fclose_unlocked.
Jim Meyering [Wed, 8 Jul 1998 01:03:34 +0000 (01:03 +0000)]
Remove fclose_unlocked.

26 years ago(parse_line): Add casts to avoid errors from Irix4's `cc' C compiler.
Jim Meyering [Sun, 5 Jul 1998 00:25:10 +0000 (00:25 +0000)]
(parse_line): Add casts to avoid errors from Irix4's `cc' C compiler.
From Kaveh Ghazi.

26 years agoInclude stdio.h. Required on some systems when using assert.
Jim Meyering [Sat, 4 Jul 1998 17:15:08 +0000 (17:15 +0000)]
Include stdio.h.  Required on some systems when using assert.
From Kaveh Ghazi.

26 years agoUse cmp, not diff.
Jim Meyering [Sat, 4 Jul 1998 17:08:26 +0000 (17:08 +0000)]
Use cmp, not diff.
Reported by Kaveh Ghazi.

26 years ago*** empty log message ***
Jim Meyering [Sat, 4 Jul 1998 16:46:04 +0000 (16:46 +0000)]
*** empty log message ***

26 years agobump serial number
Jim Meyering [Sat, 4 Jul 1998 16:45:52 +0000 (16:45 +0000)]
bump serial number

26 years agoUse syscmd, ifelse, and sysval. Mainly as an exercise
Jim Meyering [Sat, 4 Jul 1998 16:45:18 +0000 (16:45 +0000)]
Use syscmd, ifelse, and sysval.  Mainly as an exercise
to prove that this macro can be used in packages without regex.c.

26 years agotweak comment
Jim Meyering [Sat, 4 Jul 1998 15:46:38 +0000 (15:46 +0000)]
tweak comment

26 years ago.
Jim Meyering [Sat, 4 Jul 1998 15:14:46 +0000 (15:14 +0000)]
.

26 years agoRemove #ifdef around <regex.h> inclusion.
Jim Meyering [Sat, 4 Jul 1998 14:45:29 +0000 (14:45 +0000)]
Remove #ifdef around <regex.h> inclusion.

26 years agoRemove #ifdef around <regex.h> inclusion.
Jim Meyering [Sat, 4 Jul 1998 14:45:12 +0000 (14:45 +0000)]
Remove #ifdef around <regex.h> inclusion.
(extract_regexp): Remove #if !WITH_REGEX...#endif block.

26 years ago*** empty log message *** FILEUTILS-3_16r
Jim Meyering [Sat, 4 Jul 1998 04:10:28 +0000 (04:10 +0000)]
*** empty log message ***

26 years agoadd warning
Jim Meyering [Sat, 4 Jul 1998 04:07:55 +0000 (04:07 +0000)]
add warning