Mercurial > hg > octave-shane > gnulib-hg
comparison NEWS @ 12160:d0732ed2dd55
utimens: add UTIME_NOW and UTIME_OMIT support
These flags make it possible to implement futimens and utimensat;
they also make touch(1) more efficient, by avoiding stat or
gettime if native utimensat works.
* lib/utimens.c (validate_timespec, update_timespec): New helper
functions.
(gl_futimens, lutimens): Use them.
* modules/utimens (Depends-on): Add gettime, lstat, stat-time,
stdbool, sys_stat.
(Link): Mention resulting library dependency.
* modules/utimecmp (Link): Likewise.
* modules/utimens-tests (Depends-on): Drop stat-time, stdbool.
(Makefile.am): Pick up library dependency.
* lib/sys_stat.in.h (UTIME_NOW, UTIME_OMIT): Guarantee a
definition.
* tests/test-sys_stat.c: Test the definitions.
* doc/posix-headers/sys_stat.texi (sys/stat.h): Document this.
* NEWS: Document library dependency.
Signed-off-by: Eric Blake <ebb9@byu.net>
author | Eric Blake <ebb9@byu.net> |
---|---|
date | Wed, 07 Oct 2009 16:05:34 -0600 |
parents | 1a57a12a6e7f |
children | 9f6203fafed5 |
comparison
equal
deleted
inserted
replaced
12159:0ae159ba1adf | 12160:d0732ed2dd55 |
---|---|
3 | 3 |
4 User visible incompatible changes | 4 User visible incompatible changes |
5 --------------------------------- | 5 --------------------------------- |
6 | 6 |
7 Date Modules Changes | 7 Date Modules Changes |
8 | |
9 2009-10-10 utimens The use of this module now requires linking with | |
10 $(LIB_CLOCK_GETTIME). | |
8 | 11 |
9 2009-09-16 canonicalize-lgpl | 12 2009-09-16 canonicalize-lgpl |
10 The include file is changed from "canonicalize.h" | 13 The include file is changed from "canonicalize.h" |
11 to <stdlib.h>. | 14 to <stdlib.h>. |
12 | 15 |