[squeak-dev] Why would (Unix)FileDirectory class>>#checkName:fixErrors: mangle a correctly formatted file path/name?
tim Rowledge
tim at rowledge.org
Thu Nov 23 01:57:59 UTC 2017
At least, UnixFileDirectory seems to -
'/home/pi/Squeak/Senders of printPSToFileNamed:.ps’ asFileName
results in '#home#pi#Squeak#Senders of printPSToFileNamed:.ps’, which seems very odd. Surely if you have a string that is a correct filename returned by some other code that carefully makes such, then #asFileName etc ought to return the same (or even the original) string?
tim
--
tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
If you never try anything new, you'll miss out on many of life's great disappointments
More information about the Squeak-dev
mailing list
|