diff options
| author | Paul Eggert <eggert@cs.ucla.edu> | 2004-08-09 23:35:15 +0000 |
|---|---|---|
| committer | Paul Eggert <eggert@cs.ucla.edu> | 2004-08-09 23:35:15 +0000 |
| commit | f305d3a224827814d56a4a328b01fcee9daa7d01 (patch) | |
| tree | 3f70dbb73da42b33cca9ce65e658c70211741b9a | |
| parent | (wipename): Work even if the directory is writeable (diff) | |
| download | coreutils-f305d3a224827814d56a4a328b01fcee9daa7d01.tar.gz coreutils-f305d3a224827814d56a4a328b01fcee9daa7d01.zip | |
Improve code to work in some cases when files are writeable but not readable.
| -rw-r--r-- | ChangeLog | 4 | ||||
| -rw-r--r-- | lib/ChangeLog | 11 |
2 files changed, 14 insertions, 1 deletions
@@ -1,5 +1,9 @@ 2004-08-09 Paul Eggert <eggert@cs.ucla.edu> + * src/shred.c (wipename): Work even if the directory is writeable + and not readable. Prefer write access, since this should work + better with fdatasync. + * src/csplit.c (xalloc_die): New function. (main): Remove now-obsolete initialization of xalloc_fail_func. diff --git a/lib/ChangeLog b/lib/ChangeLog index c7a35cab6..a4cb4918d 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,6 +1,15 @@ 2004-08-09 Paul Eggert <eggert@cs.ucla.edu> - * xalloc-die.c: New files. + * chown.c (rpl_chown): Work even if the file is writeable but not + readable. This could be improved further but it'd take some work. + * fts.c (diropen): New function. + (fts_open, fts_read, fts_children, fts_safe_changedir): + Use it, so that the code works even if the directory + is writeable but not readable. We'd like it to work even if + the directory is merely executable, but I don't know how to do + that portably. + + * xalloc-die.c: New file. * xalloc.h (xalloc_fail_func, xalloc_msg_memory_exhausted): Remove. All uses removed. * xmalloc.c (xalloc_fail_func, xalloc_msg_memory_exhausted): Likewise. |
