Update doc about utimes().
authorBruno Haible <bruno@clisp.org>
Wed, 28 Apr 2010 00:35:24 +0000 (02:35 +0200)
committerBruno Haible <bruno@clisp.org>
Wed, 28 Apr 2010 00:35:24 +0000 (02:35 +0200)
ChangeLog
doc/posix-functions/utimes.texi

index db01579..f73dc44 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2010-04-27  Bruno Haible  <bruno@clisp.org>
+
+       Update doc about utimes().
+       * doc/posix-functions/utimes.texi: Mention the OSF/1 problem and the
+       'utimens' module.
+       Reported by Andreas Gruenbacher <agruen@suse.de>.
+
 2010-04-27  Eric Blake  <eblake@redhat.com>
 
        full-read, full-write: relax license
index cfd8fd3..e6a196c 100644 (file)
@@ -16,6 +16,10 @@ Portability problems not fixed by Gnulib:
 This function is missing on some platforms:
 mingw, Interix 3.5, BeOS.
 @item
+The declaration of this function lacks @code{const} in the second argument
+on some platforms:
+OSF/1 5.1.
+@item
 On some platforms, this function mis-handles trailing slash:
 FreeBSD 7.2, Solaris 9.
 @item
@@ -32,3 +36,7 @@ On some platforms, @code{utimes} failed on read-only files when
 @code{utime} worked fine.
 glibc 2.2.5.
 @end itemize
+
+Extension: Gnulib provides a module @samp{utimens} that works around these
+problems and allows to set the time with nanosecond resolution (as far as
+supported by the file system).