Re: Bug#158957: fileutils: stat does not return errors

2004-09-08 Thread Jim Meyering
Andreas Metzler [EMAIL PROTECTED] wrote: On 2002-09-01 Michael Stone [EMAIL PROTECTED] wrote: On Sat, Aug 31, 2002 at 03:24:24PM +1000, you wrote: $ stat a stat: cannot stat `a': No such file or directory $ echo $? 0 That sure looks like a bug to me. Thanks for reporting it. Here's a patch:

Re: Bug#158957: fileutils: stat does not return errors

2004-09-08 Thread Paul Eggert
It might be worth mentioning that stat exit status bug was fixed in a different way in CVS coreutils, I think in the 2004-08-03 patch. At least I don't observe the bug now. Here's a brief summary of that patch and a URL: 2004-08-03 Paul Eggert [EMAIL PROTECTED] * src/stat.c (G_fail):