X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=doc%2Fposix-functions%2Futime.texi;h=9cfe373797d4925ee5828ce8affcc8b838648d81;hb=0439f6f0de51b9e9c1f76d91dd4bcbe58a5f8dc0;hp=d14685c1bc28c9d77cf7c87325930068d48634a9;hpb=75de3afee5e99c73676c59fb03b1f506b828e3e3;p=gnulib.git diff --git a/doc/posix-functions/utime.texi b/doc/posix-functions/utime.texi index d14685c1b..9cfe37379 100644 --- a/doc/posix-functions/utime.texi +++ b/doc/posix-functions/utime.texi @@ -2,25 +2,29 @@ @section @code{utime} @findex utime -POSIX specification: @url{http://www.opengroup.org/onlinepubs/9699919799/functions/utime.html} +POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/functions/utime.html} -Gnulib module: utime +Gnulib module: --- Portability problems fixed by Gnulib: @itemize -@item -On some old platforms (Sequent), @code{utime (file, NULL)} fails to set the -file's timestamp to the current time. @end itemize Portability problems not fixed by Gnulib: @itemize @item +On some old platforms (Sequent), @code{utime (file, NULL)} fails to set the +file's timestamp to the current time. +@item +On some platforms, this function mis-handles trailing slash: +Solaris 9. +@item This function cannot set full timestamp resolution. Use -@code{utimensat(AT_FDCWD,file,times,0)} instead. +@code{utimensat(AT_FDCWD,file,times,0)}, or the gnulib module utimens, +instead. @item On some platforms, the prototype for @code{utime} omits @code{const} for the second argument. Fortunately, the argument is not modified, so it is safe to cast away const: -mingw. +mingw, MSVC 9. @end itemize