Date: Wed, 4 Jan 2006 03:17:01 +0300 From: Andrey Chernov <ache@FreeBSD.ORG> To: Diomidis Spinellis <dds@aueb.gr> Cc: cvs-src@FreeBSD.ORG, Poul-Henning Kamp <phk@phk.freebsd.dk>, src-committers@FreeBSD.ORG, Diomidis Spinellis <dds@FreeBSD.ORG>, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/sys/kern vfs_syscalls.c Message-ID: <20060104001701.GA44011@nagual.pp.ru> In-Reply-To: <43BB0D3B.10300@aueb.gr> References: <88559.1136330180@critter.freebsd.dk> <43BB0D3B.10300@aueb.gr>
next in thread | previous in thread | raw e-mail | index | archive | help
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/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060104001701.GA44011>