Closed GoogleCodeExporter closed 9 years ago
A work-around is to configure with
./configure --disable-Werror
Original comment by fer...@google.com
on 5 Mar 2012 at 7:02
Thanks! Would be great if you could fix that by default!
Original comment by thopie...@gmail.com
on 5 Mar 2012 at 7:09
Here's a patch. Can you please review it and let me know if it looks good to
you?
Index: src/zeroconf.c
===================================================================
--- src/zeroconf.c (revision 755)
+++ src/zeroconf.c (working copy)
@@ -598,8 +598,11 @@
setsid();
#endif
- chdir("/");
+ int ret = chdir("/");
rs_add_logger(rs_logger_syslog, RS_LOG_DEBUG, NULL, 0);
+ if (ret != 0) {
+ rs_log_warning("chdir to '/' failed: %s", strerror(errno));
+ }
_exit(daemon_proc(host_file, lock_file, n_slots));
}
Original comment by fer...@google.com
on 6 Mar 2012 at 6:45
I went ahead and commit the patch. Fixed in revision 757.
Original comment by fergus.h...@gmail.com
on 4 Apr 2012 at 6:59
Original comment by fergus.h...@gmail.com
on 4 Apr 2012 at 6:59
Original issue reported on code.google.com by
thopie...@gmail.com
on 4 Mar 2012 at 7:00