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
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@smalltalkconsulting.com 1-800-477-2659 Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com ======================================================================== ===
squeak-dev@lists.squeakfoundation.org