Changeset View
Changeset View
Standalone View
Standalone View
devel/distcc/files/patch-src_dparent.c
--- src/dparent.c.orig 2008-12-02 23:17:13 UTC | --- src/dparent.c.orig 2018-07-27 05:08:29 UTC | ||||
+++ src/dparent.c | +++ src/dparent.c | ||||
@@ -308,6 +308,9 @@ static void dcc_save_pid(pid_t pid) | @@ -321,6 +321,9 @@ static void dcc_save_pid(pid_t pid) | ||||
**/ | **/ | ||||
void dcc_remove_pid(void) | void dcc_remove_pid(void) | ||||
{ | { | ||||
+ /* distcc user, we are running as, cannot delete files in /var/run | + /* distcc user, we are running as, cannot delete files in /var/run | ||||
+ */ | + */ | ||||
+#if 0 | +#if 0 | ||||
if (!arg_pid_file) | if (!arg_pid_file) | ||||
return; | return; | ||||
@@ -315,6 +318,7 @@ void dcc_remove_pid(void) | @@ -330,6 +333,7 @@ void dcc_remove_pid(void) | ||||
rs_log_warning("failed to remove pid file %s: %s", | rs_log_warning("failed to remove pid file %s: %s", | ||||
arg_pid_file, strerror(errno)); | arg_pid_file, strerror(errno)); | ||||
} | } | ||||
+#endif | +#endif | ||||
} | } | ||||