Re: XForms: Forking a child (again)

AMIT BHATNAGAR (amit@cs.dal.ca)
Thu, 4 Jun 1998 08:49:14 -0300 (ADT)

# To subscribers of the xforms list from AMIT BHATNAGAR <amit@cs.dal.ca> :

> pid=fork();'
> if (pid = 1)
> {
> /* Child */
> close(ConnectionNumber(dpy));
> somethingelsetobedone;
> }

no, it should be if (pid == 0) /* THEN we are in the child */

_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil or see
http://bob.usuf2.usuhs.mil/mailserv/xforms.html
XForms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/