[FIX] FileDirectory-directory-existence-fix-ac

andrew at beta4.com andrew at beta4.com
Wed Feb 4 22:26:13 UTC 2004


from preamble:

Change Set:		FileDirectory-directory-existence-fixes-ac
Date:			4 February 2004
Author:			Andrew Catton
			
Fixed a problem in testing for directory existence:

- comment in FileDirectory>>directoryExists: claims that this method
works whether it is passed an absolute or a relative pathname, but the
'FileDirectory on: filePath' code, executed when testing for the
existence of a nested directory, assumes an absolute path; changed this
code to 'self directoryNamed: filePath', which will actually work for
both absolute and relative paths
- tested on a unix g2 VM
-------------- next part --------------
A non-text attachment was scrubbed...
Name: FileDirectory-directory-existence-fix-ac.cs.gz
Type: application/octet-stream
Size: 443 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20040204/07332ace/FileDirectory-directory-existence-fix-ac.cs.obj


More information about the Squeak-dev mailing list