Re: utimens: support for native Windows

2017-05-08 Thread Bruno Haible
Oops, I had verified the subsecond resolution support (through Cygwin's 'ls', as "ls -l --full-time") only for the case fd >= 0. For the case fd < 0, this patch adds the subsecond resolution support. 2017-05-07 Bruno Haible utimens: On native Windows, support 100ns resolution also if f

Re: utimens: support for native Windows

2017-05-08 Thread Bruno Haible
A small correction to this new code: 2017-05-07 Bruno Haible utimens: Improve error code on native Windows. * lib/utimens.c (fdutimens): If fd was not opened with O_RDWR, fail with error code EACCES, not EINVAL. diff --git a/lib/utimens.c b/lib/utimens.c index 5f3a846.

utimens: support for native Windows

2017-05-01 Thread Bruno Haible
With this patch, the test suite of utimens and fdutimens passes on native Windows (mingw and MSVC 14). Some tests say "SKIP" rather than "PASS" because symbolic links are not supported (just cosmetics). 2017-04-30 Bruno Haible utimens: Add support for native Windows. * lib/uti