From 393b9c0ba3fe7302f7baea6c8c2f68839f916c2c Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Wed, 28 Apr 2010 02:35:24 +0200 Subject: [PATCH] Update doc about utimes(). --- ChangeLog | 7 +++++++ doc/posix-functions/utimes.texi | 8 ++++++++ 2 files changed, 15 insertions(+) diff --git a/ChangeLog b/ChangeLog index db01579cf..f73dc44a6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2010-04-27 Bruno Haible + + Update doc about utimes(). + * doc/posix-functions/utimes.texi: Mention the OSF/1 problem and the + 'utimens' module. + Reported by Andreas Gruenbacher . + 2010-04-27 Eric Blake full-read, full-write: relax license diff --git a/doc/posix-functions/utimes.texi b/doc/posix-functions/utimes.texi index cfd8fd315..e6a196c1a 100644 --- a/doc/posix-functions/utimes.texi +++ b/doc/posix-functions/utimes.texi @@ -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). -- 2.11.0