`utime(2)' marked as legacy under linux

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Thu Apr 14 15:35:32 UTC 2011


Giuseppe Scrivano <gscrivano at gnu.org> wrote:

Hello, AFAICS the use of `utime(2)' is discouraged under Linux and it is not even available unless UCLIBC_SUSV4_LEGACY is defined; in fact it is suggested to use `utimes(2)'. POSIX.1-2001 does the very opposite: `utimes(2)' is marked as legacy and it suggests use the use of `utime(2)' [1]. Am I missing something? What do you think about it? In case, I can prepare and submit a patch to include `utime(2)' and remove the warning message. Thanks, Giuseppe 1) http://pubs.opengroup.org/onlinepubs/009695399/functions/utimes.html_____________________________________________
uClibc mailing list uClibc at uclibc.org http://lists.busybox.net/mailman/listinfo/uclibc 


Hi,

POSIX changed their mind for 2008.
, the code (and warning) should be correct as is WRT SUSv4.


More information about the uClibc mailing list