(file) Return to Parent.c CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Executor

Diff for /pegasus/src/Executor/Parent.c between version 1.7.4.5 and 1.7.4.6

version 1.7.4.5, 2008/07/02 17:00:10 version 1.7.4.6, 2008/11/19 01:06:20
Line 322 
Line 322 
  
         if (pipe(from) != 0)         if (pipe(from) != 0)
         {         {
               close(to[0]);
               close(to[1]);
             status = -1;             status = -1;
             break;             break;
         }         }
Line 333 
Line 335 
         if (pid < 0)         if (pid < 0)
         {         {
             Log(LL_SEVERE, "fork failed");             Log(LL_SEVERE, "fork failed");
               close(to[0]);
               close(to[1]);
               close(from[0]);
               close(from[1]);
             status = -1;             status = -1;
             break;             break;
         }         }
Line 409 
Line 415 
                 request.module);                 request.module);
             _exit(1);             _exit(1);
         }         }
     }  
     while (0);  
  
     /* Close unused pipe descriptors. */          /* We are the parent process.  Close the child's ends of the pipes. */
  
     close(to[0]);     close(to[0]);
     close(from[1]);     close(from[1]);
       }
       while (0);
  
     /* Send response. */     /* Send response. */
  


Legend:
Removed from v.1.7.4.5  
changed lines
  Added in v.1.7.4.6

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2