Update of /cvsroot/squeak/squeak/platforms/Mac OS/vm
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32461/squeak/platforms/Mac OS/vm
Modified Files:
sqMacFileLogic.c
Log Message:
3.7.5b1 Cleanup some compiler warning messages
Index: sqMacFileLogic.c
===================================================================
RCS file: /cvsroot/squeak/squeak/platforms/Mac OS/vm/sqMacFileLogic.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** sqMacFileLogic.c 3 Aug 2004 02:40:08 -0000 1.14
--- sqMacFileLogic.c 3 Sep 2004 00:19:45 -0000 1.15
***************
*** 258,262 ****
Boolean isFolder=false,isAlias=false;
CFURLRef sillyThing,appendedSillyThing;
! CFStringRef lastPartOfPath;
CFMutableStringRef filePath;
--- 258,262 ----
Boolean isFolder=false,isAlias=false;
CFURLRef sillyThing,appendedSillyThing;
! CFStringRef lastPartOfPath,filePath2;
CFMutableStringRef filePath;
***************
*** 296,308 ****
appendedSillyThing = CFURLCreateCopyAppendingPathComponent(kCFAllocatorDefault,sillyThing,lastPartOfPath,false);
#if defined(__MWERKS__) && !defined(__APPLE__) && !defined(__MACH__)
! filePath = CFURLCopyFileSystemPath (appendedSillyThing, kCFURLHFSPathStyle);
#else
! filePath = CFURLCopyFileSystemPath (appendedSillyThing, kCFURLPOSIXPathStyle);
#endif
! CFStringGetCString (filePath,dst,1000, gCurrentVMEncoding);
CFRelease(sillyThing);
CFRelease(appendedSillyThing);
CFRelease(lastPartOfPath);
! CFRelease(filePath);
return;
}
--- 296,308 ----
appendedSillyThing = CFURLCreateCopyAppendingPathComponent(kCFAllocatorDefault,sillyThing,lastPartOfPath,false);
#if defined(__MWERKS__) && !defined(__APPLE__) && !defined(__MACH__)
! filePath2 = CFURLCopyFileSystemPath (appendedSillyThing, kCFURLHFSPathStyle);
#else
! filePath2 = CFURLCopyFileSystemPath (appendedSillyThing, kCFURLPOSIXPathStyle);
#endif
! CFStringGetCString (filePath2,dst,1000, gCurrentVMEncoding);
CFRelease(sillyThing);
CFRelease(appendedSillyThing);
CFRelease(lastPartOfPath);
! CFRelease(filePath2);
return;
}
|