[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Handling of output errors from -fprintf and similar predicates
From: |
Eric Blake |
Subject: |
Re: Handling of output errors from -fprintf and similar predicates |
Date: |
Sat, 05 May 2007 07:57:43 -0600 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.10) Gecko/20070221 Thunderbird/1.5.0.10 Mnenhy/0.7.5.666 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
According to James Youngman on 5/5/2007 7:38 AM:
> The -print predicate must always return 0. POSIX does not specify the
> other options.
>
> Should -fprintf and friends also return false when an output error
> occurs?
I agree with your argument that -fprintf should always succeed as a
predicate, even if a write failure causes find itself to exit with a
failure status.
- --
Don't work too hard, make some time for fun as well!
Eric Blake address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGPI1X84KuGfSFAYARAiLDAJ9I2xEl0LRgPhkbCcvZnsjF1IRO8wCgyZlA
S4YiZGCXqjjTGzUKRuSfXwU=
=vDJ2
-----END PGP SIGNATURE-----