From: Ian P. <piu...@us...> - 2004-04-17 00:48:17
|
Update of /cvsroot/squeak/squeak/platforms/unix/vm In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15187 Modified Files: sqPlatformSpecific.h Log Message: Include <unistd.h> and define sqFTruncate(). Index: sqPlatformSpecific.h =================================================================== RCS file: /cvsroot/squeak/squeak/platforms/unix/vm/sqPlatformSpecific.h,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** sqPlatformSpecific.h 1 Sep 2003 08:31:53 -0000 1.12 --- sqPlatformSpecific.h 17 Apr 2004 00:48:06 -0000 1.13 *************** *** 1,14 **** /* sqPlatformSpecific.h -- platform-specific modifications to sq.h * ! * Copyright (C) 1996-2003 Ian Piumarta and other authors/contributors ! * as listed elsewhere in this file. * All rights reserved. * - * You are NOT ALLOWED to distribute modified versions of this file - * under its original name. If you want to modify it and then make - * your modifications available publicly, rename the file first. - * * This file is part of Unix Squeak. * * This file is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or --- 1,14 ---- /* sqPlatformSpecific.h -- platform-specific modifications to sq.h * ! * Copyright (C) 1996-2004 by Ian Piumarta and other authors/contributors ! * listed elsewhere in this file. * All rights reserved. * * This file is part of Unix Squeak. * + * You are NOT ALLOWED to distribute modified versions of this file + * under its original name. If you modify this file then you MUST + * rename it before making your modifications available publicly. + * * This file is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or *************** *** 36,40 **** * Author: ian...@in... * ! * Last edited: 2003-03-05 05:50:50 by piumarta on emilia.inria.fr */ --- 36,40 ---- * Author: ian...@in... * ! * Last edited: 2004-04-17 02:45:14 by piumarta on emilia.local */ *************** *** 59,60 **** --- 59,65 ---- extern void sqFilenameFromString(char *uxName, int stNameIndex, int sqNameLength); + + #include <unistd.h> + + #undef sqFTruncate + #define sqFTruncate(f,o) ftruncate(fileno(f), o) |