[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: FYI: Patch: file stuff
From: |
Michael Koch |
Subject: |
Re: FYI: Patch: file stuff |
Date: |
Sun, 11 Jan 2004 19:22:05 +0100 |
User-agent: |
Mutt/1.3.28i |
On Sun, Jan 11, 2004 at 12:04:30PM -0600, Archie Cobbs wrote:
> Michael Koch wrote:
> > I wanna start a new trend on this mailing list now. I wanna ask for
> > approving
> > the attached patch. This patch fixes two bugs with files.
> >
> > 1) java.io.File.list() uses an internal method called listInternal(). This
> > methods returns null in the error case. list() now converts this to a
> > String[0] array which is similar to an empty directory. This behaviour is
> > incorrect. We should return the null in the error case.
> >
> > 2) Java_java_io_File_listInternal doest release local references to a newly
> > created string. This patch fixes this.
>
> FYI,
> I already reported #2 as bug #6989:
>
> https://savannah.gnu.org/bugs/?func=detailitem&item_id=6989
>
> Please close the bug if you commit your fix.
I found this change in a post on the mailing list but I forgot to look
into BTS. Sorry.
Michael