This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: PATCH: fix buffer overrun in natFile.cc
- To: Tom Tromey <tromey at redhat dot com>
- Subject: Re: PATCH: fix buffer overrun in natFile.cc
- From: Jeff Sturm <jsturm at one-point dot com>
- Date: Thu, 31 May 2001 01:00:54 -0400 (EDT)
- cc: java-patches at gcc dot gnu dot org
On 30 May 2001, Tom Tromey wrote:
> My concern about the branch for this patch isn't whether it causes a
> regression, but instead whether it can be made portable enough,
> quickly enough.
What is "portable enough"? As I understand it, gcj 3.0 is only supported
on Solaris and GNU/Linux right now. I've tested those two. (A really old
glibc might fail, but would probably lose for other reasons anyhow.)
Offhand I don't know any systems with readdir_r and without pathconf.
Also I can't easily test anything without readdir_r. Anyone with a good
newlib-based build want to try it? (Note that the readdir fallback should
really be protected by a mutex. I didn't try to fix that.)
Jeff