1
0
mirror of https://github.com/libuv/libuv synced 2025-03-28 21:13:16 +00:00
Ben Noordhuis 85b526f56a
unix,win: accept NAN/INFINITY as file timestamps (#4702)
Extend uv_fs_utime, uv_fs_futime and uv_fs_lutime to accept NAN and
INFINITY, with NAN meaning "don't touch the timestamp" and INFINITY
meaning "set to the current timestamp."

Ugly, but it avoids having to add uv_fs_utime2, etc.

UV_FS_UTIME_NOW and UV_FS_UTIME_OMIT constants have been added to make
it more palatable.

Fixes: https://github.com/libuv/libuv/issues/4665
2025-02-21 23:08:15 +01:00
..
2024-12-16 09:01:15 +01:00
2020-03-27 23:51:32 +01:00
2024-09-17 21:30:24 +02:00
2011-04-19 04:47:21 +02:00
2011-04-19 04:47:21 +02:00
2024-08-05 17:15:53 -04:00