diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2025-02-21 23:08:15 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-21 23:08:15 +0100 |
commit | 85b526f56ac0ca5e76de5cbc0e1e9452f73a01d5 (patch) | |
tree | fc5ecdc70e38926c2afcf30b40c84aee47d99420 /docs/src/conf.py | |
parent | 8a94b7b2ec23abc57c5a0bf36c808bc6dcc0ce4f (diff) | |
download | libuv-85b526f56ac0ca5e76de5cbc0e1e9452f73a01d5.tar.gz libuv-85b526f56ac0ca5e76de5cbc0e1e9452f73a01d5.zip |
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
Diffstat (limited to 'docs/src/conf.py')
0 files changed, 0 insertions, 0 deletions