Update of /cvsroot/squeak/squeak/platforms/Cross/plugins/FilePlugin
In directory usw-pr-cvs1:/tmp/cvs-serv16925/platforms/Cross/plugins/FilePlugin
Modified Files:
sqFilePluginBasicPrims.c
Log Message:
remove extraneous 'fileno()' from use of sqFTruncate - it's already in the macro. Unsure how it ever comiled...
Index: sqFilePluginBasicPrims.c
===================================================================
RCS file: /cvsroot/squeak/squeak/platforms/Cross/plugins/FilePlugin/sqFilePluginBasicPrims.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** sqFilePluginBasicPrims.c 31 Jan 2002 21:15:33 -0000 1.5
--- sqFilePluginBasicPrims.c 23 Apr 2002 22:37:31 -0000 1.6
***************
*** 256,260 ****
if (!sqFileValid(f)) return interpreterProxy->success(false);
! if (sqFTruncate(fileno(f->file),offset)) {
return interpreterProxy->success(false);
}
--- 256,260 ----
if (!sqFileValid(f)) return interpreterProxy->success(false);
! if (sqFTruncate(f->file,offset)) {
return interpreterProxy->success(false);
}
|