[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: stat: fix time_t values and other problems on native Windows
From: |
Bruno Haible |
Subject: |
Re: stat: fix time_t values and other problems on native Windows |
Date: |
Sun, 30 Apr 2017 10:16:35 +0200 |
User-agent: |
KMail/5.1.3 (Linux/4.4.0-75-generic; KDE/5.18.0; x86_64; ; ) |
A followup patch, that fixes a few typos.
2017-04-30 Bruno Haible <address@hidden>
Fix a few typos.
* m4/fstat.m4 (gl_FUNC_FSTAT): Require AC_CANONICAL_HOST.
* m4/stat.m4 (gl_FUNC_STAT): Fix comment.
* doc/posix-functions/fstat.texi: Fix a plural typo.
* doc/posix-functions/stat.texi: Likewise.
* m4/include_next.m4: Update comments.
diff --git a/doc/posix-functions/fstat.texi b/doc/posix-functions/fstat.texi
index cb662fc..6b337a9 100644
--- a/doc/posix-functions/fstat.texi
+++ b/doc/posix-functions/fstat.texi
@@ -16,7 +16,7 @@ On platforms where @code{off_t} is a 32-bit type,
@code{fstat} may not correctly
report the size of files or block devices larger than 2 GB.
(Cf. @code{AC_SYS_LARGEFILE}.)
@item
-The @code{st_atime}, @code{st_ctime}, @code{st_mtime} field are affected by
+The @code{st_atime}, @code{st_ctime}, @code{st_mtime} fields are affected by
the current time zone and by the DST flag of the current time zone on some
platforms:
mingw, MSVC 14 (when the environment variable @code{TZ} is set).
diff --git a/doc/posix-functions/stat.texi b/doc/posix-functions/stat.texi
index c30e7e1..e642495 100644
--- a/doc/posix-functions/stat.texi
+++ b/doc/posix-functions/stat.texi
@@ -13,7 +13,7 @@ On platforms where @code{off_t} is a 32-bit type, @code{stat}
may not correctly
report the size of files or block devices larger than 2 GB.
(Cf. @code{AC_SYS_LARGEFILE}.)
@item
-The @code{st_atime}, @code{st_ctime}, @code{st_mtime} field are affected by
+The @code{st_atime}, @code{st_ctime}, @code{st_mtime} fields are affected by
the current time zone and by the DST flag of the current time zone on some
platforms:
mingw, MSVC 14 (when the environment variable @code{TZ} is set).
diff --git a/m4/fstat.m4 b/m4/fstat.m4
index 14f87be..e70e533 100644
--- a/m4/fstat.m4
+++ b/m4/fstat.m4
@@ -6,6 +6,7 @@ dnl with or without modifications, as long as this notice is
preserved.
AC_DEFUN([gl_FUNC_FSTAT],
[
+ AC_REQUIRE([AC_CANONICAL_HOST])
AC_REQUIRE([gl_SYS_STAT_H_DEFAULTS])
case "$host_os" in
diff --git a/m4/include_next.m4 b/m4/include_next.m4
index e687e23..068f6f6 100644
--- a/m4/include_next.m4
+++ b/m4/include_next.m4
@@ -1,4 +1,4 @@
-# include_next.m4 serial 23
+# include_next.m4 serial 24
dnl Copyright (C) 2006-2017 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
@@ -6,7 +6,8 @@ dnl with or without modifications, as long as this notice is
preserved.
dnl From Paul Eggert and Derek Price.
-dnl Sets INCLUDE_NEXT and PRAGMA_SYSTEM_HEADER.
+dnl Sets INCLUDE_NEXT, INCLUDE_NEXT_AS_FIRST_DIRECTIVE, PRAGMA_SYSTEM_HEADER,
+dnl and PRAGMA_COLUMNS.
dnl
dnl INCLUDE_NEXT expands to 'include_next' if the compiler supports it, or to
dnl 'include' otherwise.
diff --git a/m4/stat.m4 b/m4/stat.m4
index b3172d8..286fcba 100644
--- a/m4/stat.m4
+++ b/m4/stat.m4
@@ -8,7 +8,7 @@
AC_DEFUN([gl_FUNC_STAT],
[
- AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
+ AC_REQUIRE([AC_CANONICAL_HOST])
AC_REQUIRE([gl_SYS_STAT_H_DEFAULTS])
AC_CHECK_FUNCS_ONCE([lstat])
case "$host_os" in
--
2.7.4