Fix port
This commit is contained in:
@ -60,15 +60,6 @@ diff -Naurp a/source3/include/proto.h b/source3/include/proto.h
|
||||
diff -Naurp a/source3/lib/system.c b/source3/lib/system.c
|
||||
--- a/source3/lib/system.c 2024-08-05 20:40:38.434801000 -0400
|
||||
+++ b/source3/lib/system.c 2024-08-05 20:41:16.625938000 -0400
|
||||
@@ -1058,7 +1058,7 @@ bool sys_have_proc_fds(void)
|
||||
return have_proc_fds;
|
||||
}
|
||||
|
||||
- ret = stat("/proc/self/fd/0", &sb);
|
||||
+ ret = stat(PROC_FD_PATH_MKSTR(0), &sb);
|
||||
have_proc_fds = (ret == 0);
|
||||
checked = true;
|
||||
|
||||
@@ -1068,7 +1068,7 @@ char *sys_proc_fd_path(int fd, struct sys_proc_fd_path
|
||||
char *sys_proc_fd_path(int fd, struct sys_proc_fd_path_buf *buf)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user