--- ray/src/hd/rholo2l.c 1997/12/12 18:09:49 3.10 +++ ray/src/hd/rholo2l.c 2003/02/22 02:07:25 3.12 @@ -1,9 +1,6 @@ -/* Copyright (c) 1997 Silicon Graphics, Inc. */ - #ifndef lint -static char SCCSid[] = "$SunId$ SGI"; +static const char RCSid[] = "$Id: rholo2l.c,v 3.12 2003/02/22 02:07:25 greg Exp $"; #endif - /* * Routines for local rtrace execution */ @@ -77,6 +74,7 @@ start_rtrace() /* start rtrace process */ if (!(maxqlen = n)) error(INTERNAL, "bad pipe buffer size assumption"); + sleep(2); } else if (n != maxqlen) error(INTERNAL, "varying pipe buffer size!"); rmaxpack += n; @@ -317,7 +315,7 @@ end_rtrace() /* close rtrace process(es) */ if (rv > 0) status = rv; } - free((char *)rtbuf); + free((void *)rtbuf); rtbuf = NULL; maxqlen = 0; return(status);