From: Scott James Remnant <scott@ubuntu.com>
To: linux-hotplug@vger.kernel.org
Subject: Re: [PATCH] Use utime rather than utimes
Date: Wed, 10 Mar 2010 13:56:26 +0000 [thread overview]
Message-ID: <1268229386.18976.3.camel@wing-commander> (raw)
In-Reply-To: <1268195770-20935-1-git-send-email-jon@ringle.org>
[-- Attachment #1: Type: text/plain, Size: 980 bytes --]
On Wed, 2010-03-10 at 10:22 +0100, 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?
>
That's the 2004 version of the standard you're quoting. 2008 changed
its mind ;-)
http://www.opengroup.org/onlinepubs/9699919799/functions/utime.html
This notes:
The utime() function is marked obsolescent.
http://www.opengroup.org/onlinepubs/9699919799/functions/utimes.html
This notes:
The LEGACY marking is removed.
Scott
--
Scott James Remnant
scott@ubuntu.com
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
next prev parent reply other threads:[~2010-03-10 13:56 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-10 4:36 [PATCH] Use utime rather than utimes Jon Ringle
2010-03-10 8:34 ` Kay Sievers
2010-03-10 9:22 ` Martin Pitt
2010-03-10 11:35 ` Kay Sievers
2010-03-10 11:47 ` Kay Sievers
2010-03-10 13:56 ` Scott James Remnant [this message]
2010-03-10 15:32 ` Jon Ringle
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1268229386.18976.3.camel@wing-commander \
--to=scott@ubuntu.com \
--cc=linux-hotplug@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).