This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] java.io.FileDescriptor


> 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]