aboutsummaryrefslogtreecommitdiff
path: root/docs/src
diff options
context:
space:
mode:
authorJuan José <soyjuanarbol@gmail.com>2024-12-13 15:30:17 -0500
committerGitHub <noreply@github.com>2024-12-13 15:30:17 -0500
commitacebb97490a2ed6cacbdab7049d4c15c78022f6b (patch)
treef584b8897be8383fc76a74e86d2de53fbf45124a /docs/src
parent88201044ed7432ecd69fc6de6947d76f207bc3bb (diff)
downloadlibuv-acebb97490a2ed6cacbdab7049d4c15c78022f6b.tar.gz
libuv-acebb97490a2ed6cacbdab7049d4c15c78022f6b.zip
test: address FreeBSD kernel bug causing NULL path in fsevents (#4649)
This commit documents a FreeBSD kernel issue where uv_fs_event can receive a NULL filename and updates test-fs-event.c to skip filename assertions on FreeBSD. * Bugzilla: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197695 Refs: https://github.com/libuv/libuv/issues/4606 Signed-off-by: Juan José Arboleda <soyjuanarbol@gmail.com>
Diffstat (limited to 'docs/src')
-rw-r--r--docs/src/fs_event.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/src/fs_event.rst b/docs/src/fs_event.rst
index 983db1a9..bfdecdd7 100644
--- a/docs/src/fs_event.rst
+++ b/docs/src/fs_event.rst
@@ -47,6 +47,11 @@ Data types
The `events` parameter is an ORed mask of :c:enum:`uv_fs_event` elements.
+.. note::
+ For FreeBSD path could sometimes be `NULL` due to a kernel bug.
+
+ .. _Reference: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197695
+
.. c:enum:: uv_fs_event
Event types that :c:type:`uv_fs_event_t` handles monitor.