(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.10 and 1.11

version 1.10, 2008/02/05 19:59:40 version 1.11, 2008/02/06 20:50:45
Line 323 
Line 323 
  
         if (pid == 0)         if (pid == 0)
         {         {
             char arg1[32];              char toPipeArg[32];
             char arg2[32];              char fromPipeArg[32];
               /* The user context is set here; no need to do it in cimprovagt. */
               const char* setUserContextFlag = "0";
  
             /* Close unused pipe descriptors: */             /* Close unused pipe descriptors: */
  
Line 356 
Line 358 
  
             /* Exec the CIMPROVAGT program. */             /* Exec the CIMPROVAGT program. */
  
             sprintf(arg1, "%d", to[0]);              sprintf(toPipeArg, "%d", to[0]);
             sprintf(arg2, "%d", from[1]);              sprintf(fromPipeArg, "%d", from[1]);
  
             Log(LL_TRACE, "execl(%s, %s, %s, %s, %s)\n",              Log(LL_TRACE, "execl(%s, %s, %s, %s, %s, %s, %s)\n",
                 path, path, arg1, arg2, request.module);                  path,
                   path,
                   setUserContextFlag,
                   toPipeArg,
                   fromPipeArg,
                   request.userName,
                   request.module);
  
             /* Flawfinder: ignore */             /* Flawfinder: ignore */
             execl(path, path, arg1, arg2, request.module, (char*)0);              execl(
                   path,
             Log(LL_SEVERE, "execl(%s, %s, %s, %s, %s): failed\n",                  path,
                 path, path, arg1, arg2, request.module);                  setUserContextFlag,
                   toPipeArg,
                   fromPipeArg,
                   request.userName,
                   request.module,
                   (char*)0);
   
               Log(LL_SEVERE, "execl(%s, %s, %s, %s, %s, %s, %s): failed\n",
                   path,
                   path,
                   setUserContextFlag,
                   toPipeArg,
                   fromPipeArg,
                   request.userName,
                   request.module);
             _exit(1);             _exit(1);
         }         }
     }     }


Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2