Subject: Re: XFree86 2.1 and new stuff
To: Paul Kranenburg <pk@cs.few.eur.nl>
From: None <Mark_Weaver@brown.edu>
List: current-users
Date: 04/08/1994 15:33:59
> > ! 		ftruncate(fileno(tmpfd), (off_t)0);
> 
> Why not include include the proper prototypes and let the compiler do all
> the mirky casting? This will keep down the number and size of patches required.

I agree.  However, when trying to get things changed in the core
release by the X Consortium, I've learned to prefer *minimal* patches.
There is another place in the same file where the XC explicitly casts
the second param of ftruncate to (off_t), so I decided to go with
their way.

I'd never do this in my own code.

	Mark
--------------------------------------------------------------------
Email: Mark_Weaver@brown.edu           | Brown University
PGP Key: finger mhw@cs.brown.edu       | Dept of Computer Science

------------------------------------------------------------------------------