changeset 13281:2304ea739169

Update doc about utimes().
author Bruno Haible <bruno@clisp.org>
date Wed, 28 Apr 2010 02:35:24 +0200
parents 8e04f75cbbca
children 20adf2052520
files ChangeLog doc/posix-functions/utimes.texi
diffstat 2 files changed, 15 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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
--- a/doc/posix-functions/utimes.texi
+++ b/doc/posix-functions/utimes.texi
@@ -16,6 +16,10 @@
 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 @@
 @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).