Possible bug in 4Dgifts src code

John juancho buchanan buchanan at cs.ubc.ca
Fri Oct 19 02:34:54 AEST 1990


I found this little piece of code in the rct.c file in the libgutil directory

The IBM compiler complained about it and I can see why.

rctcopy(scr,dst)
rct *scr, *dst;
{
     register rct *src, *dst; 

     *dst = *scr;
}

I replaced it with this,  I would assume that this is ok?

rctcopy(scr,dst)
rct *scr, *dst;
{
/*     register rct *src, *dst; */ /* IBM complained about this */

     *dst = *scr;
}
=========================================================================
|					|===============================|
|	John Buchanan (juancho)		|	buchanan at cs.ubc.ca	|
|	Imager Manager			|===============================|
|	Imager				|	(604) 228-2218		|
|	Department of Computer Science	|===============================|
|	University of British Columbia	|	Standard disclaimer	|
|	Vancouver, BC, Canada		|	included in this	|
|					|	box, right here.	|
=========================================================================
	



More information about the Comp.sys.sgi mailing list