Mercurial > hg > octave-nkf > gnulib-hg
changeset 12232:993b8355a1cf
utimens: fix use of futimens on older Linux
Using UTIME_OMIT with non-zero seconds was already worked around
for utimensat, but I missed the futimens case.
* lib/utimens.c (fdutimens): Use updated, rather than original,
timespec to avoid bug in older Linux kernel.
Reported by Simon Josefsson.
Signed-off-by: Eric Blake <ebb9@byu.net>
author | Eric Blake <ebb9@byu.net> |
---|---|
date | Wed, 04 Nov 2009 06:19:23 -0700 |
parents | 03fb041aaee1 |
children | 49e87af14a05 |
files | ChangeLog lib/utimens.c |
diffstat | 2 files changed, 8 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2009-11-04 Eric Blake <ebb9@byu.net> + + utimens: fix use of futimens on older Linux + * lib/utimens.c (fdutimens): Use updated, rather than original, + timespec to avoid bug in older Linux kernel. + Reported by Simon Josefsson. + 2009-11-04 Bruno Haible <bruno@clisp.org> Make num_processors more flexible and consistent.