Differential D48313 Diff 148933 net/samba419/files/0100-Fix-pathref-handling-for-FreeBSD-13plus.patch
Changeset View
Changeset View
Standalone View
Standalone View
net/samba419/files/0100-Fix-pathref-handling-for-FreeBSD-13plus.patch
| Show First 20 Lines • Show All 64 Lines • ▼ Show 20 Lines | |||||
| --- source3/lib/system.c 2023-01-18 16:32:24.174553200 +0100 | --- source3/lib/system.c 2023-01-18 16:32:24.174553200 +0100 | ||||
| +++ source3/lib/system.c 2023-06-19 23:35:30.132465000 +0200 | +++ source3/lib/system.c 2023-06-19 23:35:30.132465000 +0200 | ||||
| @@ -1022,6 +1022,8 @@ | @@ -1022,6 +1022,8 @@ | ||||
| } proc_fd_patterns[] = { | } proc_fd_patterns[] = { | ||||
| /* Linux */ | /* Linux */ | ||||
| { "/proc/self/fd/%d", "/proc/self/fd/0" }, | { "/proc/self/fd/%d", "/proc/self/fd/0" }, | ||||
| + /* FreeBSD */ | + /* FreeBSD */ | ||||
| + { "/compat/linux/dev/fd/%d", "/compat/linux/dev/fd/0" }, | + { "/var/run/samba4/fd/%d", "/var/run/samba4/fd/0" }, | ||||
| { NULL, NULL }, | { NULL, NULL }, | ||||
| }; | }; | ||||
| @@ -1077,4 +1079,27 @@ | @@ -1077,4 +1079,27 @@ | ||||
| } | } | ||||
| return buf; | return buf; | ||||
| +} | +} | ||||
| ▲ Show 20 Lines • Show All 404 Lines • Show Last 20 Lines | |||||