]> Savannah Git Hosting - gnulib.git/commit
utimens: On native Windows, support 100ns resolution also if fd < 0.
authorBruno Haible <bruno@clisp.org>
Sun, 7 May 2017 19:50:30 +0000 (21:50 +0200)
committerBruno Haible <bruno@clisp.org>
Mon, 8 May 2017 09:59:00 +0000 (11:59 +0200)
commit26d566787603c3469760670613f34aab760ec6f3
tree40cf489becb86f7f854856ea8af8c0b103d9c9a0
parentdf46bfb995b3cbd33ecfe5be088b83dbf9064f51
utimens: On native Windows, support 100ns resolution also if fd < 0.

* lib/utime.in.h: Include <time.h>.
(_gl_utimens_windows): New declaration.
* lib/utime.c (_gl_utimens_windows): New function, based on utime.
(utime): Invoke it.
* lib/utimens.c (fdutimens): On native Windows, call _gl_utimens_windows
instead of utime.
* modules/utime (Depends-on): Add 'time'.
ChangeLog
lib/utime.c
lib/utime.in.h
lib/utimens.c
modules/utime