Re: [PATCH] Re: [ID 20010105.002] close() on process filehandle leaves defunct process
Radu Greab [Sun, 7 Jan 2001 03:16:55 +0000 (05:16 +0200)]
Message-ID: <14935.50055.838449.408835@ix.netsoft.ro>

No need for the potentially nonportable $SIG{CHLD}.

p4raw-id: //depot/perl@8361

t/io/pipe.t

index 24c5d76..5008325 100755 (executable)
@@ -188,7 +188,6 @@ $? = 0;
 
 # check that child is reaped if the piped program can't be executed
 {
-  local $SIG{CHLD} = 'DEFAULT';
   open NIL, '/no_such_process |';
   close NIL;