[PATCH] java.io.FileDescriptor

Ranjit Mathew rmathew4lists@hotmail.com
Thu Feb 27 12:54:00 GMT 2003


> This patch adds a truncate method to java.io.FileDescriptor. Its 
> currently "implemented" for Ecos and Posix. The windows people should 
> implement it for win32. The stub is there.

Questions:

1. why can't you use the current java::io::FileDescriptor::setLength( ) 
   method?

2. should you not protect the use of ftruncate( ) with a 
   "#ifdef HAVE_FTRUNCATE"?

Ranjit.



More information about the Java-patches mailing list