[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: stat exits 0 on file-not-found
From: |
Eric Blake |
Subject: |
Re: stat exits 0 on file-not-found |
Date: |
Wed, 20 Jul 2005 06:03:54 -0600 |
User-agent: |
Mozilla Thunderbird 1.0.2 (Windows/20050317) |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
According to Seth Johnson on 7/19/2005 4:22 PM:
> Using coreutils-4.5.3-26,
>
> stat foo
>
> (where file foo does not exist)
>
> exits 0.
Have you tried the latest release, 5.3.0
(http://lists.gnu.org/archive/html/bug-coreutils/2005-01/msg00041.html);
or the current CVS? This bug has been fixed:
$ stat --version
stat (GNU coreutils) 5.3.0
Written by Michael Meskes.
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
$ stat none
stat: cannot stat `none': No such file or directory
$ echo $?
1
- --
Life is short - so eat dessert first!
Eric Blake address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFC3j2p84KuGfSFAYARAjqwAKCbrVbkIgUT03yB0oSVGMh2NrO7LQCfS7mR
DeYLeWUkKGsI3Zn8RiUa5jE=
=fF9L
-----END PGP SIGNATURE-----