From: Bruno Haible Date: Sun, 30 Apr 2017 08:15:55 +0000 (+0200) Subject: Fix a few typos. X-Git-Tag: v1.0~6231 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=33390878c1293a5c9289de9b23ec25b69601be0a;p=gnulib.git 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/ChangeLog b/ChangeLog index 4e052a710b..7eb1ad6021 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2017-04-30 Bruno Haible + + 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. + 2017-04-29 Bruno Haible error: Fix mistake in 2017-04-23 commit. diff --git a/doc/posix-functions/fstat.texi b/doc/posix-functions/fstat.texi index cb662fc0d4..6b337a9979 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 c30e7e18f8..e6424957cc 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 14f87be669..e70e533e7a 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 e687e232a2..068f6f60a4 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 b3172d86db..286fcba845 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