On Thu, May 02, 2002 at 05:48:25AM -0400, Steven Edwards wrote:
I don't know if this will cause any problems for other platforms but it works here. Of course so did my last dirty hack so can someone point out a better way? According to http://www.delorie.com/djgpp/doc/libc/libc_95.html if the system has ftruncate it just calls it.
If this isnt cool then would the configure check work here to #define ftruncate chsize?
This function does not exist on Linux/libc. Add an autoconf check or something.
Ciao, Marcus