Re: Bug in Vector.contains() (Was: 'cd' command with filesystem)

Shawn Silverman <[email protected]>
Newsgroups gmane.comp.hardware.microcontrollers.tini
Message-ID <[email protected]>
Hello.  I found the problem.  "Vector.contains(name)" returns 'false' 
while "myVector.get(name) != null" returns 'true'.  Could this be a bug 
in Vector.contains()?

Thanks,
	-Shawn

On 16-Feb-04, at 1:37 PM, Lorne Smith wrote:

> I just tested the cd command with the NetworkFileSystem example (App. 
> Note
> 709) and it works fine.  Check your driver code for the following 
> functions:
>
> public boolean exists(String fileName)
> public boolean isDirectory(String fileName)
> public boolean canRead(String fileName, byte uid)
>
> Each will be called with an empty string as the fileName parameter.  
> If any
> of these return false, you will not be able to complete the cd command.
> This gives the driver a chance to grant or deny access to mount point 
> as
> needed.
>
> --Lorne

_______________________________________________
TINI mailing list
TINI-6tN4nzCoH/[email protected]
To UNSUBSCRIBE, edit your profile, or see list archives:
http://lists.dalsemi.com/mailman/listinfo/tini
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.