[brlcad-commits] SF.net SVN: brlcad:[56285] brlcad/trunk/src/libfb/if_ogl.c
Open Source Solid Modeling CAD
Brought to you by:
brlcad
From: <br...@us...> - 2013-07-28 15:30:26
|
Revision: 56285 http://sourceforge.net/p/brlcad/code/56285 Author: brlcad Date: 2013-07-28 15:30:23 +0000 (Sun, 28 Jul 2013) Log Message: ----------- inactive code for far too long, need a general interface for forking Modified Paths: -------------- brlcad/trunk/src/libfb/if_ogl.c Modified: brlcad/trunk/src/libfb/if_ogl.c =================================================================== --- brlcad/trunk/src/libfb/if_ogl.c 2013-07-28 15:14:25 UTC (rev 56284) +++ brlcad/trunk/src/libfb/if_ogl.c 2013-07-28 15:30:23 UTC (rev 56285) @@ -1189,35 +1189,6 @@ SGI(ifp)->mi_parent = bu_process_id(); signal(SIGUSR1, sigkid); - -#if 0 - if ((f = fork()) != 0) { - /* Parent process */ - int k; - int f; - int status; - - /* parent doesn't need these any more */ - for (k=0; k < 20; k++) { - close(k); - } - - /* - * Wait until the child dies, of whatever cause, - * or until the child kills us. - * Pretty vicious, this computer society. - */ - while ((k = wait(&status)) != -1 && k != f) - ; /* NULL */ - - exit(0); - /* NOTREACHED */ - } else if (f < 0) { - fb_log("fb_ogl_open: linger-mode fork failure\n"); - return -1; - } - /* Child Process falls through */ -#endif } /* use defaults if invalid width and height specified */ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |