Jim Meyering
cd6c5b7422
*** empty log message ***
2005-05-10 13:30:33 +00:00
Jim Meyering
f1934ed713
*** empty log message ***
2005-05-10 12:59:49 +00:00
Jim Meyering
c2666e4b18
Skip the test if the user running it has write access to `/'.
2005-05-10 12:59:44 +00:00
Jim Meyering
4c2413d79f
.
2005-05-10 07:42:12 +00:00
Jim Meyering
d902ba0ad5
(TESTS): Add reply-no.
2005-05-10 07:42:01 +00:00
Jim Meyering
c4fa42049d
*** empty log message ***
2005-05-10 07:38:20 +00:00
Jim Meyering
f81cd0f71b
*** empty log message ***
2005-05-10 07:35:46 +00:00
Jim Meyering
6a23527114
(abandon_move): Remove erroneous UNWRITABLE check.
...
This makes `mv -i --reply=no f1 f2' work as expected (in not
performing the move operation). But note that specifying `-i'
after `--reply=no' does *not* work.
Tiny patch from Vlada Macek.
2005-05-10 07:35:43 +00:00
Jim Meyering
6f1c1df83d
*** empty log message ***
2005-05-10 07:28:10 +00:00
Jim Meyering
208bacc4b7
*** empty log message ***
2005-05-10 07:25:24 +00:00
Jim Meyering
7bbaee80e2
*** empty log message ***
2005-05-10 06:59:27 +00:00
Jim Meyering
49f3c23dad
Don't print PATH to stderr.
2005-05-10 06:59:24 +00:00
Jim Meyering
1830033440
*** empty log message ***
2005-05-10 06:36:21 +00:00
Paul Eggert
d766c0a42a
(fts_sort): Optimize the common case where all pointers smell the same.
2005-05-09 23:54:26 +00:00
Paul Eggert
a7864df9ba
* fts_.h, fts.c: More C89 portability fixes.
2005-05-09 18:53:54 +00:00
Paul Eggert
3b3a3a9520
(__P): Remove. All uses rewritten to assume C89 or better.
...
(fts_open): Don't cast a function value in a possibly-unsafe way.
(fts_compar): New function.
(fts_sort): Use it.
2005-05-09 18:53:33 +00:00
Paul Eggert
3ed3fb2d81
(FTS): Use correct type for fts_compar member.
...
(FTSENT): New member fts_fts. Remove members fts_ino, fts_dev,
fts_nlink; no longer needed now that fts_statp is always there.
All uses changed to use fts_statp instead.
2005-05-09 18:53:11 +00:00
Jim Meyering
ea345c5774
.
2005-05-08 18:54:26 +00:00
Paul Eggert
cd8fce3088
cp, ln, mv, rm no longer discard white space when intepreting responses.
2005-05-08 16:52:43 +00:00
Jim Meyering
7f26e14e3a
.
2005-05-08 16:52:38 +00:00
Paul Eggert
963e363388
* yesno.c: Include getline.h, not ctype.h.
...
(yesno): Don't remove leading white space; POSIX doesn't allow it.
Use getline to remove arbitrary restriction on response length.
2005-05-08 16:50:57 +00:00
Jim Meyering
3a1abe7485
remove trailing blanks
2005-05-06 21:08:39 +00:00
Paul Eggert
c0fd619103
dd has new iflag= and oflag= flags "binary" and "text".
2005-05-06 17:57:59 +00:00
Paul Eggert
b3f58e2acf
* coreutils.texi (dd invocation): New flags "binary" and "text".
2005-05-06 17:57:45 +00:00
Paul Eggert
db028141f5
(dd invocation): New flags "binary" and "text".
2005-05-06 17:57:35 +00:00
Paul Eggert
026894fd09
(flags, usage): Add support for "binary" and "text".
2005-05-06 17:57:10 +00:00
Paul Eggert
d5f20ebe16
dd has new iflag= and oflag= flags "binary" and "text".
2005-05-06 17:56:49 +00:00
Paul Eggert
f9aa4b0e4b
* getopt.m4 (gl_GETOPT): Check for Solaris 10 getopt, and avoid
...
needless checks.
2005-05-06 00:59:46 +00:00
Paul Eggert
38c0488d28
(gl_GETOPT): Check for Solaris 10 getopt, and avoid needless checks.
2005-05-06 00:59:33 +00:00
Paul Eggert
3cccf50ce3
* makepath.c (make_path): chdir to "//", not "/", if the file name
...
starts with exactly two slashes.
2005-05-05 08:00:03 +00:00
Paul Eggert
280cc68071
(make_path): chdir to "//", not "/", if the file name
...
starts with exactly two slashes.
2005-05-05 07:59:48 +00:00
Paul Eggert
04d5428ad3
Regenerate.
2005-05-04 17:25:26 +00:00
Paul Eggert
441a46319c
(chmod invocation): chmod -w complains if its
...
behavior differs from what chmod a-w would do.
2005-05-04 17:24:49 +00:00
Paul Eggert
918d8e5f31
chmod -w now complains if it differs from chmod a-w.
2005-05-04 17:23:38 +00:00
Paul Eggert
b9abf51d74
chmod -w now complains if it differs from chmod a-w.
2005-05-04 17:23:13 +00:00
Paul Eggert
a68066a0fb
Initial version.
2005-05-04 17:22:54 +00:00
Paul Eggert
5147bacee1
(TESTS): Add umask-x
2005-05-04 17:22:41 +00:00
Paul Eggert
4432ecc7b5
Include quotearg.h.
...
(diagnose_surprises): New var.
(process_file): Diagnose surprises. Simplify the logic a bit,
while we're at it.
(main): Prepare to diagnose surprises. Remove useless code for
'-' option.
2005-05-04 17:22:25 +00:00
Paul Eggert
28bbebfb89
chmod -w now complains if it differs from chmod a-w.
2005-05-04 17:22:08 +00:00
Paul Eggert
6383922a13
ls --indicator-style=directory renamed to ls --indicator-style=slash.
2005-05-02 18:41:53 +00:00
Paul Eggert
967e54a1e1
(ls invocation): ls --indicator-style=directory
...
renamed to ls --indicator-style=slash, to avoid confusion with ls
--directory.
2005-05-02 18:41:12 +00:00
Paul Eggert
77be207a57
(usage): ls --indicator-style=directory renamed to ls
...
--indicator-style=slash, to avoid confusion with ls --directory.
(slash): Renamed from directory_only. All uses changed.
2005-05-02 18:40:47 +00:00
Paul Eggert
9b1fc199cd
ls --indicator-style=directory renamed to ls
...
--indicator-style=slash, to avoid confusion with ls --directory.
2005-05-02 18:40:20 +00:00
Paul Eggert
ecf4669714
Sync from gnulib.
2005-05-02 04:28:20 +00:00
Paul Eggert
e9d60320ab
"chmod +1 foo" is now diagnosed.
2005-05-01 14:33:23 +00:00
Paul Eggert
dfdf88d425
* modechange.h (mode_free): Remove; all callers changed to invoke 'free'.
...
* modechange.c: Likewise. Simplify internals a bit. Prohibit "+0".
2005-05-01 14:28:38 +00:00
Paul Eggert
71a7e54b0d
mode_free -> free
2005-05-01 14:27:51 +00:00
Paul Eggert
394b469369
(mode_free): Remove; all callers changed to invoke 'free'.
2005-05-01 14:27:09 +00:00
Paul Eggert
d4502755f4
(mode_free): Remove; all callers changed to invoke 'free'.
...
xstrtol.h, stdbool.h, stddef.h: Don't include; no longer needed.
(MODE_DONE): New constant.
(struct mode_change): Remove 'next' member.
(make_node_op_equals): New function; like the old one of the
same name, except it allocates an array.
(mode_compile, mode_create_from_ref): Use it.
(mode_compile): Allocate result as an array, not a linked list.
Parse octal string ourself, so that we catch mistakes like "+0".
(mode_adjust): Arg is an array, not a linked list.
2005-05-01 14:26:50 +00:00
Paul Eggert
67a19c8e42
Regenerate.
2005-04-30 00:07:30 +00:00