sync from gnulib

2004-08-09 Thread Paul Eggert
I installed this to keep up with today's gnulib fixes. Index: lib/ChangeLog === RCS file: /home/eggert/coreutils/cu/lib/ChangeLog,v retrieving revision 1.812 diff -p -u -r1.812 ChangeLog --- lib/ChangeLog 9 Aug 2004 23:35:26 -00

coreutils patch for files that are writeable but not readable

2004-08-09 Thread Paul Eggert
I installed the following patch to fix some inadequacies of coreutils in cases where files (particularly, directories) are writeable but not readable. fchdir requires only execute (search) access, so it'd be nice if we could somehow get a search-only file descriptor for a directory (in particular,

xalloc removal of dependency on error, exitfail, etc.

2004-08-09 Thread Paul Eggert
Here are the changes I installed into coreutils that were needed after I imported the latest gnulib, with the xalloc dependency cleanup. 2004-08-09 Paul Eggert <[EMAIL PROTECTED]> * lib/Makefile.am (libfetish_a_SOURCES): Add xalloc-die.c. * src/csplit.c (xalloc_die): New functio

finish renaming sha -> sha1

2004-08-09 Thread Paul Eggert
I installed this minor cleanup to finish the renaming of "sha" to "sha1" internally. This is synced with gnulib. 2004-08-09 Paul Eggert <[EMAIL PROTECTED]> * lib/sha1.h (sha1_ctx): Renamed from sha_ctx. (sha1_init_ctx): Renamed from sha_init_ctx. (sha1_process_block): R

Re: coreutils rm fix for Solaris -- please review this one....

2004-08-09 Thread Jim Meyering
Paul Eggert <[EMAIL PROTECTED]> wrote: > CVS coreutils rm failed "make check" due to the following scenario > in tests/rm/inaccessible: > >can't get the working directory initially; >... >chdir ("/foo/bar/abs1"); >... opendir, readdir, remove all entries here; then: ... >chdir (

Re: Portability issue

2004-08-09 Thread DervishD
Hi Paul :) * Paul Eggert <[EMAIL PROTECTED]> dixit: > You need backslashes in front of the braces, though. Yes, I knew, thanks :) In any case, the rest of the script won't work in a non-SUS compliant environment, so strictly speaking this is not a portability issue. All systems this scri

Re: df spools up hard drive

2004-08-09 Thread Tim Waugh
On Sun, Aug 08, 2004 at 05:51:13AM -0700, Aaron Peterson wrote: > whenever I'm curious how much diskspace I have left, I run df... well, The > drives spin up, and I'd rather not wait, and I'd rather not wear out my > drives, and I'd rather not have the large power suck all at once... Try 'df --