truncate fails on unix squeak (on mac)
John M McIntosh
johnmci at smalltalkconsulting.com
Mon May 2 14:12:50 UTC 2005
unix/vm/sqPlatformSpecific.h
#define sqFTruncate(f,o) ftruncate(fileno(f), o)
That looks ok, someone will need to debug it to see why it fails.
On May 2, 2005, at 5:44 AM, Avi Bryant wrote:
> While I'm asking about file primitives: why does #truncate: always
> give a prim failure on the unix VM (at least on Mac OS X)? I've
> tested this with both 3.6-3 and 3.7b-5.
>
> Avi
>
>
>
--
========================================================================
===
John M. McIntosh <johnmci at smalltalkconsulting.com> 1-800-477-2659
Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com
========================================================================
===
More information about the Squeak-dev
mailing list
|