mirror of
https://github.com/termux/termux-packages.git
synced 2024-12-04 18:45:52 +00:00
13 lines
433 B
Diff
13 lines
433 B
Diff
diff -uNr fakeroot-1.23/faked.c fakeroot-1.23.mod/faked.c
|
|
--- fakeroot-1.23/faked.c 2018-07-01 22:01:34.000000000 +0300
|
|
+++ fakeroot-1.23.mod/faked.c 2018-10-01 17:31:45.172555748 +0300
|
|
@@ -1487,7 +1487,7 @@
|
|
/* literally copied from the linux klogd code, go to background */
|
|
if ((pid=fork()) == 0){
|
|
int fl;
|
|
- int num_fds = getdtablesize();
|
|
+ int num_fds = sysconf(_SC_OPEN_MAX);
|
|
|
|
fflush(stdout);
|
|
|