Return to child.c CVS log | Up to [local] / src / usr.bin / rdist |
version 1.7, 1998/06/26 21:20:58 | version 1.8, 1999/02/04 23:18:56 | ||
---|---|---|---|
|
|
||
newc = (CHILD *) xmalloc(sizeof(CHILD)); | newc = (CHILD *) xmalloc(sizeof(CHILD)); | ||
newc->c_name = strdup(child->c_name); | newc->c_name = xstrdup(child->c_name); | ||
newc->c_readfd = child->c_readfd; | newc->c_readfd = child->c_readfd; | ||
newc->c_pid = child->c_pid; | newc->c_pid = child->c_pid; | ||
newc->c_state = child->c_state; | newc->c_state = child->c_state; |