[or-cvs] question for nick about daemonizing

Roger Dingledine arma at seul.org
Wed Jun 18 05:52:34 UTC 2003


Update of /home/or/cvsroot/src/or
In directory moria.mit.edu:/home/arma/work/onion/cvs/src/or

Modified Files:
	main.c 
Log Message:
question for nick about daemonizing


Index: main.c
===================================================================
RCS file: /home/or/cvsroot/src/or/main.c,v
retrieving revision 1.69
retrieving revision 1.70
diff -u -d -r1.69 -r1.70
--- main.c	17 Jun 2003 22:18:26 -0000	1.69
+++ main.c	18 Jun 2003 05:52:32 -0000	1.70
@@ -783,7 +783,7 @@
   umask(000);
 
   fclose(stdin);
-  fclose(stdout);
+  fclose(stdout); /* XXX Nick: this closes our log, right? is it safe to leave this open? */
   fclose(stderr);
 }
 



More information about the tor-commits mailing list