[brlcad-commits] CVS: brlcad/src/remrt remrt.c, 14.21, 14.22 rtsrv.c, 14.20, 14.21
Open Source Solid Modeling CAD
Brought to you by:
brlcad
From: Sean M. <br...@us...> - 2007-10-22 20:59:54
|
Update of /cvsroot/brlcad/brlcad/src/remrt In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv29943/src/remrt Modified Files: remrt.c rtsrv.c Log Message: the old cray cos and unicos code for the cray xmp and friends finally became a burden to maintain while resolving various flawfinder issues. remove the old code, particularly that which wasn't __STDC__. however, intentionally leave the code for calculating byteoffsets and converting float formats to/from network order .. could still come in handy at some point down the road. Index: remrt.c =================================================================== RCS file: /cvsroot/brlcad/brlcad/src/remrt/remrt.c,v retrieving revision 14.21 retrieving revision 14.22 diff -w -u -r14.21 -r14.22 --- remrt.c 14 Oct 2007 01:17:30 -0000 14.21 +++ remrt.c 22 Oct 2007 20:59:56 -0000 14.22 @@ -2858,10 +2858,6 @@ #ifdef sgi # define RSH "/usr/bsd/rsh" #endif -#if CRAY || m68k -/* m68k: Need this for MAC II under AUX as well */ -# define RSH "/usr/bin/remsh" -#endif #ifndef RSH # define RSH "/usr/ucb/rsh" #endif @@ -3936,15 +3932,6 @@ 0, 0, 0} /* END */ }; -#ifdef CRAY2 -gettimeofday( tvp, tzp ) -struct timeval *tvp; -struct timezone *tzp; -{ - tvp->tv_sec = time( (long *)0 ); - tvp->tv_usec = 0; -} -#endif /* * Local Variables: Index: rtsrv.c =================================================================== RCS file: /cvsroot/brlcad/brlcad/src/remrt/rtsrv.c,v retrieving revision 14.20 retrieving revision 14.21 diff -w -u -r14.20 -r14.21 --- rtsrv.c 15 Sep 2007 16:23:19 -0000 14.20 +++ rtsrv.c 22 Oct 2007 20:59:56 -0000 14.21 @@ -274,11 +274,7 @@ * drop to the lowest sensible priority. */ if( !interactive ) { -#ifdef CRAY - bu_nice_set(6); /* highest "free" priority */ -#else bu_nice_set(19); /* lowest priority */ -#endif } /* Close off the world */ |