diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2007-03-27 18:51:17 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2007-03-27 18:51:17 +0000 |
commit | b11bca01075e21c9da564227c61e482fe3410dd3 (patch) | |
tree | 93de7c3d06ee88a5be7bc923155eb53fe5bc414f /ChangeLog | |
parent | fb2f5965e0863b2c8df0e148eb1ad02ec2079817 (diff) | |
download | gnulib-b11bca01075e21c9da564227c61e482fe3410dd3.tar.gz |
* lib/stat-time.h (USE_BIRTHTIME): Remove.
(get_stat_atime_ns, get_stat_ctime_ns, get_stat_mtime_ns):
(get_stat_birthtime_ns): Do not try to use "spare" fields.
(get_stat_birthtime_ns): Simplify compile-time tests.
(get_stat_birthtime): Change the API to look like
get_stat_mtime etc., except return a negative tv_nsec on error.
* m4/stat-time.m4 (gl_STAT_TIME, gl_STAT_BIRTHTIME):
Don't check for "spare" fields.
(gl_STAT_BIRTHTIME): Don't check for struct stat.st_birthtimespec.tv_sec
or for struct stat.st_birthtime, as these tests aren't used.
* tests/test-stat-time.c (test_birthtime): Adjust to new API.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -1,3 +1,17 @@ +2007-03-27 Paul Eggert <eggert@cs.ucla.edu> + + * lib/stat-time.h (USE_BIRTHTIME): Remove. + (get_stat_atime_ns, get_stat_ctime_ns, get_stat_mtime_ns): + (get_stat_birthtime_ns): Do not try to use "spare" fields. + (get_stat_birthtime_ns): Simplify compile-time tests. + (get_stat_birthtime): Change the API to look like + get_stat_mtime etc., except return a negative tv_nsec on error. + * m4/stat-time.m4 (gl_STAT_TIME, gl_STAT_BIRTHTIME): + Don't check for "spare" fields. + (gl_STAT_BIRTHTIME): Don't check for struct stat.st_birthtimespec.tv_sec + or for struct stat.st_birthtime, as these tests aren't used. + * tests/test-stat-time.c (test_birthtime): Adjust to new API. + 2007-03-27 Bruno Haible <bruno@clisp.org> * lib/stat-time.h: Include <sys/stat.h>. |