[BACK]Return to setpgid.c CVS log [TXT][DIR] Up to [local] / prex-old / usr / lib / posix / process

Diff for /prex-old/usr/lib/posix/process/setpgid.c between version 1.1.1.1 and 1.1.1.1.2.1

version 1.1.1.1, 2008/06/03 10:38:50 version 1.1.1.1.2.1, 2008/08/13 17:12:40
Line 41 
Line 41 
 {  {
         struct msg m;          struct msg m;
   
         if (pgid < 0) {  
                 errno = EINVAL;  
                 return -1;  
         }  
         m.hdr.code = PS_SETPGID;          m.hdr.code = PS_SETPGID;
         m.data[0] = pid ? pid : getpid();          m.data[0] = pid;
         m.data[1] = pgid ? pgid : m.data[0];          m.data[1] = pgid;
         return __posix_call(__proc_obj, &m, sizeof(m), 1);          return __posix_call(__proc_obj, &m, sizeof(m), 1);
 }  }

Legend:
Removed from v.1.1.1.1  
changed lines
  Added in v.1.1.1.1.2.1

CVSweb