help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-smalltalk] bug in Directory class>>allFilesMatching:do:


From: Stefan Schmiedl
Subject: [Help-smalltalk] bug in Directory class>>allFilesMatching:do:
Date: Mon, 22 Jun 2009 14:44:13 +0200

diff --git a/kernel/Directory.st b/kernel/Directory.st
index d587da3..99a9fcd 100644
--- a/kernel/Directory.st
+++ b/kernel/Directory.st
@@ -206,7 +206,7 @@ how to use the instances returned by my class methods.'>
     Directory class >> allFilesMatching: aPattern do: aBlock [
        "Invoke #allFilesMatching:do: on the current working directory."
        <category: 'file operations'>
-       (File name: self working) allFilesMatching: aPattern do: aBlock
+       (File name: self working name) allFilesMatching: aPattern do: aBlock
     ]
 
     Directory class >> create: dirName [





reply via email to

[Prev in Thread] Current Thread [Next in Thread]