Re: [PATCH] Use utime rather than utimes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx

Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux