cvs commit: src/sys/kern vfs_syscalls.c
Andrey Chernov
ache at FreeBSD.ORG
Tue Jan 3 16:17:08 PST 2006
On Wed, Jan 04, 2006 at 01:48:11AM +0200, Diomidis Spinellis wrote:
> I saw that one coming :-) Solaris (SunOS 5.10) returns EINVAL, Mac OS X
> Tiger and Linux 2.4.21 appear to ignore the field, and NetBSD 1.5
> follows our buggy behavior. POSIX is silent on the matter, and does not
> specify EINVAL in the list of prescribed errno values
> <http://www.opengroup.org/onlinepubs/007908799/xsh/utimes.html>.
Under no condition right code puts big values there (moreover, it is
not portable, as you say above), so big values should be treated as error
(with EINVAL) to stay on safe side.
--
http://ache.pp.ru/
More information about the cvs-src
mailing list