/[meta-cvs]/meta-cvs/F-83F0E6A90D5BBCDFB58440970E850925.c
ViewVC logotype

Diff of /meta-cvs/F-83F0E6A90D5BBCDFB58440970E850925.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.4.2.9 by kaz, Fri Feb 21 06:23:08 2003 UTC revision 1.4.2.10 by kaz, Wed Feb 26 03:53:28 2003 UTC
# Line 204  int mcvs_spawn(const char *name, char *c Line 204  int mcvs_spawn(const char *name, char *c
204  {  {
205    int result = -1;    int result = -1;
206    int status = 0;    int status = 0;
207      pid_t child;
208    
209    pid_t child = fork();    mcvs_default_sigchld();
210    
211      child = fork();
212    
213    if (child == -1)    if (child == -1)
214      goto out;      goto out;
215    
216    if (child == 0) {    if (child == 0) {
     mcvs_default_sigchld();  
217      execvp(name, argv);      execvp(name, argv);
218      _exit(EXIT_FAILURE);      _exit(EXIT_FAILURE);
219    }    }

Legend:
Removed from v.1.4.2.9  
changed lines
  Added in v.1.4.2.10

  ViewVC Help
Powered by ViewVC 1.1.5