3efd835468
Uses tcp ipc since SysV ipc is not available on most devices. Requested in: https://github.com/termux/termux-packages/issues/2915
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:11:53.263620010 +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);
|
|
|