[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug classpath/31927] gnu_java_nio_VMChannel.c(available) does not work
From: |
csm at gnu dot org |
Subject: |
[Bug classpath/31927] gnu_java_nio_VMChannel.c(available) does not work for FreeBSD |
Date: |
14 May 2007 23:27:15 -0000 |
------- Comment #1 from csm at gnu dot org 2007-05-15 00:27 -------
It should work for sockets, but not files, right? Does it work on pipes?
It might be better to redefine available() for files as (file.length -
file.pos).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31927