Sophie

Sophie

distrib > Fedora > 16 > x86_64 > by-pkgid > e5e33458c838027950f4f02451e9b8f8 > files > 7

make-3.82-8.fc16.src.rpm

diff -up make-3.82/main.c\~ make-3.82/main.c
--- make-3.82/main.c~	2010-08-12 14:59:20.000000000 +0200
+++ make-3.82/main.c	2010-08-12 15:00:07.000000000 +0200
@@ -1756,8 +1756,11 @@ main (int argc, char **argv, char **envp
 
       if (job_slots > 0)
         {
-          close (job_fds[0]);
-          close (job_fds[1]);
+	  if (restarts == 0)
+	    {
+	      close (job_fds[0]);
+	      close (job_fds[1]);
+	    }
           job_fds[0] = job_fds[1] = -1;
           free (jobserver_fds->list);
           free (jobserver_fds);

Diff finished.  Thu Aug 12 15:00:22 2010