This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
buffer flushing?
- From: Adam Megacz <gcj at lists dot megacz dot com>
- To: java at gcc dot gnu dot org
- Date: 27 May 2002 20:47:15 -0700
- Subject: buffer flushing?
- Organization: Myself
java.io.OutputStream.flush() does nothing
java.io.FileOutputStream.flush() is not defined
Win32 buffers all non-console file descriptors. I need to ensure that
FileDescriptor.sync() is called when FileOutputStream.flush() is
called.
What is the best way to deal with this? Should I submit a patch to add
this?
FileOutputStream.flush() { fd.sync(); }
- a
--
Do you think web browsers make poor user interfaces?
www.xwt.org