From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kay Sievers Date: Wed, 10 Mar 2010 11:35:32 +0000 Subject: Re: [PATCH] Use utime rather than utimes Message-Id: List-Id: References: <1268195770-20935-1-git-send-email-jon@ringle.org> In-Reply-To: <1268195770-20935-1-git-send-email-jon@ringle.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: linux-hotplug@vger.kernel.org On Wed, Mar 10, 2010 at 10:22, Martin Pitt wrote: > Kay Sievers [2010-03-10  9:34 +0100]: >> utime(): POSIX.1-2008 marks utime() as obsolete. > > That's actually what the manpage says, indeed. However, it contradicts > what's written in the standard: > >  http://www.opengroup.org/onlinepubs/009695399/basedefs/sys/time.h.html#tag_13_64 > > says utimes() is obsolete and > >  http://www.opengroup.org/onlinepubs/009695399/basedefs/utime.h.html#tag_13_81 > > says nothing about being obsolete. However, this might not be _the_ > POSIX standard? Sounds all pretty weird. Maybe we just go for utimensat(AT_FDCWD, ..., if that is in uclibc. Jon, care to check? Thanks, Kay