http://bugzilla.novell.com/show_bug.cgi?id=489019
User [email protected] added comment http://bugzilla.novell.com/show_bug.cgi?id=489019#c27 --- Comment #27 from Rahul S <[email protected]> 2009-04-21 21:37:05 MDT --- The code isn't working even if I don't close the three file descriptors. I used the following main.c file in place of the one in the sample code given in the description of this defect. #include <stdio.h> #include <stdlib.h> #include <unistd.h> main(int argc, char *argv[]) { int rc; rc = daemon(0, 0); if (rc < 0) exit(EXIT_FAILURE); return execl("/usr/bin/mono", "/usr/bin/mono", "Main.exe", NULL); } In this case the output file test-file.log is not created at all. The file is created only if I remove the call to daemon(). -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. You are the assignee for the bug. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
