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.
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.