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.


------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to