platform/upstream/coreutils.git
25 years ago*** empty log message ***
Jim Meyering [Sun, 2 Aug 1998 16:32:42 +0000 (16:32 +0000)]
*** empty log message ***

25 years ago.
Jim Meyering [Sun, 2 Aug 1998 16:25:14 +0000 (16:25 +0000)]
.

25 years ago(re_protect): Add comment.
Jim Meyering [Sun, 2 Aug 1998 16:24:41 +0000 (16:24 +0000)]
(re_protect): Add comment.

25 years ago(ST_TIME_CMP_NS, ST_TIME_CMP, ATIME_CMP, CTIME_CMP, MTIME_CMP): New macros.
Jim Meyering [Sun, 2 Aug 1998 16:24:13 +0000 (16:24 +0000)]
(ST_TIME_CMP_NS, ST_TIME_CMP, ATIME_CMP, CTIME_CMP, MTIME_CMP): New macros.

25 years ago(copy_internal): Compare time stamps with subsecond resolution if available.
Jim Meyering [Sun, 2 Aug 1998 16:23:28 +0000 (16:23 +0000)]
(copy_internal): Compare time stamps with subsecond resolution if available.

25 years ago(compare_ctime, rev_cmp_ctime, compare_mtime,
Jim Meyering [Sun, 2 Aug 1998 16:23:06 +0000 (16:23 +0000)]
(compare_ctime, rev_cmp_ctime, compare_mtime,
rev_cmp_mtime, compare_atime, rev_cmp_atime): Compare time
stamps with subsecond resolution if available.

25 years ago(touch): Add comment.
Jim Meyering [Sun, 2 Aug 1998 16:22:43 +0000 (16:22 +0000)]
(touch): Add comment.

25 years ago(change_timestamps): Add comment.
Jim Meyering [Sun, 2 Aug 1998 16:22:24 +0000 (16:22 +0000)]
(change_timestamps): Add comment.

25 years ago*** empty log message ***
Jim Meyering [Sun, 2 Aug 1998 16:20:50 +0000 (16:20 +0000)]
*** empty log message ***

25 years agoUse hack to avoid having to put #undef HAVE_ST_MTIM in acconfig.h manually.
Jim Meyering [Sun, 2 Aug 1998 16:20:39 +0000 (16:20 +0000)]
Use hack to avoid having to put #undef HAVE_ST_MTIM in acconfig.h manually.

25 years agotweak indentation
Jim Meyering [Sun, 2 Aug 1998 16:18:21 +0000 (16:18 +0000)]
tweak indentation

25 years agofrom Paul Eggert
Jim Meyering [Sun, 2 Aug 1998 16:15:17 +0000 (16:15 +0000)]
from Paul Eggert

25 years ago*** empty log message ***
Jim Meyering [Sun, 2 Aug 1998 04:16:01 +0000 (04:16 +0000)]
*** empty log message ***

25 years ago.
Jim Meyering [Sat, 1 Aug 1998 15:48:56 +0000 (15:48 +0000)]
.

25 years ago(my_setlocale): Guard definition within #ifdef ENABLE_NLS.
Jim Meyering [Sat, 1 Aug 1998 15:47:26 +0000 (15:47 +0000)]
(my_setlocale): Guard definition within #ifdef ENABLE_NLS.

25 years agoAvoid broken pipe message for tests that fail with usage errors.
Jim Meyering [Thu, 30 Jul 1998 12:26:24 +0000 (12:26 +0000)]
Avoid broken pipe message for tests that fail with usage errors.

25 years ago * src/sort.c (usage): Add angle brackets to make `Report bugs...'
Jim Meyering [Thu, 30 Jul 1998 12:13:39 +0000 (12:13 +0000)]
* src/sort.c (usage): Add angle brackets to make `Report bugs...'
message consistent with all the rest.

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

25 years ago(NEGATION_SIGN): Renamed from NEGATIVE_SIGN to avoid
Jim Meyering [Wed, 29 Jul 1998 13:29:10 +0000 (13:29 +0000)]
(NEGATION_SIGN): Renamed from NEGATIVE_SIGN to avoid
clash with <langinfo.h>.  All uses changed.
From Andreas Schwab.

25 years agoAvoid broken pipe for 'y' and 'z' tests.
Jim Meyering [Wed, 29 Jul 1998 13:27:28 +0000 (13:27 +0000)]
Avoid broken pipe for 'y' and 'z' tests.
From Andreas.

25 years ago*** empty log message ***
Jim Meyering [Wed, 29 Jul 1998 04:01:45 +0000 (04:01 +0000)]
*** empty log message ***

25 years ago(show_all_fs):
Jim Meyering [Wed, 29 Jul 1998 04:01:29 +0000 (04:01 +0000)]
(show_all_fs):
Revert to boolean value; the old negative value is
now in show_local_fs.
(show_local_fs): New variable.
(show_dev): New args me_dummy and me_class.  Use show_local_fs
and boolean show_all_fs in combination with these new args
to decide whether to show a device.
(show_disk): Pass flags to show_dev.
(show_point): Use a non-dummy mount entry if possible.
(show_all_entries): Pass flags to show_dev.
(main): --local sets show_local_fs now.  Ask for file system types if
show_local_fs is nonzero, since ME_REMOTE might need them.

From Paul.

25 years agoRemove duplicate include of <stdio.h>.
Jim Meyering [Wed, 29 Jul 1998 04:00:36 +0000 (04:00 +0000)]
Remove duplicate include of <stdio.h>.

25 years ago(struct mount_entry):
Jim Meyering [Wed, 29 Jul 1998 03:58:55 +0000 (03:58 +0000)]
(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.

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.