Bug#485107: Don't close file descriptors 0, 1 and 2 before starting

micasad. Mono gives problem with this.
This commit is contained in:
S Rahul 2009-04-22 16:54:46 +00:00
parent 9327d9b56c
commit d4c128e677

View File

@ -29,11 +29,6 @@ main(int argc, char *argv[])
/* Set the file mode creation mask */ /* Set the file mode creation mask */
umask(022); umask(022);
/* Close the associated standard file descriptors */
close(STDIN_FILENO);
close(STDOUT_FILENO);
close(STDERR_FILENO);
/* Start micasad */ /* Start micasad */
return execv ("/usr/bin/mono", argv); return execv ("/usr/bin/mono", argv);
} }