From d4c128e6775cd399e44511142a64113d82f8edec Mon Sep 17 00:00:00 2001 From: S Rahul Date: Wed, 22 Apr 2009 16:54:46 +0000 Subject: [PATCH] Bug#485107: Don't close file descriptors 0, 1 and 2 before starting micasad. Mono gives problem with this. --- CASA/micasad/startup/micasad-init.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/CASA/micasad/startup/micasad-init.c b/CASA/micasad/startup/micasad-init.c index fa60cbdb..2d2929e3 100644 --- a/CASA/micasad/startup/micasad-init.c +++ b/CASA/micasad/startup/micasad-init.c @@ -29,11 +29,6 @@ main(int argc, char *argv[]) /* Set the file mode creation mask */ umask(022); - /* Close the associated standard file descriptors */ - close(STDIN_FILENO); - close(STDOUT_FILENO); - close(STDERR_FILENO); - /* Start micasad */ return execv ("/usr/bin/mono", argv); }