This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Bogosity in jcf-path.c
- From: Tom Tromey <tromey at redhat dot com>
- To: Andrew Haley <aph at redhat dot com>
- Cc: java at gcc dot gnu dot org
- Date: 28 Nov 2003 12:13:08 -0700
- Subject: Re: Bogosity in jcf-path.c
- References: <200311281821.hASILdJt021143@cuddles.cambridge.redhat.com>
- Reply-to: tromey at redhat dot com
>>>>> "Andrew" == Andrew Haley <aph@redhat.com> writes:
Andrew> So, we compare the filename to blah.zip and conclude that it's a
Andrew> zipfile. But what if blah.zip is a directory? Surely we need to open
Andrew> the file and test for the magic value.
Yeah, that would make sense.
Tom