X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=cbits%2Fsystem.c;h=34a6f238a6ed040975bf9977a861626effcdd31b;hb=bbbe42147fd9666c2c00d7097ac381a3ff437958;hp=3ace591ac047de83f2669604bec7f22fdf9f1c21;hpb=749dfc901df5adfe99c1bd2c2dc84767c6de0b95;p=ghc-base.git diff --git a/cbits/system.c b/cbits/system.c index 3ace591..34a6f23 100644 --- a/cbits/system.c +++ b/cbits/system.c @@ -1,7 +1,7 @@ /* * (c) The University of Glasgow 2002 * - * $Id: system.c,v 1.7 2003/02/04 11:55:54 simonmar Exp $ + * $Id: system.c,v 1.8 2003/07/02 13:27:35 stolz Exp $ * * system Runtime Support */ @@ -37,7 +37,7 @@ systemCmd(HsAddr cmd) switch(pid = fork()) { case -1: - if (errno != EINTR) { + { return -1; } case 0: