comparison libiberty/pex-common.c @ 55:77e2b8dfacca gcc-4.4.5

update it from 4.4.3 to 4.5.0
author ryoma <e075725@ie.u-ryukyu.ac.jp>
date Fri, 12 Feb 2010 23:39:51 +0900
parents a06113de4d67
children f6334be47118
comparison
equal deleted inserted replaced
52:c156f1bd5cd9 55:77e2b8dfacca
158 int in, out, errdes; 158 int in, out, errdes;
159 char *outname; 159 char *outname;
160 int outname_allocated; 160 int outname_allocated;
161 int p[2]; 161 int p[2];
162 int toclose; 162 int toclose;
163 long pid; 163 pid_t pid;
164 164
165 in = -1; 165 in = -1;
166 out = -1; 166 out = -1;
167 errdes = -1; 167 errdes = -1;
168 outname = (char *) orig_outname; 168 outname = (char *) orig_outname;
343 in, out, errdes, toclose, &errmsg, err); 343 in, out, errdes, toclose, &errmsg, err);
344 if (pid < 0) 344 if (pid < 0)
345 goto error_exit; 345 goto error_exit;
346 346
347 ++obj->count; 347 ++obj->count;
348 obj->children = XRESIZEVEC (long, obj->children, obj->count); 348 obj->children = XRESIZEVEC (pid_t, obj->children, obj->count);
349 obj->children[obj->count - 1] = pid; 349 obj->children[obj->count - 1] = pid;
350 350
351 return NULL; 351 return NULL;
352 352
353 error_exit: 353 error_exit: