[strongtalk] r199 committed - Use strcpy rather than asString to convert Alien to String in currentD...

1 view
Skip to first unread message

codesite...@google.com

unread,
Dec 31, 2009, 2:09:05 PM12/31/09
to strongta...@googlegroups.com
Revision: 199
Author: StephenLRees
Date: Thu Dec 31 11:03:03 2009
Log: Use strcpy rather than asString to convert Alien to String in
currentDirectory
http://code.google.com/p/strongtalk/source/detail?r=199

Modified:
/branches/gcc-linux/StrongtalkSource/UnixFilePath.dlt

=======================================
--- /branches/gcc-linux/StrongtalkSource/UnixFilePath.dlt Thu Dec 31
10:59:55 2009
+++ /branches/gcc-linux/StrongtalkSource/UnixFilePath.dlt Thu Dec 31
11:03:03 2009
@@ -26,7 +26,7 @@
with: buflen.
result asUnsignedLong = 0
ifTrue: [self error: 'Unable to get current directory']
- ifFalse: [self new pattern: buf asString ]
+ ifFalse: [self for: buf strcpy ]
] ensure: [ buf free ]!

currentDirectory: file <FilePath>

Reply all
Reply to author
Forward
0 new messages