]> granicus.if.org Git - php/commitdiff
Ugh
authorRasmus Lerdorf <rasmus@php.net>
Thu, 1 Aug 2002 15:51:56 +0000 (15:51 +0000)
committerRasmus Lerdorf <rasmus@php.net>
Thu, 1 Aug 2002 15:51:56 +0000 (15:51 +0000)
ext/standard/exec.c

index e0d9b2921dc3ecc88e6922a80fd64f6c22fc88ff..532a1bb3f15afc651a4c2120107db3f66c71d699 100644 (file)
@@ -567,7 +567,7 @@ static void proc_open_rsrc_dtor(zend_rsrc_list_entry *rsrc TSRMLS_DC)
 
        do {
                wait_pid = waitpid(child, &wstatus, 0);
-       } while (wait_pid == -1 && errno = EINTR);
+       } while (wait_pid == -1 && errno == EINTR);
        
        if (wait_pid == -1)
                FG(pclose_ret) = -1;