]> Savannah Git Hosting - gnulib.git/commitdiff
stat-time: Update comments.
authorBruno Haible <bruno@clisp.org>
Sun, 23 Apr 2017 11:18:16 +0000 (13:18 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 23 Apr 2017 11:18:16 +0000 (13:18 +0200)
* lib/stat-time.h: Fix reference regarding st_ctime on Windows.
* tests/test-utimens-common.h: Add reference regarding st_ctime on
Windows.

ChangeLog
lib/stat-time.h
tests/test-utimens-common.h

index 629d6ea293a14a8401f2003ae9993c45c3328a34..67f5caf2e472808ce72d6e4632eabc979bd48493 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2017-04-23  Bruno Haible  <bruno@clisp.org>
+
+       stat-time: Update comments.
+       * lib/stat-time.h: Fix reference regarding st_ctime on Windows.
+       * tests/test-utimens-common.h: Add reference regarding st_ctime on
+       Windows.
+
 2017-04-01  Bruno Haible  <bruno@clisp.org>
 
        glob: Fix more memory leaks.
index 47469892ee2728778b12bed6cdcee2c055d696ea..154d62a01f548dfc12b1da3aacfe90ec633f4abc 100644 (file)
@@ -169,7 +169,7 @@ get_stat_birthtime (struct stat const *st)
 #elif (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__
   /* Native Windows platforms (but not Cygwin) put the "file creation
      time" in st_ctime (!).  See
-     <http://msdn2.microsoft.com/de-de/library/14h5k7ff(VS.80).aspx>.  */
+     <https://msdn.microsoft.com/en-us/library/14h5k7ff(VS.80).aspx>.  */
   t.tv_sec = st->st_ctime;
   t.tv_nsec = 0;
 #else
index 4aa6565f3af465bbc13be6e5ac9263571c63940d..701e06d98dff98a2c6b0673dad0064e092a5dfbc 100644 (file)
@@ -51,7 +51,8 @@ enum {
 # if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
 /* Skip ctime tests on native Windows, since it is either a copy of
    mtime or birth time (depending on the file system), rather than a
-   properly tracked change time.  */
+   properly tracked change time.  See
+   <https://msdn.microsoft.com/en-us/library/14h5k7ff(VS.80).aspx>.  */
 #  define check_ctime 0
 # else
 #  define check_ctime 1