You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Notable changes:
- uv_metrics_idle_time() and UV_METRICS_IDLE_TIME have been added
for measuring the amount of time the event loop spends idle.
- uv_udp_using_recvmmsg() has been added to determine if a buffer
is large enough for multiple datagrams should be allocated in
the allocation callback of uv_udp_recvstart().
- On MinGW, the installation location has been updated to match
Unix systems rather than Windows.
- uv_fs_copyfile() now tries to use copy_file_range() when
possible.
- The test suite is now reported to pass on Darwin ARM64 (Apple
Silicon).
- uv_{get,set}_process_title() now returns an error on platforms
where uv_setup_args() is required, but has not yet been called.
- The _POSIX_PATH_MAX constant is no longer used, which could
lead to buffer overflows in uv_fs_readlink() and
uv_fs_realpath().
PR-URL: #34915
Reviewed-By: Jiawen Geng <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Gireesh Punathil <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: Trivikram Kamat <[email protected]>
Reviewed-By: David Carlier <[email protected]>
Reviewed-By: Ben Noordhuis <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Beth Griggs <[email protected]>
Copy file name to clipboardexpand all lines: deps/uv/docs/src/fs.rst
+4-4
Original file line number
Diff line number
Diff line change
@@ -58,7 +58,7 @@ Data types
58
58
uv_timespec_t st_birthtim;
59
59
} uv_stat_t;
60
60
61
-
.. c:type:: uv_fs_type
61
+
.. c:enum:: uv_fs_type
62
62
63
63
File system request type.
64
64
@@ -122,7 +122,7 @@ Data types
122
122
uint64_t f_spare[4];
123
123
} uv_statfs_t;
124
124
125
-
.. c:type::uv_dirent_t
125
+
.. c:enum::uv_dirent_t
126
126
127
127
Cross platform (reduced) equivalent of ``struct dirent``.
128
128
Used in :c:func:`uv_fs_scandir_next`.
@@ -535,8 +535,8 @@ Helper functions
535
535
536
536
For a OS-dependent handle, get the file descriptor in the C runtime.
537
537
On UNIX, returns the ``os_fd`` intact. On Windows, this calls `_open_osfhandle <https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/open-osfhandle?view=vs-2019>`_.
538
-
Note that the return value is still owned by the CRT,
539
-
any attempts to close it or to use it after closing the handle may lead to malfunction.
538
+
Note that this consumes the argument, any attempts to close it or to use it
539
+
after closing the return value may lead to malfunction.
0 commit comments