[squeak-dev] Copying the sources file

John M McIntosh johnmci at smalltalkconsulting.com
Thu Apr 1 00:52:04 UTC 2010


On 2010-03-31, at 3:59 PM, Levente Uzonyi wrote:

> IMHO #copyFile:toFile: shouldn't exist, it's just a utility method, totally unrelated to FileDirectory. It also assumes that the files are in "ascii" mode which is wrong.
> 
> 
> Levente


+1  In Sophie we replaced this with a primitive to which had the responsibility to ask the operating system to copy the files. 
The complexity of meta-data (security, dates/times, Access lists, stuff) on a *file* make Squeak's desire to copy just the bits rather 1970 ish... 
Oh wait pre that since it doesn't preserve the from file security settings either...


--
===========================================================================
John M. McIntosh <johnmci at smalltalkconsulting.com>   Twitter:  squeaker68882
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
===========================================================================




-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2445 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20100331/7eb2d71f/smime.bin


More information about the Squeak-dev mailing list