Jim Meyering
2fcc1267b5
*** empty log message ***
1998-07-29 13:29:23 +00:00
Jim Meyering
4ead0cb8df
(NEGATION_SIGN): Renamed from NEGATIVE_SIGN to avoid
...
clash with <langinfo.h>. All uses changed.
From Andreas Schwab.
1998-07-29 13:29:10 +00:00
Jim Meyering
f96dc5e195
Avoid broken pipe for 'y' and 'z' tests.
...
From Andreas.
1998-07-29 13:27:28 +00:00
Jim Meyering
82e166ebbb
*** empty log message ***
1998-07-29 04:01:45 +00:00
Jim Meyering
6a9aa3cf98
(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.
1998-07-29 04:01:29 +00:00
Jim Meyering
3cf7eece6f
Remove duplicate include of <stdio.h>.
1998-07-29 04:00:36 +00:00
Jim Meyering
7dfff499c3
(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.
1998-07-29 03:58:55 +00:00
Jim Meyering
52e2de5780
(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.
1998-07-29 03:58:02 +00:00
Jim Meyering
c0d6757201
*** empty log message ***
1998-07-28 13:29:22 +00:00
Jim Meyering
3942f87ee3
*** empty log message ***
1998-07-28 13:20:20 +00:00
Jim Meyering
9d07c1872f
Undef stat.
1998-07-28 13:15:58 +00:00
Jim Meyering
be388d139c
*** empty log message ***
1998-07-27 14:25:10 +00:00
Jim Meyering
6e132bee5e
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.
1998-07-27 13:39:36 +00:00
Jim Meyering
7d63d3c635
.
1998-07-27 13:38:42 +00:00
Jim Meyering
08d53c4c6a
(TESTS_ENVIRONMENT): Set LS, MKDIR, and RM.
1998-07-27 13:27:45 +00:00
Jim Meyering
94edd792f7
use ls to check the permissions
1998-07-27 13:26:58 +00:00
Jim Meyering
5ab6986171
Test stripping an executable that eventually will be made unwritable.
1998-07-27 13:18:31 +00:00
Jim Meyering
25176dbdef
*** empty log message ***
1998-07-26 21:48:37 +00:00
Jim Meyering
b49807bfb2
Convert some char* dcls to `unsigned char*' and remove a cast --
...
to placate irix4's cc.
1998-07-26 20:43:50 +00:00
Jim Meyering
d71367f33e
(check_punctuation): Add cast to placate irix4's cc. Reported by Kaveh Ghazi.
1998-07-26 20:42:02 +00:00
Jim Meyering
bd85887daf
(split_3): Add cast to placate irix4's cc. From Kaveh Ghazi.
1998-07-26 20:09:25 +00:00
Jim Meyering
82988e97cf
(chown): Remove unused definition.
...
Reported by Kaveh Ghazi.
1998-07-26 04:13:57 +00:00
Jim Meyering
2b374ec2d9
.
1998-07-26 04:10:01 +00:00
Jim Meyering
3e3b8558d6
.
1998-07-26 04:06:55 +00:00
Jim Meyering
5c4cb177ef
Add tests for new --output-delimiter option,
...
as well as for NUL input delimiter (--delimiter='').
1998-07-26 04:06:37 +00:00
Jim Meyering
71a3fc7989
.
1998-07-26 04:06:07 +00:00
Jim Meyering
5c9345dbd1
(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.
1998-07-26 04:05:07 +00:00
Jim Meyering
287ddc8d05
*** empty log message ***
1998-07-26 03:59:27 +00:00
Jim Meyering
36ac5f1519
.
1998-07-26 02:59:37 +00:00
Jim Meyering
bde54af30f
*** empty log message ***
1998-07-26 02:56:36 +00:00
Jim Meyering
cafbd3477a
Add two tests. `sort -o no-file no-file' didn't fail.
1998-07-26 02:55:53 +00:00
Jim Meyering
165718775f
(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.
1998-07-26 02:54:01 +00:00
Jim Meyering
f90d1551cb
*** empty log message ***
1998-07-26 00:29:45 +00:00
Jim Meyering
613f0e187f
(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.
1998-07-26 00:29:30 +00:00
Jim Meyering
ca6da4ffce
*** empty log message ***
1998-07-25 21:50:53 +00:00
Jim Meyering
ac517dbe89
Remove `diff' I'd put in for debugging.
...
Exit with the status from cmp.
1998-07-25 21:50:35 +00:00
Jim Meyering
3ae3622d9e
*** empty log message ***
FILEUTILS-3_16s
1998-07-25 17:52:54 +00:00
Jim Meyering
27682ba5ce
Skip three more unportable tests. These failed on SunOS4.1.4.
1998-07-25 17:52:37 +00:00
Jim Meyering
8dd3e53122
*** empty log message ***
1998-07-25 16:49:13 +00:00
Jim Meyering
d1187d36da
*** empty log message ***
1998-07-25 16:45:45 +00:00
Jim Meyering
0f85045bb3
.
1998-07-25 15:32:12 +00:00
Jim Meyering
69835e9fb6
(SAME_INODE): Define it here instead.
1998-07-25 15:31:23 +00:00
Jim Meyering
3ba948db7e
(SAME_INODE): Remove definition.
1998-07-25 15:30:08 +00:00
Jim Meyering
d1f9e2315b
.
1998-07-25 15:28:24 +00:00
Jim Meyering
d04604664a
(same_file): New function
...
(remove_dir): Use it to give a better diagnostic when rmdir fails
because it can't remove the current directory.
1998-07-25 15:27:55 +00:00
Jim Meyering
4e9a99dd9a
(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.
1998-07-25 15:14:16 +00:00
Jim Meyering
3f3df4e600
Use PARAMS macro.
1998-07-25 15:01:32 +00:00
Jim Meyering
27e780fe97
(xatoi): Ansideclify.
...
(fstype_to_string): Ansideclify.
1998-07-25 15:00:37 +00:00
Jim Meyering
122d3f15ae
(REMOTE_FS_TYPE): New macro.
1998-07-25 14:55:10 +00:00
Jim Meyering
bb3fca40db
(read_filesystem_list) [MOUNTED_GETMNTINFO]: Use fsp_to_string.
...
(fsp_to_string): Don't xmalloc return value (yet).
1998-07-25 14:54:42 +00:00