Age | Commit message (Collapse) | Author | |
---|---|---|---|
2004-05-17 | *** empty log message *** | Jim Meyering | |
2004-05-17 | *** empty log message *** | Jim Meyering | |
2004-05-17 | . | Jim Meyering | |
2004-05-17 | . | Jim Meyering | |
2004-05-17 | *** empty log message *** | Jim Meyering | |
2004-05-17 | Use -h where necessary to retain semantics. | Jim Meyering | |
2004-05-17 | *** empty log message *** | Jim Meyering | |
2004-05-17 | chgrp and chown now dereference symlinks by default, per POSIX. | Jim Meyering | |
(usage): Update to reflect this. | |||
2004-05-17 | (chopt_init): Affect each symlink referent by default. | Jim Meyering | |
2004-05-17 | *** empty log message *** | Jim Meyering | |
2004-05-17 | chgrp and chown now dereference symlinks by default, per POSIX. | Jim Meyering | |
(chgrp invocation, chown invocation): Document it. | |||
2004-05-16 | chown --dereference did nothing when the owner/group of a | Jim Meyering | |
symlink matched the desired owner/group. Reported by David Malone. Also reported in 1999 as http://bugs.debian.org/39642. (change_file_owner): When --dereference has been specified, and when processing a symlink, stat it to get the owner and group of the referent. | |||
2004-05-16 | *** empty log message *** | Jim Meyering | |
2004-05-16 | In shred, check for errors from fdatasync more carefully. If | Jim Meyering | |
fdatasync fails with errno==EINVAL, it means this implementation does not support synchronized I/O for this file. Do not report this as an error, as (for example) AIX 5.2 fdatasync reports it for raw disk devices. Problem reported by Albert Chin in <http://mail.gnu.org/archive/html/bug-gnu-utils/2004-05/msg00028.html>. Check for write errors, though: the old code ignored them. Improve error checking in a few other cases, too (e.g., close of a directory). Also, change several 'int' values to 'bool', so that the error checking is a bit clearer. Similarly, change unsigned values to size_t where appropriate. * src/shred.c: Include "dirname.h". (datasync) [!HAVE_FDATASYNC]: Remove. (dosync): New function. (dopass): Use it. Return 1 on write error, -1 on other error. All callers changed. Report write error if dosync does. (do_wipefd, wipefd, wipename, wipefile): Return bool (true/false), not int (0/-1). All callers changed. Return false if there's a write error. (incname): Return bool (true/false), not int (0/1). Accept size_t length, not unsigned. All callers changed. Do not bother checking for non-digits; it can't happen. Replace recursion with iteration. (wipename): Use dir_name, base_name, etc. instead of assuming Unix file names. Use size_t for length, not unsigned. Report error if unlink or close fails. (wipename, main): Use bool for booleans. (names): Use only digits and uppercase letters, for greater portability. | |||
2004-05-16 | *** empty log message *** | Jim Meyering | |
2004-05-16 | *** empty log message *** | Jim Meyering | |
2004-05-16 | (TESTS): Add deref. | Jim Meyering | |
2004-05-16 | New test for the yesterday's change. | Jim Meyering | |
2004-05-15 | *** empty log message *** | Jim Meyering | |
2004-05-15 | . | Jim Meyering | |
2004-05-14 | (AD_pop_and_chdir): Eliminate an unnecessary call to AC_stack_top. | Jim Meyering | |
2004-05-14 | . | Jim Meyering | |
2004-05-14 | *** empty log message *** | Jim Meyering | |
2004-05-14 | Improve performance of `sort -m' on large files, at the cost of | Jim Meyering | |
making some contrived examples unsafe. POSIX allows this optimization. Performance problem reported by Jonathan Baker in <http://mail.gnu.org/archive/html/bug-coreutils/2004-05/msg00071.html>. (first_same_file): Do not treat input pipes differently from other files. | |||
2004-05-14 | Document that "sort -m -o F" might write F before reading all the input. | Jim Meyering | |
2004-05-14 | *** empty log message *** | Jim Meyering | |
2004-05-14 | (sort invocation): Document that "sort -m -o F" | Jim Meyering | |
might write F before reading all the input. | |||
2004-05-14 | *** empty log message *** | Jim Meyering | |
2004-05-14 | *** empty log message *** | Jim Meyering | |
2004-05-14 | Fix typo: s/supercede/supersede/. | Jim Meyering | |
2004-05-13 | *** empty log message *** | Jim Meyering | |
2004-05-13 | (unquote, make_printable_str): Use e.g. '\a' rather than '\007', | Jim Meyering | |
for portability to EBCDIC hosts. | |||
2004-05-13 | (print_esc_char): Use e.g. '\a' rather than '\007', | Jim Meyering | |
for portability to EBCDIC hosts. | |||
2004-05-13 | (print_ascii, dump_strings): Use e.g. '\a' rather than | Jim Meyering | |
'\007', for portability to EBCDIC hosts. | |||
2004-05-13 | *** empty log message *** | Jim Meyering | |
2004-05-13 | Don't assume that "make -C" works; Solaris "make" doesn't have -C. | Jim Meyering | |
* src/Makefile.am (all_programs.list): New rule, copied from man/Makefile.am and tests/Makefile.am, except that we use the system tr rather than ./tr and we don't use tr -s. * tests/Makefile.am (all_programs): Use it. * man/Makefile.am (all_programs): Likewise. Renamed from programs, for consistency. All uses changed. | |||
2004-05-13 | Don't assume that "make -C" works; Solaris "make" doesn't have -C. | Jim Meyering | |
* src/Makefile.am (all_programs.list): New rule, copied from man/Makefile.am and tests/Makefile.am, except that we use the system tr rather than ./tr and we don't use tr -s. * tests/Makefile.am (all_programs): Use it. | |||
2004-05-13 | Don't assume that "make -C" works; Solaris "make" doesn't have -C. | Jim Meyering | |
(all_programs.list): New rule, copied from man/Makefile.am and tests/Makefile.am, except that we use the system tr rather than ./tr and we don't use tr -s. | |||
2004-05-12 | *** empty log message *** | Jim Meyering | |
2004-05-12 | (AD_pop_and_chdir): Move lstat-`.' into if-block | Jim Meyering | |
where the result is used. This avoids one unnecessary lstat call per command line argument. | |||
2004-05-11 | *** empty log message *** | Jim Meyering | |
2004-05-11 | (TESTS): Add unread3. | Jim Meyering | |
2004-05-11 | New test, for the above fix and today's lib/save-cwd.c improvement. | Jim Meyering | |
2004-05-11 | *** empty log message *** | Jim Meyering | |
2004-05-11 | (save_cwd): If opening `.' read-only fails, try write-only. | Jim Meyering | |
2004-05-11 | *** empty log message *** | Jim Meyering | |
2004-05-11 | *** empty log message *** | Jim Meyering | |
2004-05-11 | *** empty log message *** | Jim Meyering | |
2004-05-11 | (save_cwd) [HAVE_FCHDIR]: Don't fail just | Jim Meyering | |
because opening `.' failed. Resort to using xgetcwd. | |||
2004-05-11 | *** empty log message *** | Jim Meyering | |