diff options
| author | Paul Eggert | 2017-01-10 07:48:37 -0800 |
|---|---|---|
| committer | Paul Eggert | 2017-01-10 07:49:55 -0800 |
| commit | fa0a2b4e7c81f57aecc1d94df00588a4dd5c281d (patch) | |
| tree | 31408852501056452a337677c8f5b80fd3c24e7c /lib/stat-time.h | |
| parent | 560a384038845e37228226313eccfc8d70132553 (diff) | |
| download | emacs-fa0a2b4e7c81f57aecc1d94df00588a4dd5c281d.tar.gz emacs-fa0a2b4e7c81f57aecc1d94df00588a4dd5c281d.zip | |
Merge from gnulib
This incorporates:
2017-01-09 maint: time stamp -> timestamp
2017-01-07 stdioext: Port to Minix 3.2 and newer
2017-01-06 glob, intprops, xalloc: work around Clang bug
2017-01-02 revert copyright-year change to synced files
* doc/misc/texinfo.tex, lib/fpending.c, lib/intprops.h, lib/mktime.c:
* lib/stat-time.h, lib/stdio-impl.h, lib/time.in.h, lib/timespec.h:
* lib/utimens.c, lib/xalloc-oversized.h:
Copy from gnulib.
Diffstat (limited to 'lib/stat-time.h')
| -rw-r--r-- | lib/stat-time.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/stat-time.h b/lib/stat-time.h index b060cc7a7b5..9402b3fc1c0 100644 --- a/lib/stat-time.h +++ b/lib/stat-time.h | |||
| @@ -181,7 +181,7 @@ get_stat_birthtime (struct stat const *st) | |||
| 181 | || defined HAVE_STRUCT_STAT_ST_BIRTHTIMENSEC) | 181 | || defined HAVE_STRUCT_STAT_ST_BIRTHTIMENSEC) |
| 182 | /* FreeBSD and NetBSD sometimes signal the absence of knowledge by | 182 | /* FreeBSD and NetBSD sometimes signal the absence of knowledge by |
| 183 | using zero. Attempt to work around this problem. Alas, this can | 183 | using zero. Attempt to work around this problem. Alas, this can |
| 184 | report failure even for valid time stamps. Also, NetBSD | 184 | report failure even for valid timestamps. Also, NetBSD |
| 185 | sometimes returns junk in the birth time fields; work around this | 185 | sometimes returns junk in the birth time fields; work around this |
| 186 | bug if it is detected. */ | 186 | bug if it is detected. */ |
| 187 | if (! (t.tv_sec && 0 <= t.tv_nsec && t.tv_nsec < 1000000000)) | 187 | if (! (t.tv_sec && 0 <= t.tv_nsec && t.tv_nsec < 1000000000)) |