Jim Meyering [Sun, 2 Aug 1998 04:16:01 +0000 (04:16 +0000)]
*** empty log message ***
Jim Meyering [Sat, 1 Aug 1998 15:48:56 +0000 (15:48 +0000)]
.
Jim Meyering [Sat, 1 Aug 1998 15:47:26 +0000 (15:47 +0000)]
(my_setlocale): Guard definition within #ifdef ENABLE_NLS.
Jim Meyering [Thu, 30 Jul 1998 12:26:24 +0000 (12:26 +0000)]
Avoid broken pipe message for tests that fail with usage errors.
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.
Jim Meyering [Wed, 29 Jul 1998 13:29:23 +0000 (13:29 +0000)]
*** empty log message ***
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.
Jim Meyering [Wed, 29 Jul 1998 13:27:28 +0000 (13:27 +0000)]
Avoid broken pipe for 'y' and 'z' tests.
From Andreas.
Jim Meyering [Wed, 29 Jul 1998 04:01:45 +0000 (04:01 +0000)]
*** empty log message ***
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.
Jim Meyering [Wed, 29 Jul 1998 04:00:36 +0000 (04:00 +0000)]
Remove duplicate include of <stdio.h>.
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.
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.
Jim Meyering [Tue, 28 Jul 1998 13:29:22 +0000 (13:29 +0000)]
*** empty log message ***
Jim Meyering [Tue, 28 Jul 1998 13:20:20 +0000 (13:20 +0000)]
*** empty log message ***
Jim Meyering [Tue, 28 Jul 1998 13:15:58 +0000 (13:15 +0000)]
Undef stat.
Jim Meyering [Mon, 27 Jul 1998 14:25:10 +0000 (14:25 +0000)]
*** empty log message ***
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.
Jim Meyering [Mon, 27 Jul 1998 13:38:42 +0000 (13:38 +0000)]
.
Jim Meyering [Mon, 27 Jul 1998 13:27:45 +0000 (13:27 +0000)]
(TESTS_ENVIRONMENT): Set LS, MKDIR, and RM.
Jim Meyering [Mon, 27 Jul 1998 13:26:58 +0000 (13:26 +0000)]
use ls to check the permissions
Jim Meyering [Mon, 27 Jul 1998 13:18:31 +0000 (13:18 +0000)]
Test stripping an executable that eventually will be made unwritable.
Jim Meyering [Sun, 26 Jul 1998 21:48:37 +0000 (21:48 +0000)]
*** empty log message ***
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.
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.
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.
Jim Meyering [Sun, 26 Jul 1998 04:13:57 +0000 (04:13 +0000)]
(chown): Remove unused definition.
Reported by Kaveh Ghazi.
Jim Meyering [Sun, 26 Jul 1998 04:10:01 +0000 (04:10 +0000)]
.
Jim Meyering [Sun, 26 Jul 1998 04:06:55 +0000 (04:06 +0000)]
.
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='').
Jim Meyering [Sun, 26 Jul 1998 04:06:07 +0000 (04:06 +0000)]
.
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.
Jim Meyering [Sun, 26 Jul 1998 03:59:27 +0000 (03:59 +0000)]
*** empty log message ***
Jim Meyering [Sun, 26 Jul 1998 02:59:37 +0000 (02:59 +0000)]
.
Jim Meyering [Sun, 26 Jul 1998 02:56:36 +0000 (02:56 +0000)]
*** empty log message ***
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.
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.
Jim Meyering [Sun, 26 Jul 1998 00:29:45 +0000 (00:29 +0000)]
*** empty log message ***
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.
Jim Meyering [Sat, 25 Jul 1998 21:50:53 +0000 (21:50 +0000)]
*** empty log message ***
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.
Jim Meyering [Sat, 25 Jul 1998 17:52:54 +0000 (17:52 +0000)]
*** empty log message ***
Jim Meyering [Sat, 25 Jul 1998 17:52:37 +0000 (17:52 +0000)]
Skip three more unportable tests. These failed on SunOS4.1.4.
Jim Meyering [Sat, 25 Jul 1998 16:49:13 +0000 (16:49 +0000)]
*** empty log message ***
Jim Meyering [Sat, 25 Jul 1998 16:45:45 +0000 (16:45 +0000)]
*** empty log message ***
Jim Meyering [Sat, 25 Jul 1998 15:32:12 +0000 (15:32 +0000)]
.
Jim Meyering [Sat, 25 Jul 1998 15:31:23 +0000 (15:31 +0000)]
(SAME_INODE): Define it here instead.
Jim Meyering [Sat, 25 Jul 1998 15:30:08 +0000 (15:30 +0000)]
(SAME_INODE): Remove definition.
Jim Meyering [Sat, 25 Jul 1998 15:28:24 +0000 (15:28 +0000)]
.
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.
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.
Jim Meyering [Sat, 25 Jul 1998 15:01:32 +0000 (15:01 +0000)]
Use PARAMS macro.
Jim Meyering [Sat, 25 Jul 1998 15:00:37 +0000 (15:00 +0000)]
(xatoi): Ansideclify.
(fstype_to_string): Ansideclify.
Jim Meyering [Sat, 25 Jul 1998 14:55:10 +0000 (14:55 +0000)]
(REMOTE_FS_TYPE): New macro.
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).
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.
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.
Jim Meyering [Sat, 25 Jul 1998 13:49:47 +0000 (13:49 +0000)]
.
Jim Meyering [Sat, 25 Jul 1998 13:48:45 +0000 (13:48 +0000)]
.
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.
Jim Meyering [Sat, 25 Jul 1998 13:16:38 +0000 (13:16 +0000)]
.
Jim Meyering [Sat, 25 Jul 1998 13:10:11 +0000 (13:10 +0000)]
*** empty log message ***
Jim Meyering [Wed, 22 Jul 1998 18:32:36 +0000 (18:32 +0000)]
.
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.
Jim Meyering [Wed, 22 Jul 1998 16:57:26 +0000 (16:57 +0000)]
*** empty log message ***
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.
Jim Meyering [Mon, 20 Jul 1998 03:59:51 +0000 (03:59 +0000)]
.
Jim Meyering [Mon, 20 Jul 1998 03:58:24 +0000 (03:58 +0000)]
.
Jim Meyering [Mon, 20 Jul 1998 03:58:04 +0000 (03:58 +0000)]
.
Jim Meyering [Mon, 20 Jul 1998 03:57:59 +0000 (03:57 +0000)]
*** empty log message ***
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.
Jim Meyering [Sat, 18 Jul 1998 14:06:38 +0000 (14:06 +0000)]
*** empty log message ***
Jim Meyering [Sat, 18 Jul 1998 13:54:40 +0000 (13:54 +0000)]
*** empty log message ***
Jim Meyering [Sat, 18 Jul 1998 13:53:32 +0000 (13:53 +0000)]
*** empty log message ***
Jim Meyering [Sat, 18 Jul 1998 13:51:11 +0000 (13:51 +0000)]
.
Jim Meyering [Sat, 18 Jul 1998 13:16:43 +0000 (13:16 +0000)]
(TESTS): Add into-self-2.
Jim Meyering [Sat, 18 Jul 1998 13:15:33 +0000 (13:15 +0000)]
.
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.
Jim Meyering [Thu, 16 Jul 1998 23:41:43 +0000 (23:41 +0000)]
*** empty log message ***
Jim Meyering [Thu, 16 Jul 1998 23:41:03 +0000 (23:41 +0000)]
Include lchown.h.
Jim Meyering [Thu, 16 Jul 1998 23:40:18 +0000 (23:40 +0000)]
*** empty log message ***
Jim Meyering [Thu, 16 Jul 1998 23:26:50 +0000 (23:26 +0000)]
(noinst_HEADERS): Add lchown.h.
Jim Meyering [Thu, 16 Jul 1998 23:25:29 +0000 (23:25 +0000)]
include lchown.h
Jim Meyering [Thu, 16 Jul 1998 23:23:05 +0000 (23:23 +0000)]
.
Jim Meyering [Thu, 16 Jul 1998 23:20:03 +0000 (23:20 +0000)]
[!ENOSYS] (ENOSYS): Define to ENOTSUP or ENOMSG.
Jim Meyering [Thu, 16 Jul 1998 23:14:30 +0000 (23:14 +0000)]
*** empty log message ***
Jim Meyering [Thu, 16 Jul 1998 23:12:25 +0000 (23:12 +0000)]
[!ENOSYS] (ENOSYS): Define to ENOTSUP or ENOMSG.
Jim Meyering [Thu, 16 Jul 1998 23:02:19 +0000 (23:02 +0000)]
Update prototype.
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.
Jim Meyering [Thu, 16 Jul 1998 22:58:12 +0000 (22:58 +0000)]
.
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.
Jim Meyering [Mon, 13 Jul 1998 00:33:36 +0000 (00:33 +0000)]
.
Jim Meyering [Mon, 13 Jul 1998 00:31:49 +0000 (00:31 +0000)]
check: depend on maint_gen
Jim Meyering [Mon, 13 Jul 1998 00:17:57 +0000 (00:17 +0000)]
(print_header): Print "1k-blocks", not "1.0k-blocks".
Jim Meyering [Thu, 9 Jul 1998 14:29:22 +0000 (14:29 +0000)]
*** empty log message ***
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.
Jim Meyering [Wed, 8 Jul 1998 01:10:45 +0000 (01:10 +0000)]
*** empty log message ***
Jim Meyering [Wed, 8 Jul 1998 01:08:37 +0000 (01:08 +0000)]
*** empty log message ***
Jim Meyering [Wed, 8 Jul 1998 01:07:39 +0000 (01:07 +0000)]
Remove FCLOSE_UNLOCKED block.
Jim Meyering [Wed, 8 Jul 1998 01:03:34 +0000 (01:03 +0000)]
Remove fclose_unlocked.