This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: [PATCH] java.io.FileDescriptor
- From: "Ranjit Mathew" <rmathew4lists at hotmail dot com>
- To: "Michael Koch" <konqueror at gmx dot de>,<java-patches at gcc dot gnu dot org>
- Date: Thu, 27 Feb 2003 18:26:06 +0530
- Subject: Re: [PATCH] java.io.FileDescriptor
- References: <200302271121.55837.konqueror@gmx.de>
- Reply-to: "Ranjit Mathew" <rmathew at hotmail dot com>
> 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.