diff options
author | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2024-10-31 15:27:12 (GMT) |
---|---|---|
committer | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2024-10-31 15:27:12 (GMT) |
commit | 5be04ec2ceb1df77afbca4fcbf9e92a712612d6f (patch) | |
tree | 2b2e1c71dffae827c8e45cd4cccc375093d03486 /gl/m4/fstat.m4 | |
parent | 6d1d1dac32841d5ca6ee51bb09b30a6c604b17e2 (diff) | |
download | monitoring-plugins-5be04ec2ceb1df77afbca4fcbf9e92a712612d6f.tar.gz |
Sync with the latest Gnulib code (d4ec02b3cc)refs/pull/2037/head
Diffstat (limited to 'gl/m4/fstat.m4')
-rw-r--r-- | gl/m4/fstat.m4 | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/gl/m4/fstat.m4 b/gl/m4/fstat.m4 index 7cb2edb..47777b0 100644 --- a/gl/m4/fstat.m4 +++ b/gl/m4/fstat.m4 | |||
@@ -1,5 +1,6 @@ | |||
1 | # fstat.m4 serial 8 | 1 | # fstat.m4 |
2 | dnl Copyright (C) 2011-2023 Free Software Foundation, Inc. | 2 | # serial 10 |
3 | dnl Copyright (C) 2011-2024 Free Software Foundation, Inc. | ||
3 | dnl This file is free software; the Free Software Foundation | 4 | dnl This file is free software; the Free Software Foundation |
4 | dnl gives unlimited permission to copy and/or distribute it, | 5 | dnl gives unlimited permission to copy and/or distribute it, |
5 | dnl with or without modifications, as long as this notice is preserved. | 6 | dnl with or without modifications, as long as this notice is preserved. |
@@ -10,10 +11,10 @@ AC_DEFUN([gl_FUNC_FSTAT], | |||
10 | AC_REQUIRE([gl_SYS_STAT_H_DEFAULTS]) | 11 | AC_REQUIRE([gl_SYS_STAT_H_DEFAULTS]) |
11 | 12 | ||
12 | case "$host_os" in | 13 | case "$host_os" in |
13 | mingw* | solaris*) | 14 | darwin* | mingw* | windows* | solaris*) |
15 | dnl macOS and Solaris stat can return a negative tv_nsec. | ||
14 | dnl On MinGW, the original stat() returns st_atime, st_mtime, | 16 | dnl On MinGW, the original stat() returns st_atime, st_mtime, |
15 | dnl st_ctime values that are affected by the time zone. | 17 | dnl st_ctime values that are affected by the time zone. |
16 | dnl Solaris stat can return a negative tv_nsec. | ||
17 | REPLACE_FSTAT=1 | 18 | REPLACE_FSTAT=1 |
18 | ;; | 19 | ;; |
19 | esac | 20 | esac |