[jcifs] Bug in deleting an empty directory

Rick Wessman zopilote515 at yahoo.com
Thu Jul 15 13:13:26 GMT 2004


I've encountered a minor bug when deleting a directory
tree where the last element is an empty directory.

If the directory is empty, listFiles("*", ...) throws
an exception because the file "*" does not exist.

To get around this, this exception should be ignored.

The patch is attached.


Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SmbFile.java.0.9.5.diff
Type: text/x-patch
Size: 1605 bytes
Desc: SmbFile.java.0.9.5.diff
Url : http://lists.samba.org/archive/jcifs/attachments/20040715/997103a1/SmbFile.java.0.9.5.bin

More information about the jcifs mailing list