testsuite portability nit

2005-04-17 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On cygwin, where /bin/sh is ash, trap '' CHLD doesn't work (ash only accepts signal numbers, not names): $ trap '' CHLD trap: bad signal CHLD But CHLD is not one of the portable signal numbers (it is 20 on cygwin, but other numbers on other

chown: say will write only if something needs to be changed

2005-04-17 Thread Dan Jacobson
Please mention in the chown documentation when and if always, chown will only write to the disk if something needs to be changed! ---BeginMessage--- On Tue 12 Apr 2005, Dan Jacobson wrote: Instead of nohup chown -R proxy:proxy /var/cache/wwwoffle Perhaps only change the files that need

Re: rmdir -i

2005-04-17 Thread Dan Jacobson
G May be that's because rmdir works on ``empty'' directories. No point G prompting. Some times we still want to be asked: $ rmdir -i dir4* dir?3 True, one could use features of xargs. Or we might want to alias to rmdir -i all day long for safety, empty or not.

Re: testsuite portability nit

2005-04-17 Thread James Youngman
On Sat, Apr 16, 2005 at 04:35:39PM -0600, Eric Blake wrote: On cygwin, where /bin/sh is ash, trap '' CHLD doesn't work (ash only accepts signal numbers, not names): $ trap '' CHLD trap: bad signal CHLD But CHLD is not one of the portable signal numbers (it is 20 on cygwin, but other

Re: testsuite portability nit

2005-04-17 Thread Eric Blake
On cygwin, where /bin/sh is ash, trap '' CHLD doesn't work (ash only accepts signal numbers, not names): $ trap '' CHLD trap: bad signal CHLD But CHLD is not one of the portable signal numbers (it is 20 on cygwin, but other numbers on other platforms). Not all versions of