diff --git a/BungieFrameWork/BFW_Source/BFW_CommandLine/Platform_MacOS/BFW_CL_Platform_MacOS.c b/BungieFrameWork/BFW_Source/BFW_CommandLine/Platform_MacOS/BFW_CL_Platform_MacOS.c index b910a7d..039ef0b 100644 --- a/BungieFrameWork/BFW_Source/BFW_CommandLine/Platform_MacOS/BFW_CL_Platform_MacOS.c +++ b/BungieFrameWork/BFW_Source/BFW_CommandLine/Platform_MacOS/BFW_CL_Platform_MacOS.c @@ -243,7 +243,7 @@ static char *key_labels[]= { "control", //{ "leftwindows", }, "option", - "ð (command)", + "\xf0 (command)", "space", //{ "rightalt", }, //{ "rightoption",}, diff --git a/BungieFrameWork/BFW_Source/BFW_FileManager/Platform_MacOS/MoreFiles/DirectoryCopy.c b/BungieFrameWork/BFW_Source/BFW_FileManager/Platform_MacOS/MoreFiles/DirectoryCopy.c index 5a918ea..48d24a3 100644 --- a/BungieFrameWork/BFW_Source/BFW_FileManager/Platform_MacOS/MoreFiles/DirectoryCopy.c +++ b/BungieFrameWork/BFW_Source/BFW_FileManager/Platform_MacOS/MoreFiles/DirectoryCopy.c @@ -7,7 +7,7 @@ ** ** File: DirectoryCopy.c ** -** Copyright © 1992-1999 Apple Computer, Inc. +** Copyright © 1992-1999 Apple Computer, Inc. ** All rights reserved. ** ** You may incorporate this sample code into your applications without diff --git a/BungieFrameWork/BFW_Source/BFW_FileManager/Platform_MacOS/MoreFiles/DirectoryCopy.h b/BungieFrameWork/BFW_Source/BFW_FileManager/Platform_MacOS/MoreFiles/DirectoryCopy.h index 3097ecd..fc57010 100644 --- a/BungieFrameWork/BFW_Source/BFW_FileManager/Platform_MacOS/MoreFiles/DirectoryCopy.h +++ b/BungieFrameWork/BFW_Source/BFW_FileManager/Platform_MacOS/MoreFiles/DirectoryCopy.h @@ -7,7 +7,7 @@ ** ** File: DirectoryCopy.h ** -** Copyright © 1992-1999 Apple Computer, Inc. +** Copyright © 1992-1999 Apple Computer, Inc. ** All rights reserved. ** ** You may incorporate this sample code into your applications without @@ -53,7 +53,7 @@ typedef pascal Boolean (*CopyErrProcPtr) (OSErr error, short dstVRefNum, long dstDirID, ConstStr255Param dstName); -/* ¦ Prototype for the CopyErrProc function DirectoryCopy calls. +/* ¶ Prototype for the CopyErrProc function DirectoryCopy calls. This is the prototype for the CopyErrProc function DirectoryCopy calls if an error condition is detected sometime during the copy. If CopyErrProc returns false, then DirectoryCopy attempts to continue with @@ -85,7 +85,7 @@ typedef pascal Boolean (*CopyErrProcPtr) (OSErr error, typedef pascal Boolean (*CopyFilterProcPtr) (const CInfoPBRec * const cpbPtr); -/* ¦ Prototype for the CopyFilterProc function. +/* ¶ Prototype for the CopyFilterProc function. This is the prototype for the CopyFilterProc function called by FilteredDirectoryCopy and GetLevelSize. If true is returned, the file/folder is included in the copy, otherwise it is excluded. @@ -113,7 +113,7 @@ pascal OSErr FilteredDirectoryCopy(short srcVRefNum, Boolean preflight, CopyErrProcPtr copyErrHandler, CopyFilterProcPtr copyFilterProc); -/* ¦ Make a copy of a directory structure in a new location with item filtering. +/* ¶ Make a copy of a directory structure in a new location with item filtering. The FilteredDirectoryCopy function makes a copy of a directory structure in a new location. If copyBufferPtr <> NIL, it points to a buffer of copyBufferSize that is used to copy files data. The @@ -171,14 +171,14 @@ pascal OSErr FilteredDirectoryCopy(short srcVRefNum, Result Codes noErr 0 No error - readErr Ð19 Driver does not respond to read requests - writErr Ð20 Driver does not respond to write requests - badUnitErr Ð21 Driver reference number does not + readErr –19 Driver does not respond to read requests + writErr –20 Driver does not respond to write requests + badUnitErr –21 Driver reference number does not match unit table - unitEmptyErr Ð22 Driver reference number specifies a + unitEmptyErr –22 Driver reference number specifies a nil handle in unit table - abortErr Ð27 Request aborted by KillIO - notOpenErr Ð28 Driver not open + abortErr –27 Request aborted by KillIO + notOpenErr –28 Driver not open dskFulErr -34 Destination volume is full nsvErr -35 No such volume ioErr -36 I/O error @@ -223,7 +223,7 @@ pascal OSErr FSpFilteredDirectoryCopy(const FSSpec *srcSpec, Boolean preflight, CopyErrProcPtr copyErrHandler, CopyFilterProcPtr copyFilterProc); -/* ¦ Make a copy of a directory structure in a new location with item filtering. +/* ¶ Make a copy of a directory structure in a new location with item filtering. The FSpFilteredDirectoryCopy function makes a copy of a directory structure in a new location. If copyBufferPtr <> NIL, it points to a buffer of copyBufferSize that is used to copy files data. The @@ -264,14 +264,14 @@ pascal OSErr FSpFilteredDirectoryCopy(const FSSpec *srcSpec, Result Codes noErr 0 No error - readErr Ð19 Driver does not respond to read requests - writErr Ð20 Driver does not respond to write requests - badUnitErr Ð21 Driver reference number does not + readErr –19 Driver does not respond to read requests + writErr –20 Driver does not respond to write requests + badUnitErr –21 Driver reference number does not match unit table - unitEmptyErr Ð22 Driver reference number specifies a + unitEmptyErr –22 Driver reference number specifies a nil handle in unit table - abortErr Ð27 Request aborted by KillIO - notOpenErr Ð28 Driver not open + abortErr –27 Request aborted by KillIO + notOpenErr –28 Driver not open dskFulErr -34 Destination volume is full nsvErr -35 No such volume ioErr -36 I/O error @@ -319,7 +319,7 @@ pascal OSErr DirectoryCopy(short srcVRefNum, long copyBufferSize, Boolean preflight, CopyErrProcPtr copyErrHandler); -/* ¦ Make a copy of a directory structure in a new location. +/* ¶ Make a copy of a directory structure in a new location. The DirectoryCopy function makes a copy of a directory structure in a new location. If copyBufferPtr <> NIL, it points to a buffer of copyBufferSize that is used to copy files data. The larger the @@ -370,14 +370,14 @@ pascal OSErr DirectoryCopy(short srcVRefNum, Result Codes noErr 0 No error - readErr Ð19 Driver does not respond to read requests - writErr Ð20 Driver does not respond to write requests - badUnitErr Ð21 Driver reference number does not + readErr –19 Driver does not respond to read requests + writErr –20 Driver does not respond to write requests + badUnitErr –21 Driver reference number does not match unit table - unitEmptyErr Ð22 Driver reference number specifies a + unitEmptyErr –22 Driver reference number specifies a nil handle in unit table - abortErr Ð27 Request aborted by KillIO - notOpenErr Ð28 Driver not open + abortErr –27 Request aborted by KillIO + notOpenErr –28 Driver not open dskFulErr -34 Destination volume is full nsvErr -35 No such volume ioErr -36 I/O error @@ -421,7 +421,7 @@ pascal OSErr FSpDirectoryCopy(const FSSpec *srcSpec, long copyBufferSize, Boolean preflight, CopyErrProcPtr copyErrHandler); -/* ¦ Make a copy of a directory structure in a new location. +/* ¶ Make a copy of a directory structure in a new location. The FSpDirectoryCopy function makes a copy of a directory structure in a new location. If copyBufferPtr <> NIL, it points to a buffer of copyBufferSize that is used to copy files data. The larger the @@ -456,14 +456,14 @@ pascal OSErr FSpDirectoryCopy(const FSSpec *srcSpec, Result Codes noErr 0 No error - readErr Ð19 Driver does not respond to read requests - writErr Ð20 Driver does not respond to write requests - badUnitErr Ð21 Driver reference number does not + readErr –19 Driver does not respond to read requests + writErr –20 Driver does not respond to write requests + badUnitErr –21 Driver reference number does not match unit table - unitEmptyErr Ð22 Driver reference number specifies a + unitEmptyErr –22 Driver reference number specifies a nil handle in unit table - abortErr Ð27 Request aborted by KillIO - notOpenErr Ð28 Driver not open + abortErr –27 Request aborted by KillIO + notOpenErr –28 Driver not open dskFulErr -34 Destination volume is full nsvErr -35 No such volume ioErr -36 I/O error diff --git a/BungieFrameWork/BFW_Source/BFW_FileManager/Platform_MacOS/MoreFiles/FSpCompat.c b/BungieFrameWork/BFW_Source/BFW_FileManager/Platform_MacOS/MoreFiles/FSpCompat.c index 2e7ec03..1b681af 100644 --- a/BungieFrameWork/BFW_Source/BFW_FileManager/Platform_MacOS/MoreFiles/FSpCompat.c +++ b/BungieFrameWork/BFW_Source/BFW_FileManager/Platform_MacOS/MoreFiles/FSpCompat.c @@ -7,7 +7,7 @@ ** ** File: FSpCompat.c ** -** Copyright © 1992-1999 Apple Computer, Inc. +** Copyright © 1992-1999 Apple Computer, Inc. ** All rights reserved. ** ** You may incorporate this sample code into your applications without diff --git a/BungieFrameWork/BFW_Source/BFW_FileManager/Platform_MacOS/MoreFiles/FSpCompat.h b/BungieFrameWork/BFW_Source/BFW_FileManager/Platform_MacOS/MoreFiles/FSpCompat.h index 044838a..6dda57c 100644 --- a/BungieFrameWork/BFW_Source/BFW_FileManager/Platform_MacOS/MoreFiles/FSpCompat.h +++ b/BungieFrameWork/BFW_Source/BFW_FileManager/Platform_MacOS/MoreFiles/FSpCompat.h @@ -7,7 +7,7 @@ ** ** File: FSpCompat.h ** -** Copyright © 1992-1999 Apple Computer, Inc. +** Copyright © 1992-1999 Apple Computer, Inc. ** All rights reserved. ** ** You may incorporate this sample code into your applications without @@ -37,7 +37,7 @@ pascal OSErr FSMakeFSSpecCompat(short vRefNum, long dirID, ConstStr255Param fileName, FSSpec *spec); -/* ¦ Initialize a FSSpec record. +/* ¶ Initialize a FSSpec record. The FSMakeFSSpecCompat function fills in the fields of an FSSpec record. If the file system can't create the FSSpec, then the compatibility code creates a FSSpec that is exactly like an FSSpec except that spec.name @@ -55,7 +55,7 @@ pascal OSErr FSMakeFSSpecCompat(short vRefNum, Result Codes noErr 0 No error - nsvErr -35 Volume doesnÕt exist + nsvErr -35 Volume doesn’t exist fnfErr -43 File or directory does not exist (FSSpec is still valid) */ @@ -65,7 +65,7 @@ pascal OSErr FSMakeFSSpecCompat(short vRefNum, pascal OSErr FSpOpenDFCompat(const FSSpec *spec, char permission, short *refNum); -/* ¦ Open a file's data fork. +/* ¶ Open a file's data fork. The FSpOpenDFCompat function opens the data fork of the file specified by spec. Differences from FSpOpenDF: If FSpOpenDF isn't available, @@ -103,7 +103,7 @@ pascal OSErr FSpOpenDFCompat(const FSSpec *spec, pascal OSErr FSpOpenRFCompat(const FSSpec *spec, char permission, short *refNum); -/* ¦ Open a file's resource fork. +/* ¶ Open a file's resource fork. The FSpOpenRFCompat function opens the resource fork of the file specified by spec. @@ -139,7 +139,7 @@ pascal OSErr FSpCreateCompat(const FSSpec *spec, OSType creator, OSType fileType, ScriptCode scriptTag); -/* ¦ Create a new file. +/* ¶ Create a new file. The FSpCreateCompat function creates a new file with the specified type, creator, and script code. Differences from FSpCreate: FSpCreateCompat correctly sets the @@ -173,7 +173,7 @@ pascal OSErr FSpCreateCompat(const FSSpec *spec, pascal OSErr FSpDirCreateCompat(const FSSpec *spec, ScriptCode scriptTag, long *createdDirID); -/* ¦ Create a new directory. +/* ¶ Create a new directory. The FSpDirCreateCompat function creates a new directory and returns the directory ID of the newDirectory. @@ -203,7 +203,7 @@ pascal OSErr FSpDirCreateCompat(const FSSpec *spec, /*****************************************************************************/ pascal OSErr FSpDeleteCompat(const FSSpec *spec); -/* ¦ Delete a file or directory. +/* ¶ Delete a file or directory. The FSpDeleteCompat function deletes a file or directory. spec input: An FSSpec record specifying the file or @@ -228,7 +228,7 @@ pascal OSErr FSpDeleteCompat(const FSSpec *spec); pascal OSErr FSpGetFInfoCompat(const FSSpec *spec, FInfo *fndrInfo); -/* ¦ Get the finder information for a file. +/* ¶ Get the finder information for a file. The FSpGetFInfoCompat function gets the finder information for a file. spec input: An FSSpec record specifying the file. @@ -254,7 +254,7 @@ pascal OSErr FSpGetFInfoCompat(const FSSpec *spec, pascal OSErr FSpSetFInfoCompat(const FSSpec *spec, const FInfo *fndrInfo); -/* ¦ Set the finder information for a file. +/* ¶ Set the finder information for a file. The FSpSetFInfoCompat function sets the finder information for a file. spec input: An FSSpec record specifying the file. @@ -281,7 +281,7 @@ pascal OSErr FSpSetFInfoCompat(const FSSpec *spec, /*****************************************************************************/ pascal OSErr FSpSetFLockCompat(const FSSpec *spec); -/* ¦ Lock a file. +/* ¶ Lock a file. The FSpSetFLockCompat function locks a file. spec input: An FSSpec record specifying the file. @@ -302,7 +302,7 @@ pascal OSErr FSpSetFLockCompat(const FSSpec *spec); /*****************************************************************************/ pascal OSErr FSpRstFLockCompat(const FSSpec *spec); -/* ¦ Unlock a file. +/* ¶ Unlock a file. The FSpRstFLockCompat function unlocks a file. spec input: An FSSpec record specifying the file. @@ -324,7 +324,7 @@ pascal OSErr FSpRstFLockCompat(const FSSpec *spec); pascal OSErr FSpRenameCompat(const FSSpec *spec, ConstStr255Param newName); -/* ¦ Rename a file or directory. +/* ¶ Rename a file or directory. The FSpRenameCompat function renames a file or directory. spec input: An FSSpec record specifying the file. @@ -353,7 +353,7 @@ pascal OSErr FSpRenameCompat(const FSSpec *spec, pascal OSErr FSpCatMoveCompat(const FSSpec *source, const FSSpec *dest); -/* ¦ Move a file or directory to a different location on on the same volume. +/* ¶ Move a file or directory to a different location on on the same volume. The FSpCatMoveCompat function moves a file or directory to a different location on on the same volume. @@ -384,7 +384,7 @@ pascal OSErr FSpCatMoveCompat(const FSSpec *source, pascal OSErr FSpExchangeFilesCompat(const FSSpec *source, const FSSpec *dest); -/* ¦ Exchange the data stored in two files on the same volume. +/* ¶ Exchange the data stored in two files on the same volume. The FSpExchangeFilesCompat function swaps the data in two files by changing the information in the volume's catalog and, if the files are open, in the file control blocks. @@ -416,7 +416,7 @@ pascal OSErr FSpExchangeFilesCompat(const FSSpec *source, pascal short FSpOpenResFileCompat(const FSSpec *spec, SignedByte permission); -/* ¦ Open a file's resource file. +/* ¶ Open a file's resource file. The FSpOpenResFileCompat function opens the resource file specified by spec. @@ -429,19 +429,19 @@ pascal short FSpOpenResFileCompat(const FSSpec *spec, Result Codes noErr 0 No error - nsvErr Ð35 No such volume - ioErr Ð36 I/O error - bdNamErr Ð37 Bad filename or volume name (perhaps zero + nsvErr –35 No such volume + ioErr –36 I/O error + bdNamErr –37 Bad filename or volume name (perhaps zero length) - eofErr Ð39 End of file - tmfoErr Ð42 Too many files open - fnfErr Ð43 File not found - opWrErr Ð49 File already open with write permission - permErr Ð54 Permissions error (on file open) - extFSErr Ð58 Volume belongs to an external file system - memFullErr Ð108 Not enough room in heap zone - dirNFErr Ð120 Directory not found - mapReadErr Ð199 Map inconsistent with operation + eofErr –39 End of file + tmfoErr –42 Too many files open + fnfErr –43 File not found + opWrErr –49 File already open with write permission + permErr –54 Permissions error (on file open) + extFSErr –58 Volume belongs to an external file system + memFullErr –108 Not enough room in heap zone + dirNFErr –120 Directory not found + mapReadErr –199 Map inconsistent with operation */ /*****************************************************************************/ @@ -450,7 +450,7 @@ pascal void FSpCreateResFileCompat(const FSSpec *spec, OSType creator, OSType fileType, ScriptCode scriptTag); -/* ¦ Create a resource file. +/* ¶ Create a resource file. The FSpCreateResFileCompat function creates a new resource file with the specified type, creator, and script code. Differences from FSpCreateResFile: FSpCreateResFileCompat correctly @@ -465,15 +465,15 @@ pascal void FSpCreateResFileCompat(const FSSpec *spec, Result Codes noErr 0 No error - dirFulErr Ð33 Directory full - dskFulErr Ð34 Disk full - nsvErr Ð35 No such volume - ioErr Ð36 I/O error - bdNamErr Ð37 Bad filename or volume name (perhaps zero + dirFulErr –33 Directory full + dskFulErr –34 Disk full + nsvErr –35 No such volume + ioErr –36 I/O error + bdNamErr –37 Bad filename or volume name (perhaps zero length) - tmfoErr Ð42 Too many files open - wPrErrw Ð44 Disk is write-protected - fLckdErr Ð45 File is locked + tmfoErr –42 Too many files open + wPrErrw –44 Disk is write-protected + fLckdErr –45 File is locked */ /*****************************************************************************/ diff --git a/BungieFrameWork/BFW_Source/BFW_FileManager/Platform_MacOS/MoreFiles/FileCopy.c b/BungieFrameWork/BFW_Source/BFW_FileManager/Platform_MacOS/MoreFiles/FileCopy.c index 2d3bec9..08d0325 100644 --- a/BungieFrameWork/BFW_Source/BFW_FileManager/Platform_MacOS/MoreFiles/FileCopy.c +++ b/BungieFrameWork/BFW_Source/BFW_FileManager/Platform_MacOS/MoreFiles/FileCopy.c @@ -7,7 +7,7 @@ ** ** File: FileCopy.c ** -** Copyright © 1992-1999 Apple Computer, Inc. +** Copyright © 1992-1999 Apple Computer, Inc. ** All rights reserved. ** ** You may incorporate this sample code into your applications without @@ -425,10 +425,10 @@ pascal OSErr FileCopy(short srcVRefNum, ** privilege (write access), but not See Files (read access) and See Folders (search access). ** Copying a file into an AppleShare dropbox presents some special problems. Here are the ** rules we have to follow to copy a file into a dropbox: - ** ¥ File attributes can be changed only when both forks of a file are empty. - ** ¥ DeskTop Manager comments can be added to a file only when both forks of a file + ** • File attributes can be changed only when both forks of a file are empty. + ** • DeskTop Manager comments can be added to a file only when both forks of a file ** are empty. - ** ¥ A fork can be opened for write access only when both forks of a file are empty. + ** • A fork can be opened for write access only when both forks of a file are empty. ** So, with those rules to live with, we'll do those operations now while both forks ** are empty. */ diff --git a/BungieFrameWork/BFW_Source/BFW_FileManager/Platform_MacOS/MoreFiles/FileCopy.h b/BungieFrameWork/BFW_Source/BFW_FileManager/Platform_MacOS/MoreFiles/FileCopy.h index 0d875e0..ba1b969 100644 --- a/BungieFrameWork/BFW_Source/BFW_FileManager/Platform_MacOS/MoreFiles/FileCopy.h +++ b/BungieFrameWork/BFW_Source/BFW_FileManager/Platform_MacOS/MoreFiles/FileCopy.h @@ -7,7 +7,7 @@ ** ** File: FileCopy.h ** -** Copyright © 1992-1999 Apple Computer, Inc. +** Copyright © 1992-1999 Apple Computer, Inc. ** All rights reserved. ** ** You may incorporate this sample code into your applications without @@ -43,7 +43,7 @@ pascal OSErr FileCopy(short srcVRefNum, void *copyBufferPtr, long copyBufferSize, Boolean preflight); -/* ¦ Duplicate a file and optionally rename it. +/* ¶ Duplicate a file and optionally rename it. The FileCopy function duplicates a file and optionally renames it. Since the PBHCopyFile routine is only available on some AFP server volumes under specific conditions, this routine @@ -83,14 +83,14 @@ pascal OSErr FileCopy(short srcVRefNum, Result Codes noErr 0 No error - readErr Ð19 Driver does not respond to read requests - writErr Ð20 Driver does not respond to write requests - badUnitErr Ð21 Driver reference number does not + readErr –19 Driver does not respond to read requests + writErr –20 Driver does not respond to write requests + badUnitErr –21 Driver reference number does not match unit table - unitEmptyErr Ð22 Driver reference number specifies a + unitEmptyErr –22 Driver reference number specifies a nil handle in unit table - abortErr Ð27 Request aborted by KillIO - notOpenErr Ð28 Driver not open + abortErr –27 Request aborted by KillIO + notOpenErr –28 Driver not open dskFulErr -34 Destination volume is full nsvErr -35 No such volume ioErr -36 I/O error @@ -132,7 +132,7 @@ pascal OSErr FSpFileCopy(const FSSpec *srcSpec, void *copyBufferPtr, long copyBufferSize, Boolean preflight); -/* ¦ Duplicate a file and optionally rename it. +/* ¶ Duplicate a file and optionally rename it. The FSpFileCopy function duplicates a file and optionally renames it. Since the PBHCopyFile routine is only available on some AFP server volumes under specific conditions, this routine @@ -168,14 +168,14 @@ pascal OSErr FSpFileCopy(const FSSpec *srcSpec, Result Codes noErr 0 No error - readErr Ð19 Driver does not respond to read requests - writErr Ð20 Driver does not respond to write requests - badUnitErr Ð21 Driver reference number does not + readErr –19 Driver does not respond to read requests + writErr –20 Driver does not respond to write requests + badUnitErr –21 Driver reference number does not match unit table - unitEmptyErr Ð22 Driver reference number specifies a + unitEmptyErr –22 Driver reference number specifies a nil handle in unit table - abortErr Ð27 Request aborted by KillIO - notOpenErr Ð28 Driver not open + abortErr –27 Request aborted by KillIO + notOpenErr –28 Driver not open dskFulErr -34 Destination volume is full nsvErr -35 No such volume ioErr -36 I/O error diff --git a/BungieFrameWork/BFW_Source/BFW_FileManager/Platform_MacOS/MoreFiles/FullPath.c b/BungieFrameWork/BFW_Source/BFW_FileManager/Platform_MacOS/MoreFiles/FullPath.c index 5152b9e..3ae2a8c 100644 --- a/BungieFrameWork/BFW_Source/BFW_FileManager/Platform_MacOS/MoreFiles/FullPath.c +++ b/BungieFrameWork/BFW_Source/BFW_FileManager/Platform_MacOS/MoreFiles/FullPath.c @@ -7,7 +7,7 @@ ** ** File: FullPath.c ** -** Copyright © 1995-1999 Apple Computer, Inc. +** Copyright © 1995-1999 Apple Computer, Inc. ** All rights reserved. ** ** You may incorporate this sample code into your applications without @@ -38,31 +38,31 @@ particularly unreliable as a means of identifying files, directories or volumes within your application, for two primary reasons: - ¥ The user can change the name of any element in the path at virtually + • The user can change the name of any element in the path at virtually any time. - ¥ Volume names on the Macintosh are *not* unique. Multiple + • Volume names on the Macintosh are *not* unique. Multiple mounted volumes can have the same name. For this reason, the use of a full pathname to identify a specific volume may not produce the results you expect. If more than one volume has the same name and a full pathname is used, the File Manager currently uses the first mounted volume it finds with a matching name in the volume queue. - In general, you should use a fileÕs name, parent directory ID, and + In general, you should use a file’s name, parent directory ID, and volume reference number to identify a file you want to open, delete, or otherwise manipulate. If you need to remember the location of a particular file across subsequent system boots, use the Alias Manager to create an alias record describing the file. If the Alias Manager is not available, you can save - the fileÕs name, its parent directory ID, and the name of the volume on - which itÕs located. Although none of these methods is foolproof, they are + the file’s name, its parent directory ID, and the name of the volume on + which it’s located. Although none of these methods is foolproof, they are much more reliable than using full pathnames to identify files. - Nonetheless, it is sometimes useful to display a fileÕs full pathname to + Nonetheless, it is sometimes useful to display a file’s full pathname to the user. For example, a backup utility might display a list of full pathnames of files as it copies them onto the backup medium. Or, a utility might want to display a dialog box showing the full pathname of - a file when it needs the userÕs confirmation to delete the file. No + a file when it needs the user’s confirmation to delete the file. No matter how unreliable full pathnames may be from a file-specification viewpoint, users understand them more readily than volume reference numbers or directory IDs. (Hint: Use the TruncString function from diff --git a/BungieFrameWork/BFW_Source/BFW_FileManager/Platform_MacOS/MoreFiles/FullPath.h b/BungieFrameWork/BFW_Source/BFW_FileManager/Platform_MacOS/MoreFiles/FullPath.h index 13aa11a..1363b2d 100644 --- a/BungieFrameWork/BFW_Source/BFW_FileManager/Platform_MacOS/MoreFiles/FullPath.h +++ b/BungieFrameWork/BFW_Source/BFW_FileManager/Platform_MacOS/MoreFiles/FullPath.h @@ -7,7 +7,7 @@ ** ** File: FullPath.h ** -** Copyright © 1995-1999 Apple Computer, Inc. +** Copyright © 1995-1999 Apple Computer, Inc. ** All rights reserved. ** ** You may incorporate this sample code into your applications without @@ -38,32 +38,32 @@ extern "C" { particularly unreliable as a means of identifying files, directories or volumes within your application, for two primary reasons: - ¥ The user can change the name of any element in the path at + • The user can change the name of any element in the path at virtually any time. - ¥ Volume names on the Macintosh are *not* unique. Multiple + • Volume names on the Macintosh are *not* unique. Multiple mounted volumes can have the same name. For this reason, the use of a full pathname to identify a specific volume may not produce the results you expect. If more than one volume has the same name and a full pathname is used, the File Manager currently uses the first mounted volume it finds with a matching name in the volume queue. - In general, you should use a fileÕs name, parent directory ID, and + In general, you should use a file’s name, parent directory ID, and volume reference number to identify a file you want to open, delete, or otherwise manipulate. If you need to remember the location of a particular file across subsequent system boots, use the Alias Manager to create an alias record describing the file. If the Alias Manager is not available, you - can save the fileÕs name, its parent directory ID, and the name of the - volume on which itÕs located. Although none of these methods is + can save the file’s name, its parent directory ID, and the name of the + volume on which it’s located. Although none of these methods is foolproof, they are much more reliable than using full pathnames to identify files. - Nonetheless, it is sometimes useful to display a fileÕs full pathname + Nonetheless, it is sometimes useful to display a file’s full pathname to the user. For example, a backup utility might display a list of full pathnames of files as it copies them onto the backup medium. Or, a utility might want to display a dialog box showing the full pathname of - a file when it needs the userÕs confirmation to delete the file. No + a file when it needs the user’s confirmation to delete the file. No matter how unreliable full pathnames may be from a file-specification viewpoint, users understand them more readily than volume reference numbers or directory IDs. (Hint: Use the TruncString function from @@ -83,7 +83,7 @@ pascal OSErr GetFullPath(short vRefNum, ConstStr255Param name, short *fullPathLength, Handle *fullPath); -/* ¦ Get a full pathname to a volume, directory or file. +/* ¶ Get a full pathname to a volume, directory or file. The GetFullPath function builds a full pathname to the specified object. The full pathname is returned in the newly created handle fullPath and the length of the full pathname is returned in @@ -128,7 +128,7 @@ pascal OSErr GetFullPath(short vRefNum, pascal OSErr FSpGetFullPath(const FSSpec *spec, short *fullPathLength, Handle *fullPath); -/* ¦ Get a full pathname to a volume, directory or file. +/* ¶ Get a full pathname to a volume, directory or file. The GetFullPath function builds a full pathname to the specified object. The full pathname is returned in the newly created handle fullPath and the length of the full pathname is returned in @@ -170,7 +170,7 @@ pascal OSErr FSpGetFullPath(const FSSpec *spec, pascal OSErr FSpLocationFromFullPath(short fullPathLength, const void *fullPath, FSSpec *spec); -/* ¦ Get a FSSpec from a full pathname. +/* ¶ Get a FSSpec from a full pathname. The FSpLocationFromFullPath function returns a FSSpec to the object specified by full pathname. This function requires the Alias Manager. @@ -203,7 +203,7 @@ pascal OSErr LocationFromFullPath(short fullPathLength, short *vRefNum, long *parID, Str31 name); -/* ¦ Get an object's location from a full pathname. +/* ¶ Get an object's location from a full pathname. The LocationFromFullPath function returns the volume reference number, parent directory ID and name of the object specified by full pathname. This function requires the Alias Manager. diff --git a/BungieFrameWork/BFW_Source/BFW_FileManager/Platform_MacOS/MoreFiles/IterateDirectory.c b/BungieFrameWork/BFW_Source/BFW_FileManager/Platform_MacOS/MoreFiles/IterateDirectory.c index f196b5c..9564222 100644 --- a/BungieFrameWork/BFW_Source/BFW_FileManager/Platform_MacOS/MoreFiles/IterateDirectory.c +++ b/BungieFrameWork/BFW_Source/BFW_FileManager/Platform_MacOS/MoreFiles/IterateDirectory.c @@ -5,7 +5,7 @@ ** ** File: IterateDirectory.c ** -** Copyright © 1995-1999 Jim Luther and Apple Computer, Inc. +** Copyright © 1995-1999 Jim Luther and Apple Computer, Inc. ** All rights reserved. ** ** You may incorporate this sample code into your applications without diff --git a/BungieFrameWork/BFW_Source/BFW_FileManager/Platform_MacOS/MoreFiles/IterateDirectory.h b/BungieFrameWork/BFW_Source/BFW_FileManager/Platform_MacOS/MoreFiles/IterateDirectory.h index 2ac7c68..f40b514 100644 --- a/BungieFrameWork/BFW_Source/BFW_FileManager/Platform_MacOS/MoreFiles/IterateDirectory.h +++ b/BungieFrameWork/BFW_Source/BFW_FileManager/Platform_MacOS/MoreFiles/IterateDirectory.h @@ -5,7 +5,7 @@ ** ** File: IterateDirectory.h ** -** Copyright © 1995-1999 Jim Luther and Apple Computer, Inc. +** Copyright © 1995-1999 Jim Luther and Apple Computer, Inc. ** All rights reserved. ** ** You may incorporate this sample code into your applications without @@ -33,7 +33,7 @@ extern "C" { typedef pascal void (*IterateFilterProcPtr) (const CInfoPBRec * const cpbPtr, Boolean *quitFlag, void *yourDataPtr); -/* ¦ Prototype for the IterateFilterProc function IterateDirectory calls. +/* ¶ Prototype for the IterateFilterProc function IterateDirectory calls. This is the prototype for the IterateFilterProc function which is called once for each file and directory found by IterateDirectory. The IterateFilterProc gets a pointer to the CInfoPBRec that IterateDirectory @@ -72,7 +72,7 @@ pascal OSErr IterateDirectory(short vRefNum, unsigned short maxLevels, IterateFilterProcPtr iterateFilter, void *yourDataPtr); -/* ¦ Iterate (scan) through a directory's content. +/* ¶ Iterate (scan) through a directory's content. The IterateDirectory function performs a recursive iteration (scan) of the specified directory and calls your IterateFilterProc function once for each file and directory found. @@ -121,7 +121,7 @@ pascal OSErr FSpIterateDirectory(const FSSpec *spec, unsigned short maxLevels, IterateFilterProcPtr iterateFilter, void *yourDataPtr); -/* ¦ Iterate (scan) through a directory's content. +/* ¶ Iterate (scan) through a directory's content. The FSpIterateDirectory function performs a recursive iteration (scan) of the specified directory and calls your IterateFilterProc function once for each file and directory found. diff --git a/BungieFrameWork/BFW_Source/BFW_FileManager/Platform_MacOS/MoreFiles/MoreDesktopMgr.c b/BungieFrameWork/BFW_Source/BFW_FileManager/Platform_MacOS/MoreFiles/MoreDesktopMgr.c index ef36adb..f78173b 100644 --- a/BungieFrameWork/BFW_Source/BFW_FileManager/Platform_MacOS/MoreFiles/MoreDesktopMgr.c +++ b/BungieFrameWork/BFW_Source/BFW_FileManager/Platform_MacOS/MoreFiles/MoreDesktopMgr.c @@ -11,7 +11,7 @@ ** ** File: MoreDesktopMgr.c ** -** Copyright © 1992-1999 Apple Computer, Inc. +** Copyright © 1992-1999 Apple Computer, Inc. ** All rights reserved. ** ** You may incorporate this sample code into your applications without @@ -41,20 +41,20 @@ /* Desktop file notes: ** -** ¥ The Desktop file is owned by the Finder and is normally open by the +** • The Desktop file is owned by the Finder and is normally open by the ** Finder. That means that we only have read-only access to the Desktop ** file. -** ¥ Since the Resource Manager doesn't support shared access to resource +** • Since the Resource Manager doesn't support shared access to resource ** files and we're using read-only access, we don't ever leave the ** Desktop file open. We open a path to it, get the data we want out ** of it, and then close the open path. This is the only safe way to ** open a resource file with read-only access since some other program ** could have it open with write access. -** ¥ The bundle related resources in the Desktop file are normally +** • The bundle related resources in the Desktop file are normally ** purgable, so when we're looking through them, we don't bother to ** release resources we're done looking at - closing the resource file ** (which we always do) will release them. -** ¥ Since we can't assume the Desktop file is named "Desktop" +** • Since we can't assume the Desktop file is named "Desktop" ** (it probably is everywhere but France), we get the Desktop ** file's name by searching the volume's root directory for a file ** with fileType == 'FNDR' and creator == 'ERIK'. The only problem with diff --git a/BungieFrameWork/BFW_Source/BFW_FileManager/Platform_MacOS/MoreFiles/MoreDesktopMgr.h b/BungieFrameWork/BFW_Source/BFW_FileManager/Platform_MacOS/MoreFiles/MoreDesktopMgr.h index 66c27b6..9b00c88 100644 --- a/BungieFrameWork/BFW_Source/BFW_FileManager/Platform_MacOS/MoreFiles/MoreDesktopMgr.h +++ b/BungieFrameWork/BFW_Source/BFW_FileManager/Platform_MacOS/MoreFiles/MoreDesktopMgr.h @@ -11,7 +11,7 @@ ** ** File: MoreDesktopMgr.h ** -** Copyright © 1992-1999 Apple Computer, Inc. +** Copyright © 1992-1999 Apple Computer, Inc. ** All rights reserved. ** ** You may incorporate this sample code into your applications without @@ -41,7 +41,7 @@ pascal OSErr DTOpen(ConstStr255Param volName, short vRefNum, short *dtRefNum, Boolean *newDTDatabase); -/* ¦ Open a volume's desktop database and return the desktop database refNum. +/* ¶ Open a volume's desktop database and return the desktop database refNum. The DTOpen function opens a volume's desktop database. It returns the reference number of the desktop database and indicates if the desktop database was created as a result of this call (if it was created, @@ -80,7 +80,7 @@ pascal OSErr DTXGetAPPL(ConstStr255Param volName, short *applVRefNum, long *applParID, Str255 applName); -/* ¦ Find an application on a volume that can open a file with a given creator. +/* ¶ Find an application on a volume that can open a file with a given creator. The DTXGetAPPL function finds an application (file type 'APPL') with the specified creator on the specified volume. It first tries to get the application mapping from the desktop database. If that fails, @@ -125,7 +125,7 @@ pascal OSErr FSpDTXGetAPPL(ConstStr255Param volName, OSType creator, Boolean searchCatalog, FSSpec *spec); -/* ¦ Find an application on a volume that can open a file with a given creator. +/* ¶ Find an application on a volume that can open a file with a given creator. The FSpDTXGetAPPL function finds an application (file type 'APPL') with the specified creator on the specified volume. It first tries to get the application mapping from the desktop database. If that fails, @@ -169,7 +169,7 @@ pascal OSErr DTGetAPPL(ConstStr255Param volName, short *applVRefNum, long *applParID, Str255 applName); -/* ¦ Find an application on a volume that can open a file with a given creator. +/* ¶ Find an application on a volume that can open a file with a given creator. The DTGetAPPL function finds an application (file type 'APPL') with the specified creator on the specified volume. It first tries to get the application mapping from the desktop database. If that fails, @@ -211,7 +211,7 @@ pascal OSErr FSpDTGetAPPL(ConstStr255Param volName, short vRefNum, OSType creator, FSSpec *spec); -/* ¦ Find an application on a volume that can open a file with a given creator. +/* ¶ Find an application on a volume that can open a file with a given creator. The FSpDTGetAPPL function finds an application (file type 'APPL') with the specified creator on the specified volume. It first tries to get the application mapping from the desktop database. If that fails, @@ -253,7 +253,7 @@ pascal OSErr DTGetIcon(ConstStr255Param volName, OSType fileCreator, OSType fileType, Handle *iconHandle); -/* ¦ Get an icon from the desktop database or Desktop file. +/* ¶ Get an icon from the desktop database or Desktop file. The DTGetIcon function retrieves the specified icon and returns it in a newly created handle. The icon is retrieves from the Desktop Manager or if the Desktop Manager is not available, from the Finder's Desktop @@ -296,7 +296,7 @@ pascal OSErr DTSetComment(short vRefNum, long dirID, ConstStr255Param name, ConstStr255Param comment); -/* ¦ Set a file or directory's Finder comment field. +/* ¶ Set a file or directory's Finder comment field. The DTSetComment function sets a file or directory's Finder comment field. The volume must support the Desktop Manager because you only have read access to the Desktop file. @@ -312,11 +312,11 @@ pascal OSErr DTSetComment(short vRefNum, noErr 0 No error nsvErr -35 Volume not found ioErr -36 I/O error - fnfErr Ð43 File or directory doesnÕt exist + fnfErr –43 File or directory doesn’t exist paramErr -50 Volume doesn't support this function - wPrErr Ð44 Volume is locked through hardware - vLckdErr Ð46 Volume is locked through software - rfNumErr Ð51 Reference number invalid + wPrErr –44 Volume is locked through hardware + vLckdErr –46 Volume is locked through software + rfNumErr –51 Reference number invalid extFSErr -58 External file system error - no file system claimed this call. desktopDamagedErr -1305 The desktop database has become corrupted - @@ -334,7 +334,7 @@ pascal OSErr DTSetComment(short vRefNum, pascal OSErr FSpDTSetComment(const FSSpec *spec, ConstStr255Param comment); -/* ¦ Set a file or directory's Finder comment field. +/* ¶ Set a file or directory's Finder comment field. The FSpDTSetComment function sets a file or directory's Finder comment field. The volume must support the Desktop Manager because you only have read access to the Desktop file. @@ -347,10 +347,10 @@ pascal OSErr FSpDTSetComment(const FSSpec *spec, noErr 0 No error nsvErr -35 Volume not found ioErr -36 I/O error - fnfErr Ð43 File or directory doesnÕt exist - wPrErr Ð44 Volume is locked through hardware - vLckdErr Ð46 Volume is locked through software - rfNumErr Ð51 Reference number invalid + fnfErr –43 File or directory doesn’t exist + wPrErr –44 Volume is locked through hardware + vLckdErr –46 Volume is locked through software + rfNumErr –51 Reference number invalid paramErr -50 Volume doesn't support this function extFSErr -58 External file system error - no file system claimed this call. @@ -371,7 +371,7 @@ pascal OSErr DTGetComment(short vRefNum, long dirID, ConstStr255Param name, Str255 comment); -/* ¦ Get a file or directory's Finder comment field (if any). +/* ¶ Get a file or directory's Finder comment field (if any). The DTGetComment function gets a file or directory's Finder comment field (if any) from the Desktop Manager or if the Desktop Manager is not available, from the Finder's Desktop file. @@ -394,7 +394,7 @@ pascal OSErr DTGetComment(short vRefNum, ioErr -36 I/O error fnfErr -43 File not found paramErr -50 Volume doesn't support this function - rfNumErr Ð51 Reference number invalid + rfNumErr –51 Reference number invalid extFSErr -58 External file system error - no file system claimed this call. desktopDamagedErr -1305 The desktop database has become corrupted - @@ -413,7 +413,7 @@ pascal OSErr DTGetComment(short vRefNum, pascal OSErr FSpDTGetComment(const FSSpec *spec, Str255 comment); -/* ¦ Get a file or directory's Finder comment field (if any). +/* ¶ Get a file or directory's Finder comment field (if any). The FSpDTGetComment function gets a file or directory's Finder comment field (if any) from the Desktop Manager or if the Desktop Manager is not available, from the Finder's Desktop file. @@ -433,7 +433,7 @@ pascal OSErr FSpDTGetComment(const FSSpec *spec, ioErr -36 I/O error fnfErr -43 File not found paramErr -50 Volume doesn't support this function - rfNumErr Ð51 Reference number invalid + rfNumErr –51 Reference number invalid extFSErr -58 External file system error - no file system claimed this call. desktopDamagedErr -1305 The desktop database has become corrupted - @@ -456,7 +456,7 @@ pascal OSErr DTCopyComment(short srcVRefNum, short dstVRefNum, long dstDirID, ConstStr255Param dstName); -/* ¦ Copy the file or folder comment from the source to the destination object. +/* ¶ Copy the file or folder comment from the source to the destination object. The DTCopyComment function copies the file or folder comment from the source to the destination object. The destination volume must support the Desktop Manager because you only have read access to the Desktop file. @@ -474,11 +474,11 @@ pascal OSErr DTCopyComment(short srcVRefNum, noErr 0 No error nsvErr -35 Volume not found ioErr -36 I/O error - fnfErr Ð43 File or directory doesnÕt exist - wPrErr Ð44 Volume is locked through hardware - vLckdErr Ð46 Volume is locked through software + fnfErr –43 File or directory doesn’t exist + wPrErr –44 Volume is locked through hardware + vLckdErr –46 Volume is locked through software paramErr -50 Volume doesn't support this function - rfNumErr Ð51 Reference number invalid + rfNumErr –51 Reference number invalid paramErr -50 Volume doesn't support this function extFSErr -58 External file system error - no file system claimed this call. @@ -498,7 +498,7 @@ pascal OSErr DTCopyComment(short srcVRefNum, pascal OSErr FSpDTCopyComment(const FSSpec *srcSpec, const FSSpec *dstSpec); -/* ¦ Copy the desktop database comment from the source to the destination object. +/* ¶ Copy the desktop database comment from the source to the destination object. The FSpDTCopyComment function copies the desktop database comment from the source to the destination object. Both the source and the destination volumes must support the Desktop Manager. @@ -510,11 +510,11 @@ pascal OSErr FSpDTCopyComment(const FSSpec *srcSpec, noErr 0 No error nsvErr -35 Volume not found ioErr -36 I/O error - fnfErr Ð43 File or directory doesnÕt exist - wPrErr Ð44 Volume is locked through hardware - vLckdErr Ð46 Volume is locked through software + fnfErr –43 File or directory doesn’t exist + wPrErr –44 Volume is locked through hardware + vLckdErr –46 Volume is locked through software paramErr -50 Volume doesn't support this function - rfNumErr Ð51 Reference number invalid + rfNumErr –51 Reference number invalid paramErr -50 Volume doesn't support this function extFSErr -58 External file system error - no file system claimed this call. diff --git a/BungieFrameWork/BFW_Source/BFW_FileManager/Platform_MacOS/MoreFiles/MoreFiles.c b/BungieFrameWork/BFW_Source/BFW_FileManager/Platform_MacOS/MoreFiles/MoreFiles.c index ecfb6b1..173b824 100644 --- a/BungieFrameWork/BFW_Source/BFW_FileManager/Platform_MacOS/MoreFiles/MoreFiles.c +++ b/BungieFrameWork/BFW_Source/BFW_FileManager/Platform_MacOS/MoreFiles/MoreFiles.c @@ -7,7 +7,7 @@ ** ** File: MoreFiles.c ** -** Copyright © 1992-1999 Apple Computer, Inc. +** Copyright © 1992-1999 Apple Computer, Inc. ** All rights reserved. ** ** You may incorporate this sample code into your applications without diff --git a/BungieFrameWork/BFW_Source/BFW_FileManager/Platform_MacOS/MoreFiles/MoreFiles.h b/BungieFrameWork/BFW_Source/BFW_FileManager/Platform_MacOS/MoreFiles/MoreFiles.h index ef153cd..8d17510 100644 --- a/BungieFrameWork/BFW_Source/BFW_FileManager/Platform_MacOS/MoreFiles/MoreFiles.h +++ b/BungieFrameWork/BFW_Source/BFW_FileManager/Platform_MacOS/MoreFiles/MoreFiles.h @@ -7,7 +7,7 @@ ** ** File: MoreFiles.h ** -** Copyright © 1992-1999 Apple Computer, Inc. +** Copyright © 1992-1999 Apple Computer, Inc. ** All rights reserved. ** ** You may incorporate this sample code into your applications without @@ -37,7 +37,7 @@ pascal OSErr HGetVolParms(ConstStr255Param volName, short vRefNum, GetVolParmsInfoBuffer *volParmsInfo, long *infoSize); -/* ¦ Determine the characteristics of a volume. +/* ¶ Determine the characteristics of a volume. The HGetVolParms function returns information about the characteristics of a volume. A result of paramErr usually just means the volume doesn't support PBHGetVolParms and the feature you were going to check @@ -67,7 +67,7 @@ pascal OSErr HGetVolParms(ConstStr255Param volName, pascal OSErr HCreateMinimum(short vRefNum, long dirID, ConstStr255Param fileName); -/* ¦ Create a new file with no creator or file type. +/* ¶ Create a new file with no creator or file type. The HCreateMinimum function creates a new file without attempting to set the creator and file type of the new file. This function is needed to create a file in an AppleShare "drop box" where the user can make @@ -100,7 +100,7 @@ pascal OSErr HCreateMinimum(short vRefNum, /*****************************************************************************/ pascal OSErr FSpCreateMinimum(const FSSpec *spec); -/* ¦ Create a new file with no creator or file type. +/* ¶ Create a new file with no creator or file type. The FSpCreateMinimum function creates a new file without attempting to set the the creator and file type of the new file. This function is needed to create a file in an AppleShare "dropbox" where the user can make @@ -135,7 +135,7 @@ pascal OSErr ExchangeFiles(short vRefNum, ConstStr255Param srcName, long dstDirID, ConstStr255Param dstName); -/* ¦ Exchange the data stored in two files on the same volume. +/* ¶ Exchange the data stored in two files on the same volume. The ExchangeFiles function swaps the data in two files on the same volume by changing some of the information in the volume catalog and, if the files are open, in the file control blocks. @@ -173,7 +173,7 @@ pascal OSErr ResolveFileIDRef(ConstStr255Param volName, long fileID, long *parID, StringPtr fileName); -/* ¦ Retrieve the location of the file with the specified file ID reference. +/* ¶ Retrieve the location of the file with the specified file ID reference. The ResolveFileIDRef function returns the filename and parent directory ID of the file with the specified file ID reference. @@ -215,7 +215,7 @@ pascal OSErr FSpResolveFileIDRef(ConstStr255Param volName, short vRefNum, long fileID, FSSpecPtr spec); -/* ¦ Retrieve the location of the file with the specified file ID reference. +/* ¶ Retrieve the location of the file with the specified file ID reference. The FSpResolveFileIDRef function fills in an FSSpec with the location of the file with the specified file ID reference. @@ -257,7 +257,7 @@ pascal OSErr CreateFileIDRef(short vRefNum, long parID, ConstStr255Param fileName, long *fileID); -/* ¦ Establish a file ID reference for a file. +/* ¶ Establish a file ID reference for a file. The CreateFileIDRef function creates a file ID reference for the specified file, or if a file ID reference already exists, supplies the file ID reference and returns the result code fidExists or afpIDExists. @@ -296,7 +296,7 @@ pascal OSErr CreateFileIDRef(short vRefNum, pascal OSErr FSpCreateFileIDRef(const FSSpec *spec, long *fileID); -/* ¦ Establish a file ID reference for a file. +/* ¶ Establish a file ID reference for a file. The FSpCreateFileIDRef function creates a file ID reference for the specified file, or if a file ID reference already exists, supplies the file ID reference and returns the result code fidExists or afpIDExists. @@ -334,7 +334,7 @@ pascal OSErr FSpCreateFileIDRef(const FSSpec *spec, pascal OSErr DeleteFileIDRef(ConstStr255Param volName, short vRefNum, long fileID); -/* ¦ Delete a file ID reference. +/* ¶ Delete a file ID reference. The DeleteFileIDRef function deletes a file ID reference. volName input: A pointer to the name of a mounted volume @@ -368,7 +368,7 @@ pascal OSErr DeleteFileIDRef(ConstStr255Param volName, /*****************************************************************************/ pascal OSErr FlushFile(short refNum); -/* ¦ Write the contents of a file's access path buffer (the fork data). +/* ¶ Write the contents of a file's access path buffer (the fork data). The FlushFile function writes the contents of a file's access path buffer (the fork data) to the volume. Note: some of the file's catalog information stored on the volume may not be correct until FlushVol @@ -392,7 +392,7 @@ pascal OSErr FlushFile(short refNum); pascal OSErr LockRange(short refNum, long rangeLength, long rangeStart); -/* ¦ Lock a portion of a file. +/* ¶ Lock a portion of a file. The LockRange function locks (denies access to) a portion of a file that was opened with shared read/write permission. @@ -424,7 +424,7 @@ pascal OSErr LockRange(short refNum, pascal OSErr UnlockRange(short refNum, long rangeLength, long rangeStart); -/* ¦ Unlock a previously locked range. +/* ¶ Unlock a previously locked range. The UnlockRange function unlocks (allows access to) a previously locked portion of a file that was opened with shared read/write permission. @@ -460,7 +460,7 @@ pascal OSErr GetForeignPrivs(short vRefNum, long *foreignPrivInfo2, long *foreignPrivInfo3, long *foreignPrivInfo4); -/* ¦ Retrieve the native access-control information. +/* ¶ Retrieve the native access-control information. The GetForeignPrivs function retrieves the native access-control information for a file or directory stored on a volume managed by a foreign file system. @@ -501,7 +501,7 @@ pascal OSErr FSpGetForeignPrivs(const FSSpec *spec, long *foreignPrivInfo2, long *foreignPrivInfo3, long *foreignPrivInfo4); -/* ¦ Retrieve the native access-control information. +/* ¶ Retrieve the native access-control information. The FSpGetForeignPrivs function retrieves the native access-control information for a file or directory stored on a volume managed by a foreign file system. @@ -541,7 +541,7 @@ pascal OSErr SetForeignPrivs(short vRefNum, long foreignPrivInfo2, long foreignPrivInfo3, long foreignPrivInfo4); -/* ¦ Change the native access-control information. +/* ¶ Change the native access-control information. The SetForeignPrivs function changes the native access-control information for a file or directory stored on a volume managed by a foreign file system. @@ -580,7 +580,7 @@ pascal OSErr FSpSetForeignPrivs(const FSSpec *spec, long foreignPrivInfo2, long foreignPrivInfo3, long foreignPrivInfo4); -/* ¦ Change the native access-control information. +/* ¶ Change the native access-control information. The FSpSetForeignPrivs function changes the native access-control information for a file or directory stored on a volume managed by a foreign file system. @@ -613,7 +613,7 @@ pascal OSErr HGetLogInInfo(ConstStr255Param volName, short vRefNum, short *loginMethod, StringPtr userName); -/* ¦ Get the login method and user name used to log on to a shared volume. +/* ¶ Get the login method and user name used to log on to a shared volume. The HGetLogInInfo function retrieves the login method and user name used to log on to a particular shared volume. @@ -629,7 +629,7 @@ pascal OSErr HGetLogInInfo(ConstStr255Param volName, Result Codes noErr 0 No error - nsvErr -35 Specified volume doesnÕt exist + nsvErr -35 Specified volume doesn’t exist paramErr -50 Function not supported by volume __________ @@ -646,7 +646,7 @@ pascal OSErr HGetDirAccess(short vRefNum, long *ownerID, long *groupID, long *accessRights); -/* ¦ Get a directory's access control information on a shared volume. +/* ¶ Get a directory's access control information on a shared volume. The HGetDirAccess function retrieves the directory access control information for a directory on a shared volume. @@ -678,7 +678,7 @@ pascal OSErr FSpGetDirAccess(const FSSpec *spec, long *ownerID, long *groupID, long *accessRights); -/* ¦ Get a directory's access control information on a shared volume. +/* ¶ Get a directory's access control information on a shared volume. The FSpGetDirAccess function retrieves the directory access control information for a directory on a shared volume. @@ -709,7 +709,7 @@ pascal OSErr HSetDirAccess(short vRefNum, long ownerID, long groupID, long accessRights); -/* ¦ Set a directory's access control information on a shared volume. +/* ¶ Set a directory's access control information on a shared volume. The HSetDirAccess function changes the directory access control information for a directory on a shared volume. You must own a directory to change its access control information. @@ -744,7 +744,7 @@ pascal OSErr FSpSetDirAccess(const FSSpec *spec, long ownerID, long groupID, long accessRights); -/* ¦ Set a directory's access control information on a shared volume. +/* ¶ Set a directory's access control information on a shared volume. The FSpSetDirAccess function changes the directory access control information for a directory on a shared volume. You must own a directory to change its access control information. @@ -777,7 +777,7 @@ pascal OSErr HMapID(ConstStr255Param volName, long ugID, short objType, StringPtr name); -/* ¦ Map a user or group ID to a user or group name. +/* ¶ Map a user or group ID to a user or group name. The HMapID function determines the name of a user or group if you know the user or group ID. @@ -809,7 +809,7 @@ pascal OSErr HMapName(ConstStr255Param volName, ConstStr255Param name, short objType, long *ugID); -/* ¦ Map a user or group name to a user or group ID. +/* ¶ Map a user or group name to a user or group ID. The HMapName function determines the user or group ID if you know the user or group name. @@ -842,7 +842,7 @@ pascal OSErr HCopyFile(short srcVRefNum, long dstDirID, ConstStr255Param dstPathname, ConstStr255Param copyName); -/* ¦ Duplicate a file on a file server and optionally to rename it. +/* ¶ Duplicate a file on a file server and optionally to rename it. The HCopyFile function duplicates a file and optionally to renames it. The source and destination volumes must be on the same file server. This function instructs the server to copy the file. @@ -887,7 +887,7 @@ pascal OSErr HCopyFile(short srcVRefNum, pascal OSErr FSpCopyFile(const FSSpec *srcSpec, const FSSpec *dstSpec, ConstStr255Param copyName); -/* ¦ Duplicate a file on a file server and optionally to rename it. +/* ¶ Duplicate a file on a file server and optionally to rename it. The FSpCopyFile function duplicates a file and optionally to renames it. The source and destination volumes must be on the same file server. This function instructs the server to copy the file. @@ -931,7 +931,7 @@ pascal OSErr HMoveRename(short vRefNum, long dstDirID, ConstStr255Param dstpathName, ConstStr255Param copyName); -/* ¦ Move a file or directory on a file server and optionally to rename it. +/* ¶ Move a file or directory on a file server and optionally to rename it. The HMoveRename function moves a file or directory and optionally renames it. The source and destination locations must be on the same shared volume. @@ -967,7 +967,7 @@ pascal OSErr HMoveRename(short vRefNum, pascal OSErr FSpMoveRename(const FSSpec *srcSpec, const FSSpec *dstSpec, ConstStr255Param copyName); -/* ¦ Move a file or directory on a file server and optionally to rename it. +/* ¶ Move a file or directory on a file server and optionally to rename it. The FSpMoveRename function moves a file or directory and optionally renames it. The source and destination locations must be on the same shared volume. @@ -1000,7 +1000,7 @@ pascal OSErr FSpMoveRename(const FSSpec *srcSpec, pascal OSErr GetVolMountInfoSize(ConstStr255Param volName, short vRefNum, short *size); -/* ¦ Get the size of a volume mounting information record. +/* ¶ Get the size of a volume mounting information record. The GetVolMountInfoSize function determines the how much space the program needs to allocate for a volume mounting information record. @@ -1028,7 +1028,7 @@ pascal OSErr GetVolMountInfoSize(ConstStr255Param volName, pascal OSErr GetVolMountInfo(ConstStr255Param volName, short vRefNum, void *volMountInfo); -/* ¦ Retrieve a volume mounting information record. +/* ¶ Retrieve a volume mounting information record. The GetVolMountInfo function retrieves a volume mounting information record containing all the information needed to mount the volume, except for passwords. @@ -1057,7 +1057,7 @@ pascal OSErr GetVolMountInfo(ConstStr255Param volName, pascal OSErr VolumeMount(const void *volMountInfo, short *vRefNum); -/* ¦ Mount a volume using a volume mounting information record. +/* ¶ Mount a volume using a volume mounting information record. The VolumeMount function mounts a volume using a volume mounting information record. @@ -1078,7 +1078,7 @@ pascal OSErr VolumeMount(const void *volMountInfo, control block for mounting the volume afpBadUAM -5002 User authentication method is unknown afpBadVersNum -5003 Workstation is using an AFP version that - the server doesnÕt recognize + the server doesn’t recognize afpNoServer -5016 Server is not responding afpUserNotAuth -5023 User authentication failed (usually, password is not correct) @@ -1101,7 +1101,7 @@ pascal OSErr VolumeMount(const void *volMountInfo, pascal OSErr Share(short vRefNum, long dirID, ConstStr255Param name); -/* ¦ Establish a local volume or directory as a share point. +/* ¶ Establish a local volume or directory as a share point. The Share function establishes a local volume or directory as a share point. @@ -1130,7 +1130,7 @@ pascal OSErr Share(short vRefNum, /*****************************************************************************/ pascal OSErr FSpShare(const FSSpec *spec); -/* ¦ Establish a local volume or directory as a share point. +/* ¶ Establish a local volume or directory as a share point. The FSpShare function establishes a local volume or directory as a share point. @@ -1158,7 +1158,7 @@ pascal OSErr FSpShare(const FSSpec *spec); pascal OSErr Unshare(short vRefNum, long dirID, ConstStr255Param name); -/* ¦ Remove a share point. +/* ¶ Remove a share point. The Unshare function removes a share point. vRefNum input: Volume specification. @@ -1182,7 +1182,7 @@ pascal OSErr Unshare(short vRefNum, /*****************************************************************************/ pascal OSErr FSpUnshare(const FSSpec *spec); -/* ¦ Remove a share point. +/* ¶ Remove a share point. The FSpUnshare function removes a share point. spec input: An FSSpec record specifying the share point. @@ -1205,7 +1205,7 @@ pascal OSErr FSpUnshare(const FSSpec *spec); pascal OSErr GetUGEntry(short objType, StringPtr objName, long *objID); -/* ¦ Retrieve a user or group entry from the local file server. +/* ¶ Retrieve a user or group entry from the local file server. The GetUGEntry function retrieves user or group entries from the local file server. diff --git a/BungieFrameWork/BFW_Source/BFW_FileManager/Platform_MacOS/MoreFiles/MoreFilesExtras.c b/BungieFrameWork/BFW_Source/BFW_FileManager/Platform_MacOS/MoreFiles/MoreFilesExtras.c index 66de82d..c4f9668 100644 --- a/BungieFrameWork/BFW_Source/BFW_FileManager/Platform_MacOS/MoreFiles/MoreFilesExtras.c +++ b/BungieFrameWork/BFW_Source/BFW_FileManager/Platform_MacOS/MoreFiles/MoreFilesExtras.c @@ -7,7 +7,7 @@ ** ** File: MoreFilesExtras.c ** -** Copyright © 1992-1999 Apple Computer, Inc. +** Copyright © 1992-1999 Apple Computer, Inc. ** All rights reserved. ** ** You may incorporate this sample code into your applications without diff --git a/BungieFrameWork/BFW_Source/BFW_FileManager/Platform_MacOS/MoreFiles/MoreFilesExtras.h b/BungieFrameWork/BFW_Source/BFW_FileManager/Platform_MacOS/MoreFiles/MoreFilesExtras.h index cee2288..842d774 100644 --- a/BungieFrameWork/BFW_Source/BFW_FileManager/Platform_MacOS/MoreFiles/MoreFilesExtras.h +++ b/BungieFrameWork/BFW_Source/BFW_FileManager/Platform_MacOS/MoreFiles/MoreFilesExtras.h @@ -7,7 +7,7 @@ ** ** File: MoreFilesExtras.h ** -** Copyright © 1992-1999 Apple Computer, Inc. +** Copyright © 1992-1999 Apple Computer, Inc. ** All rights reserved. ** ** You may incorporate this sample code into your applications without @@ -296,7 +296,7 @@ typedef MyAFPXVolMountInfo *MyAFPXVolMountInfoPtr, **MyAFPXVolMountInfoHandle; pascal void TruncPString(StringPtr destination, ConstStr255Param source, short maxLength); -/* ¦ International friendly string truncate routine. +/* ¶ International friendly string truncate routine. The TruncPString function copies up to maxLength characters from the source Pascal string to the destination Pascal string. TruncPString ensures that the truncated string ends on a single-byte character, or on @@ -312,7 +312,7 @@ pascal void TruncPString(StringPtr destination, pascal Ptr GetTempBuffer(long buffReqSize, long *buffActSize); -/* ¦ Allocate a temporary copy or search buffer. +/* ¶ Allocate a temporary copy or search buffer. The GetTempBuffer function allocates a temporary buffer for file system operations which is at least 1024 bytes (1K) and a multiple of 1024 bytes. @@ -329,7 +329,7 @@ pascal Ptr GetTempBuffer(long buffReqSize, pascal OSErr GetVolumeInfoNoName(ConstStr255Param pathname, short vRefNum, HParmBlkPtr pb); -/* ¦ Call PBHGetVInfoSync ignoring returned name. +/* ¶ Call PBHGetVInfoSync ignoring returned name. GetVolumeInfoNoName uses pathname and vRefNum to call PBHGetVInfoSync in cases where the returned volume name is not needed by the caller. The pathname and vRefNum parameters are not touched, and the pb @@ -360,7 +360,7 @@ pascal OSErr GetVolumeInfoNoName(ConstStr255Param pathname, pascal OSErr XGetVolumeInfoNoName(ConstStr255Param pathname, short vRefNum, XVolumeParamPtr pb); -/* ¦ Call PBXGetVolInfoSync ignoring returned name. +/* ¶ Call PBXGetVolInfoSync ignoring returned name. XGetVolumeInfoNoName uses pathname and vRefNum to call PBXGetVolInfoSync in cases where the returned volume name is not needed by the caller. The pathname and vRefNum parameters are not touched, and the pb @@ -389,7 +389,7 @@ pascal OSErr GetCatInfoNoName(short vRefNum, long dirID, ConstStr255Param name, CInfoPBPtr pb); -/* ¦ Call PBGetCatInfoSync ignoring returned name. +/* ¶ Call PBGetCatInfoSync ignoring returned name. GetCatInfoNoName uses vRefNum, dirID and name to call PBGetCatInfoSync in cases where the returned object is not needed by the caller. The vRefNum, dirID and name parameters are not touched, and the pb @@ -427,7 +427,7 @@ pascal OSErr GetCatInfoNoName(short vRefNum, pascal OSErr DetermineVRefNum(ConstStr255Param pathname, short vRefNum, short *realVRefNum); -/* ¦ Determine the real volume reference number. +/* ¶ Determine the real volume reference number. The DetermineVRefNum function determines the volume reference number of a volume from a pathname, a volume specification, or a combination of the two. @@ -459,7 +459,7 @@ pascal OSErr HGetVInfo(short volReference, short *vRefNum, unsigned long *freeBytes, unsigned long *totalBytes); -/* ¦ Get information about a mounted volume. +/* ¶ Get information about a mounted volume. The HGetVInfo function returns the name, volume reference number, available space (in bytes), and total space (in bytes) for the specified volume. You can specify the volume by providing its drive @@ -495,7 +495,7 @@ pascal OSErr XGetVInfo(short volReference, short *vRefNum, UInt64 *freeBytes, UInt64 *totalBytes); -/* ¦ Get extended information about a mounted volume. +/* ¶ Get extended information about a mounted volume. The XGetVInfo function returns the name, volume reference number, available space (in bytes), and total space (in bytes) for the specified volume. You can specify the volume by providing its drive @@ -528,7 +528,7 @@ pascal OSErr XGetVInfo(short volReference, pascal OSErr CheckVolLock(ConstStr255Param pathname, short vRefNum); -/* ¦ Determine if a volume is locked. +/* ¶ Determine if a volume is locked. The CheckVolLock function determines if a volume is locked - either by hardware or by software. If CheckVolLock returns noErr, then the volume is not locked. @@ -563,7 +563,7 @@ pascal OSErr CheckVolLock(ConstStr255Param pathname, pascal OSErr GetDriverName(short driverRefNum, Str255 driverName); -/* ¦ Get a device driver's name. +/* ¶ Get a device driver's name. The GetDriverName function returns a device driver's name. driverRefNum input: The driver reference number. @@ -579,7 +579,7 @@ pascal OSErr GetDriverName(short driverRefNum, pascal OSErr FindDrive(ConstStr255Param pathname, short vRefNum, DrvQElPtr *driveQElementPtr); -/* ¦ Find a volume's drive queue element in the drive queue. +/* ¶ Find a volume's drive queue element in the drive queue. The FindDrive function returns a pointer to a mounted volume's drive queue element. @@ -606,7 +606,7 @@ pascal OSErr FindDrive(ConstStr255Param pathname, pascal OSErr GetDiskBlocks(ConstStr255Param pathname, short vRefNum, unsigned long *numBlocks); -/* ¦ Return the number of physical disk blocks on a disk drive. +/* ¶ Return the number of physical disk blocks on a disk drive. The GetDiskBlocks function returns the number of physical disk blocks on a disk drive. NOTE: This is not the same as volume allocation blocks! @@ -629,14 +629,14 @@ pascal OSErr GetDiskBlocks(ConstStr255Param pathname, returned an unknown value, or driveQElementPtr->qType is unknown nsDrvErr -56 No such drive - statusErr Ð18 Driver does not respond to this + statusErr –18 Driver does not respond to this status request - badUnitErr Ð21 Driver reference number does not + badUnitErr –21 Driver reference number does not match unit table - unitEmptyErr Ð22 Driver reference number specifies + unitEmptyErr –22 Driver reference number specifies a nil handle in unit table - abortErr Ð27 Request aborted by KillIO - notOpenErr Ð28 Driver not open + abortErr –27 Request aborted by KillIO + notOpenErr –28 Driver not open */ /*****************************************************************************/ @@ -647,7 +647,7 @@ pascal OSErr GetVolState(ConstStr255Param pathname, Boolean *volumeEjected, Boolean *driveEjectable, Boolean *driverWantsEject); -/* ¦ Returns a volume's online and eject information. +/* ¶ Returns a volume's online and eject information. The GetVolState function determines if a volume is online or offline, if an offline volume is ejected, and if the volume's driver is ejectable or wants eject calls. @@ -682,7 +682,7 @@ pascal OSErr GetVolState(ConstStr255Param pathname, pascal OSErr GetVolFileSystemID(ConstStr255Param pathname, short vRefNum, short *fileSystemID); -/* ¦ Get a volume's file system ID. +/* ¶ Get a volume's file system ID. The GetVolFileSystemID function returned the file system ID of a mounted volume. The file system ID identifies the file system that handles requests to a particular volume. Here's a partial list @@ -722,7 +722,7 @@ pascal OSErr GetVolFileSystemID(ConstStr255Param pathname, pascal OSErr UnmountAndEject(ConstStr255Param pathname, short vRefNum); -/* ¦ Unmount and eject a volume. +/* ¶ Unmount and eject a volume. The UnmountAndEject function unmounts and ejects a volume. The volume is ejected only if it is ejectable and not already ejected. @@ -750,7 +750,7 @@ pascal OSErr OnLine(FSSpecPtr volumes, short reqVolCount, short *actVolCount, short *volIndex); -/* ¦ Return the list of volumes currently mounted. +/* ¶ Return the list of volumes currently mounted. The OnLine function returns the list of volumes currently mounted in an array of FSSpec records. @@ -783,7 +783,7 @@ pascal OSErr SetDefault(short newVRefNum, long newDirID, short *oldVRefNum, long *oldDirID); -/* ¦ Set the default volume before making Standard I/O requests. +/* ¶ Set the default volume before making Standard I/O requests. The SetDefault function sets the default volume and directory to the volume specified by newVRefNum and the directory specified by newDirID. The current default volume reference number and directory ID are @@ -838,7 +838,7 @@ pascal OSErr SetDefault(short newVRefNum, pascal OSErr RestoreDefault(short oldVRefNum, long oldDirID); -/* ¦ Restore the default volume after making Standard C I/O requests. +/* ¶ Restore the default volume after making Standard C I/O requests. The RestoreDefault function restores the default volume and directory to the volume specified by oldVRefNum and the directory specified by oldDirID. The oldVRefNum and oldDirID parameters were previously @@ -888,7 +888,7 @@ pascal OSErr GetDInfo(short vRefNum, long dirID, ConstStr255Param name, DInfo *fndrInfo); -/* ¦ Get the finder information for a directory. +/* ¶ Get the finder information for a directory. The GetDInfo function gets the finder information for a directory. vRefNum input: Volume specification. @@ -917,7 +917,7 @@ pascal OSErr GetDInfo(short vRefNum, pascal OSErr FSpGetDInfo(const FSSpec *spec, DInfo *fndrInfo); -/* ¦ Get the finder information for a directory. +/* ¶ Get the finder information for a directory. The FSpGetDInfo function gets the finder information for a directory. spec input: An FSSpec record specifying the directory. @@ -945,7 +945,7 @@ pascal OSErr SetDInfo(short vRefNum, long dirID, ConstStr255Param name, const DInfo *fndrInfo); -/* ¦ Set the finder information for a directory. +/* ¶ Set the finder information for a directory. The SetDInfo function sets the finder information for a directory. vRefNum input: Volume specification. @@ -976,7 +976,7 @@ pascal OSErr SetDInfo(short vRefNum, pascal OSErr FSpSetDInfo(const FSSpec *spec, const DInfo *fndrInfo); -/* ¦ Set the finder information for a directory. +/* ¶ Set the finder information for a directory. The FSpSetDInfo function sets the finder information for a directory. spec input: An FSSpec record specifying the directory. @@ -1012,7 +1012,7 @@ pascal OSErr GetDirectoryID(short vRefNum, ConstStr255Param name, long *theDirID, Boolean *isDirectory); -/* ¦ Get the directory ID number of the directory specified. +/* ¶ Get the directory ID number of the directory specified. The GetDirectoryID function gets the directory ID number of the directory specified. If a file is specified, then the parent directory of the file is returned and isDirectory is false. If @@ -1057,7 +1057,7 @@ pascal OSErr GetDirectoryID(short vRefNum, pascal OSErr FSpGetDirectoryID(const FSSpec *spec, long *theDirID, Boolean *isDirectory); -/* ¦ Get the directory ID number of a directory. +/* ¶ Get the directory ID number of a directory. The FSpGetDirectoryID function gets the directory ID number of the directory specified by spec. If spec is to a file, then the parent directory of the file is returned and isDirectory is false. If @@ -1086,7 +1086,7 @@ pascal OSErr FSpGetDirectoryID(const FSSpec *spec, pascal OSErr GetDirName(short vRefNum, long dirID, Str31 name); -/* ¦ Get the name of a directory from its directory ID. +/* ¶ Get the name of a directory from its directory ID. The GetDirName function gets the name of a directory from its directory ID. @@ -1114,7 +1114,7 @@ pascal OSErr GetIOACUser(short vRefNum, long dirID, ConstStr255Param name, SInt8 *ioACUser); -/* ¦ Get a directory's access restrictions byte. +/* ¶ Get a directory's access restrictions byte. GetIOACUser returns a directory's access restrictions byte. Use the masks and macro defined in MoreFilesExtras to check for specific access priviledges. @@ -1141,7 +1141,7 @@ pascal OSErr GetIOACUser(short vRefNum, pascal OSErr FSpGetIOACUser(const FSSpec *spec, SInt8 *ioACUser); -/* ¦ Get a directory's access restrictions byte. +/* ¶ Get a directory's access restrictions byte. FSpGetIOACUser returns a directory's access restrictions byte. Use the masks and macro defined in MoreFilesExtras to check for specific access priviledges. @@ -1167,7 +1167,7 @@ pascal OSErr GetParentID(short vRefNum, long dirID, ConstStr255Param name, long *parID); -/* ¦ Get the parent directory ID number of the specified object. +/* ¶ Get the parent directory ID number of the specified object. The GetParentID function gets the parent directory ID number of the specified object. @@ -1193,7 +1193,7 @@ pascal OSErr GetParentID(short vRefNum, pascal OSErr GetFilenameFromPathname(ConstStr255Param pathname, Str255 filename); -/* ¦ Get the object name from the end of a full or partial pathname. +/* ¶ Get the object name from the end of a full or partial pathname. The GetFilenameFromPathname function gets the file (or directory) name from the end of a full or partial pathname. Returns notAFileErr if the pathname is nil, the pathname is empty, or the pathname cannot refer to @@ -1223,7 +1223,7 @@ pascal OSErr GetObjectLocation(short vRefNum, long *realParID, Str255 realName, Boolean *isDirectory); -/* ¦ Get a file system object's location. +/* ¶ Get a file system object's location. The GetObjectLocation function gets a file system object's location - that is, its real volume reference number, real parent directory ID, and name. While we're at it, determine if the object is a file or directory. @@ -1275,7 +1275,7 @@ pascal OSErr GetDirItems(short vRefNum, short reqItemCount, short *actItemCount, short *itemIndex); -/* ¦ Return a list of items in a directory. +/* ¶ Return a list of items in a directory. The GetDirItems function returns a list of items in the specified directory in an array of FSSpec records. File, subdirectories, or both can be returned in the list. @@ -1323,7 +1323,7 @@ pascal OSErr GetDirItems(short vRefNum, pascal OSErr DeleteDirectoryContents(short vRefNum, long dirID, ConstStr255Param name); -/* ¦ Delete the contents of a directory. +/* ¶ Delete the contents of a directory. The DeleteDirectoryContents function deletes the contents of a directory. All files and subdirectories in the specified directory are deleted. If a locked file or directory is encountered, it is unlocked and then @@ -1360,7 +1360,7 @@ pascal OSErr DeleteDirectoryContents(short vRefNum, pascal OSErr DeleteDirectory(short vRefNum, long dirID, ConstStr255Param name); -/* ¦ Delete a directory and its contents. +/* ¶ Delete a directory and its contents. The DeleteDirectory function deletes a directory and its contents. All files and subdirectories in the specified directory are deleted. If a locked file or directory is encountered, it is unlocked and then @@ -1398,7 +1398,7 @@ pascal OSErr DeleteDirectory(short vRefNum, pascal OSErr CheckObjectLock(short vRefNum, long dirID, ConstStr255Param name); -/* ¦ Determine if a file or directory is locked. +/* ¶ Determine if a file or directory is locked. The CheckObjectLock function determines if a file or directory is locked. If CheckObjectLock returns noErr, then the file or directory is not locked. If CheckObjectLock returns fLckdErr, the it is locked. @@ -1428,7 +1428,7 @@ pascal OSErr CheckObjectLock(short vRefNum, /*****************************************************************************/ pascal OSErr FSpCheckObjectLock(const FSSpec *spec); -/* ¦ Determine if a file or directory is locked. +/* ¶ Determine if a file or directory is locked. The FSpCheckObjectLock function determines if a file or directory is locked. If FSpCheckObjectLock returns noErr, then the file or directory is not locked. @@ -1459,7 +1459,7 @@ pascal OSErr GetFileSize(short vRefNum, ConstStr255Param fileName, long *dataSize, long *rsrcSize); -/* ¦ Get the logical sizes of a file's forks. +/* ¶ Get the logical sizes of a file's forks. The GetFileSize function returns the logical size of a file's data and resource fork. @@ -1490,7 +1490,7 @@ pascal OSErr GetFileSize(short vRefNum, pascal OSErr FSpGetFileSize(const FSSpec *spec, long *dataSize, long *rsrcSize); -/* ¦ Get the logical sizes of a file's forks. +/* ¶ Get the logical sizes of a file's forks. The FSpGetFileSize function returns the logical size of a file's data and resource fork. @@ -1519,7 +1519,7 @@ pascal OSErr FSpGetFileSize(const FSSpec *spec, pascal OSErr BumpDate(short vRefNum, long dirID, ConstStr255Param name); -/* ¦ Update the modification date of a file or directory. +/* ¶ Update the modification date of a file or directory. The BumpDate function changes the modification date of a file or directory to the current date/time. If the modification date is already equal to the current date/time, then add one second to the @@ -1551,7 +1551,7 @@ pascal OSErr BumpDate(short vRefNum, /*****************************************************************************/ pascal OSErr FSpBumpDate(const FSSpec *spec); -/* ¦ Update the modification date of a file or directory. +/* ¶ Update the modification date of a file or directory. The FSpBumpDate function changes the modification date of a file or directory to the current date/time. If the modification date is already equal to the current date/time, then add one second to the @@ -1584,7 +1584,7 @@ pascal OSErr ChangeCreatorType(short vRefNum, ConstStr255Param name, OSType creator, OSType fileType); -/* ¦ Change the creator or file type of a file. +/* ¶ Change the creator or file type of a file. The ChangeCreatorType function changes the creator or file type of a file. vRefNum input: Volume specification. @@ -1619,7 +1619,7 @@ pascal OSErr ChangeCreatorType(short vRefNum, pascal OSErr FSpChangeCreatorType(const FSSpec *spec, OSType creator, OSType fileType); -/* ¦ Change the creator or file type of a file. +/* ¶ Change the creator or file type of a file. The FSpChangeCreatorType function changes the creator or file type of a file. spec input: An FSSpec record specifying the file. @@ -1654,7 +1654,7 @@ pascal OSErr ChangeFDFlags(short vRefNum, ConstStr255Param name, Boolean setBits, unsigned short flagBits); -/* ¦ Set or clear Finder Flag bits. +/* ¶ Set or clear Finder Flag bits. The ChangeFDFlags function sets or clears Finder Flag bits in the fdFlags field of a file or directory's FInfo record. @@ -1693,7 +1693,7 @@ pascal OSErr ChangeFDFlags(short vRefNum, pascal OSErr FSpChangeFDFlags(const FSSpec *spec, Boolean setBits, unsigned short flagBits); -/* ¦ Set or clear Finder Flag bits. +/* ¶ Set or clear Finder Flag bits. The FSpChangeFDFlags function sets or clears Finder Flag bits in the fdFlags field of a file or directory's FInfo record. @@ -1729,7 +1729,7 @@ pascal OSErr FSpChangeFDFlags(const FSSpec *spec, pascal OSErr SetIsInvisible(short vRefNum, long dirID, ConstStr255Param name); -/* ¦ Set the invisible Finder Flag bit. +/* ¶ Set the invisible Finder Flag bit. The SetIsInvisible function sets the invisible bit in the fdFlags word of the specified file or directory's finder information. @@ -1759,7 +1759,7 @@ pascal OSErr SetIsInvisible(short vRefNum, /*****************************************************************************/ pascal OSErr FSpSetIsInvisible(const FSSpec *spec); -/* ¦ Set the invisible Finder Flag bit. +/* ¶ Set the invisible Finder Flag bit. The FSpSetIsInvisible function sets the invisible bit in the fdFlags word of the specified file or directory's finder information. @@ -1788,7 +1788,7 @@ pascal OSErr FSpSetIsInvisible(const FSSpec *spec); pascal OSErr ClearIsInvisible(short vRefNum, long dirID, ConstStr255Param name); -/* ¦ Clear the invisible Finder Flag bit. +/* ¶ Clear the invisible Finder Flag bit. The ClearIsInvisible function clears the invisible bit in the fdFlags word of the specified file or directory's finder information. @@ -1818,7 +1818,7 @@ pascal OSErr ClearIsInvisible(short vRefNum, /*****************************************************************************/ pascal OSErr FSpClearIsInvisible(const FSSpec *spec); -/* ¦ Clear the invisible Finder Flag bit. +/* ¶ Clear the invisible Finder Flag bit. The FSpClearIsInvisible function clears the invisible bit in the fdFlags word of the specified file or directory's finder information. @@ -1847,7 +1847,7 @@ pascal OSErr FSpClearIsInvisible(const FSSpec *spec); pascal OSErr SetNameLocked(short vRefNum, long dirID, ConstStr255Param name); -/* ¦ Set the nameLocked Finder Flag bit. +/* ¶ Set the nameLocked Finder Flag bit. The SetNameLocked function sets the nameLocked bit in the fdFlags word of the specified file or directory's finder information. @@ -1877,7 +1877,7 @@ pascal OSErr SetNameLocked(short vRefNum, /*****************************************************************************/ pascal OSErr FSpSetNameLocked(const FSSpec *spec); -/* ¦ Set the nameLocked Finder Flag bit. +/* ¶ Set the nameLocked Finder Flag bit. The FSpSetNameLocked function sets the nameLocked bit in the fdFlags word of the specified file or directory's finder information. @@ -1906,7 +1906,7 @@ pascal OSErr FSpSetNameLocked(const FSSpec *spec); pascal OSErr ClearNameLocked(short vRefNum, long dirID, ConstStr255Param name); -/* ¦ Clear the nameLocked Finder Flag bit. +/* ¶ Clear the nameLocked Finder Flag bit. The ClearNameLocked function clears the nameLocked bit in the fdFlags word of the specified file or directory's finder information. @@ -1936,7 +1936,7 @@ pascal OSErr ClearNameLocked(short vRefNum, /*****************************************************************************/ pascal OSErr FSpClearNameLocked(const FSSpec *spec); -/* ¦ Clear the nameLocked Finder Flag bit. +/* ¶ Clear the nameLocked Finder Flag bit. The FSpClearNameLocked function clears the nameLocked bit in the fdFlags word of the specified file or directory's finder information. @@ -1965,7 +1965,7 @@ pascal OSErr FSpClearNameLocked(const FSSpec *spec); pascal OSErr SetIsStationery(short vRefNum, long dirID, ConstStr255Param name); -/* ¦ Set the isStationery Finder Flag bit. +/* ¶ Set the isStationery Finder Flag bit. The SetIsStationery function sets the isStationery bit in the fdFlags word of the specified file or directory's finder information. @@ -1995,7 +1995,7 @@ pascal OSErr SetIsStationery(short vRefNum, /*****************************************************************************/ pascal OSErr FSpSetIsStationery(const FSSpec *spec); -/* ¦ Set the isStationery Finder Flag bit. +/* ¶ Set the isStationery Finder Flag bit. The FSpSetIsStationery function sets the isStationery bit in the fdFlags word of the specified file or directory's finder information. @@ -2024,7 +2024,7 @@ pascal OSErr FSpSetIsStationery(const FSSpec *spec); pascal OSErr ClearIsStationery(short vRefNum, long dirID, ConstStr255Param name); -/* ¦ Clear the isStationery Finder Flag bit. +/* ¶ Clear the isStationery Finder Flag bit. The ClearIsStationery function clears the isStationery bit in the fdFlags word of the specified file or directory's finder information. @@ -2054,7 +2054,7 @@ pascal OSErr ClearIsStationery(short vRefNum, /*****************************************************************************/ pascal OSErr FSpClearIsStationery(const FSSpec *spec); -/* ¦ Clear the isStationery Finder Flag bit. +/* ¶ Clear the isStationery Finder Flag bit. The FSpClearIsStationery function clears the isStationery bit in the fdFlags word of the specified file or directory's finder information. @@ -2083,7 +2083,7 @@ pascal OSErr FSpClearIsStationery(const FSSpec *spec); pascal OSErr SetHasCustomIcon(short vRefNum, long dirID, ConstStr255Param name); -/* ¦ Set the hasCustomIcon Finder Flag bit. +/* ¶ Set the hasCustomIcon Finder Flag bit. The SetHasCustomIcon function sets the hasCustomIcon bit in the fdFlags word of the specified file or directory's finder information. @@ -2113,7 +2113,7 @@ pascal OSErr SetHasCustomIcon(short vRefNum, /*****************************************************************************/ pascal OSErr FSpSetHasCustomIcon(const FSSpec *spec); -/* ¦ Set the hasCustomIcon Finder Flag bit. +/* ¶ Set the hasCustomIcon Finder Flag bit. The FSpSetHasCustomIcon function sets the hasCustomIcon bit in the fdFlags word of the specified file or directory's finder information. @@ -2142,7 +2142,7 @@ pascal OSErr FSpSetHasCustomIcon(const FSSpec *spec); pascal OSErr ClearHasCustomIcon(short vRefNum, long dirID, ConstStr255Param name); -/* ¦ Clear the hasCustomIcon Finder Flag bit. +/* ¶ Clear the hasCustomIcon Finder Flag bit. The ClearHasCustomIcon function clears the hasCustomIcon bit in the fdFlags word of the specified file or directory's finder information. @@ -2172,7 +2172,7 @@ pascal OSErr ClearHasCustomIcon(short vRefNum, /*****************************************************************************/ pascal OSErr FSpClearHasCustomIcon(const FSSpec *spec); -/* ¦ Clear the hasCustomIcon Finder Flag bit. +/* ¶ Clear the hasCustomIcon Finder Flag bit. The FSpClearHasCustomIcon function clears the hasCustomIcon bit in the fdFlags word of the specified file or directory's finder information. @@ -2201,7 +2201,7 @@ pascal OSErr FSpClearHasCustomIcon(const FSSpec *spec); pascal OSErr ClearHasBeenInited(short vRefNum, long dirID, ConstStr255Param name); -/* ¦ Clear the hasBeenInited Finder Flag bit. +/* ¶ Clear the hasBeenInited Finder Flag bit. The ClearHasBeenInited function clears the hasBeenInited bit in the fdFlags word of the specified file or directory's finder information. @@ -2231,7 +2231,7 @@ pascal OSErr ClearHasBeenInited(short vRefNum, /*****************************************************************************/ pascal OSErr FSpClearHasBeenInited(const FSSpec *spec); -/* ¦ Clear the hasBeenInited Finder Flag bit. +/* ¶ Clear the hasBeenInited Finder Flag bit. The FSpClearHasBeenInited function clears the hasBeenInited bit in the fdFlags word of the specified file or directory's finder information. @@ -2264,7 +2264,7 @@ pascal OSErr CopyFileMgrAttributes(short srcVRefNum, long dstDirID, ConstStr255Param dstName, Boolean copyLockBit); -/* ¦ Copy all File Manager attributes from the source to the destination. +/* ¶ Copy all File Manager attributes from the source to the destination. The CopyFileMgrAttributes function copies all File Manager attributes from the source file or directory to the destination file or directory. If copyLockBit is true, then set the locked state of the destination @@ -2304,7 +2304,7 @@ pascal OSErr CopyFileMgrAttributes(short srcVRefNum, pascal OSErr FSpCopyFileMgrAttributes(const FSSpec *srcSpec, const FSSpec *dstSpec, Boolean copyLockBit); -/* ¦ Copy all File Manager attributes from the source to the destination. +/* ¶ Copy all File Manager attributes from the source to the destination. The FSpCopyFileMgrAttributes function copies all File Manager attributes from the source file or directory to the destination file or directory. If copyLockBit is true, then set the locked state of the destination @@ -2340,7 +2340,7 @@ pascal OSErr HOpenAware(short vRefNum, ConstStr255Param fileName, short denyModes, short *refNum); -/* ¦ Open the data fork of a file using deny mode permissions. +/* ¶ Open the data fork of a file using deny mode permissions. The HOpenAware function opens the data fork of a file using deny mode permissions instead the normal File Manager permissions. If OpenDeny is not available, then HOpenAware translates the deny modes to the @@ -2380,7 +2380,7 @@ pascal OSErr HOpenAware(short vRefNum, pascal OSErr FSpOpenAware(const FSSpec *spec, short denyModes, short *refNum); -/* ¦ Open the data fork of a file using deny mode permissions. +/* ¶ Open the data fork of a file using deny mode permissions. The FSpOpenAware function opens the data fork of a file using deny mode permissions instead the normal File Manager permissions. If OpenDeny is not available, then FSpOpenAware translates the deny modes to the @@ -2420,7 +2420,7 @@ pascal OSErr HOpenRFAware(short vRefNum, ConstStr255Param fileName, short denyModes, short *refNum); -/* ¦ Open the resource fork of a file using deny mode permissions. +/* ¶ Open the resource fork of a file using deny mode permissions. The HOpenRFAware function opens the resource fork of a file using deny mode permissions instead the normal File Manager permissions. If OpenRFDeny is not available, then HOpenRFAware translates the deny @@ -2459,7 +2459,7 @@ pascal OSErr HOpenRFAware(short vRefNum, pascal OSErr FSpOpenRFAware(const FSSpec *spec, short denyModes, short *refNum); -/* ¦ Open the resource fork of a file using deny mode permissions. +/* ¶ Open the resource fork of a file using deny mode permissions. The FSpOpenRFAware function opens the resource fork of a file using deny mode permissions instead the normal File Manager permissions. If OpenRFDeny is not available, then FSpOpenRFAware translates the deny @@ -2496,7 +2496,7 @@ pascal OSErr FSpOpenRFAware(const FSSpec *spec, pascal OSErr FSReadNoCache(short refNum, long *count, void *buffPtr); -/* ¦ Read any number of bytes from an open file requesting no caching. +/* ¶ Read any number of bytes from an open file requesting no caching. The FSReadNoCache function reads any number of bytes from an open file while asking the file system to bypass its cache mechanism. @@ -2508,14 +2508,14 @@ pascal OSErr FSReadNoCache(short refNum, Result Codes noErr 0 No error - readErr Ð19 Driver does not respond to read requests - badUnitErr Ð21 Driver reference number does not + readErr –19 Driver does not respond to read requests + badUnitErr –21 Driver reference number does not match unit table - unitEmptyErr Ð22 Driver reference number specifies a + unitEmptyErr –22 Driver reference number specifies a nil handle in unit table - abortErr Ð27 Request aborted by KillIO - notOpenErr Ð28 Driver not open - ioErr Ð36 Data does not match in read-verify mode + abortErr –27 Request aborted by KillIO + notOpenErr –28 Driver not open + ioErr –36 Data does not match in read-verify mode fnOpnErr -38 File not open rfNumErr -51 Bad reference number afpAccessDenied -5000 User does not have the correct access to @@ -2531,7 +2531,7 @@ pascal OSErr FSReadNoCache(short refNum, pascal OSErr FSWriteNoCache(short refNum, long *count, const void *buffPtr); -/* ¦ Write any number of bytes to an open file requesting no caching. +/* ¶ Write any number of bytes to an open file requesting no caching. The FSReadNoCache function writes any number of bytes to an open file while asking the file system to bypass its cache mechanism. @@ -2543,21 +2543,21 @@ pascal OSErr FSWriteNoCache(short refNum, Result Codes noErr 0 No error - writErr Ð20 Driver does not respond to write requests - badUnitErr Ð21 Driver reference number does not + writErr –20 Driver does not respond to write requests + badUnitErr –21 Driver reference number does not match unit table - unitEmptyErr Ð22 Driver reference number specifies a + unitEmptyErr –22 Driver reference number specifies a nil handle in unit table - abortErr Ð27 Request aborted by KillIO - notOpenErr Ð28 Driver not open + abortErr –27 Request aborted by KillIO + notOpenErr –28 Driver not open dskFulErr -34 Disk full - ioErr Ð36 Data does not match in read-verify mode + ioErr –36 Data does not match in read-verify mode fnOpnErr -38 File not open wPrErr -44 Hardware volume lock fLckdErr -45 File is locked vLckdErr -46 Software volume lock rfNumErr -51 Bad reference number - wrPermErr -61 Read/write permission doesnÕt + wrPermErr -61 Read/write permission doesn’t allow writing afpAccessDenied -5000 User does not have the correct access to the file @@ -2572,7 +2572,7 @@ pascal OSErr FSWriteNoCache(short refNum, pascal OSErr FSWriteVerify(short refNum, long *count, const void *buffPtr); -/* ¦ Write any number of bytes to an open file and then verify the data was written. +/* ¶ Write any number of bytes to an open file and then verify the data was written. The FSWriteVerify function writes any number of bytes to an open file and then verifies that the data was actually written to the device. @@ -2584,16 +2584,16 @@ pascal OSErr FSWriteVerify(short refNum, Result Codes noErr 0 No error - readErr Ð19 Driver does not respond to read requests - writErr Ð20 Driver does not respond to write requests - badUnitErr Ð21 Driver reference number does not + readErr –19 Driver does not respond to read requests + writErr –20 Driver does not respond to write requests + badUnitErr –21 Driver reference number does not match unit table - unitEmptyErr Ð22 Driver reference number specifies a + unitEmptyErr –22 Driver reference number specifies a nil handle in unit table - abortErr Ð27 Request aborted by KillIO - notOpenErr Ð28 Driver not open + abortErr –27 Request aborted by KillIO + notOpenErr –28 Driver not open dskFulErr -34 Disk full - ioErr Ð36 Data does not match in read-verify mode + ioErr –36 Data does not match in read-verify mode fnOpnErr -38 File not open eofErr -39 Logical end-of-file reached posErr -40 Attempt to position mark before start @@ -2603,7 +2603,7 @@ pascal OSErr FSWriteVerify(short refNum, vLckdErr -46 Software volume lock rfNumErr -51 Bad reference number gfpErr -52 Error during GetFPos - wrPermErr -61 Read/write permission doesnÕt + wrPermErr -61 Read/write permission doesn’t allow writing memFullErr -108 Not enough room in heap zone to allocate verify buffer @@ -2617,7 +2617,7 @@ pascal OSErr CopyFork(short srcRefNum, short dstRefNum, void *copyBufferPtr, long copyBufferSize); -/* ¦ Copy all data from the source fork to the destination fork of open file forks. +/* ¶ Copy all data from the source fork to the destination fork of open file forks. The CopyFork function copies all data from the source fork to the destination fork of open file forks and makes sure the destination EOF is equal to the source EOF. @@ -2631,22 +2631,22 @@ pascal OSErr CopyFork(short srcRefNum, Result Codes noErr 0 No error - readErr Ð19 Driver does not respond to read requests - writErr Ð20 Driver does not respond to write requests - badUnitErr Ð21 Driver reference number does not + readErr –19 Driver does not respond to read requests + writErr –20 Driver does not respond to write requests + badUnitErr –21 Driver reference number does not match unit table - unitEmptyErr Ð22 Driver reference number specifies a + unitEmptyErr –22 Driver reference number specifies a nil handle in unit table - abortErr Ð27 Request aborted by KillIO - notOpenErr Ð28 Driver not open + abortErr –27 Request aborted by KillIO + notOpenErr –28 Driver not open dskFulErr -34 Disk full - ioErr Ð36 Data does not match in read-verify mode + ioErr –36 Data does not match in read-verify mode fnOpnErr -38 File not open wPrErr -44 Hardware volume lock fLckdErr -45 File is locked vLckdErr -46 Software volume lock rfNumErr -51 Bad reference number - wrPermErr -61 Read/write permission doesnÕt + wrPermErr -61 Read/write permission doesn’t allow writing afpAccessDenied -5000 User does not have the correct access to the file @@ -2658,7 +2658,7 @@ pascal OSErr GetFileLocation(short refNum, short *vRefNum, long *dirID, StringPtr fileName); -/* ¦ Get the location of an open file. +/* ¶ Get the location of an open file. The GetFileLocation function gets the location (volume reference number, directory ID, and fileName) of an open file. @@ -2671,7 +2671,7 @@ pascal OSErr GetFileLocation(short refNum, Result Codes noErr 0 No error - nsvErr -35 Specified volume doesnÕt exist + nsvErr -35 Specified volume doesn’t exist fnOpnErr -38 File not open rfNumErr -51 Reference number specifies nonexistent access path @@ -2685,7 +2685,7 @@ pascal OSErr GetFileLocation(short refNum, pascal OSErr FSpGetFileLocation(short refNum, FSSpec *spec); -/* ¦ Get the location of an open file in an FSSpec record. +/* ¶ Get the location of an open file in an FSSpec record. The FSpGetFileLocation function gets the location of an open file in an FSSpec record. @@ -2694,7 +2694,7 @@ pascal OSErr FSpGetFileLocation(short refNum, Result Codes noErr 0 No error - nsvErr -35 Specified volume doesnÕt exist + nsvErr -35 Specified volume doesn’t exist fnOpnErr -38 File not open rfNumErr -51 Reference number specifies nonexistent access path @@ -2712,7 +2712,7 @@ pascal OSErr CopyDirectoryAccess(short srcVRefNum, short dstVRefNum, long dstDirID, ConstStr255Param dstName); -/* ¦ Copy the AFP directory access privileges. +/* ¶ Copy the AFP directory access privileges. The CopyDirectoryAccess function copies the AFP directory access privileges from one directory to another. Both directories must be on the same file server, but not necessarily on the same server volume. @@ -2745,7 +2745,7 @@ pascal OSErr CopyDirectoryAccess(short srcVRefNum, pascal OSErr FSpCopyDirectoryAccess(const FSSpec *srcSpec, const FSSpec *dstSpec); -/* ¦ Copy the AFP directory access privileges. +/* ¶ Copy the AFP directory access privileges. The FSpCopyDirectoryAccess function copies the AFP directory access privileges from one directory to another. Both directories must be on the same file server, but not necessarily on the same server volume. @@ -2776,7 +2776,7 @@ pascal OSErr HMoveRenameCompat(short vRefNum, long dstDirID, ConstStr255Param dstpathName, ConstStr255Param copyName); -/* ¦ Move a file or directory and optionally rename it. +/* ¶ Move a file or directory and optionally rename it. The HMoveRenameCompat function moves a file or directory and optionally renames it. The source and destination locations must be on the same volume. This routine works even if the volume doesn't support MoveRename. @@ -2832,7 +2832,7 @@ pascal OSErr HMoveRenameCompat(short vRefNum, pascal OSErr FSpMoveRenameCompat(const FSSpec *srcSpec, const FSSpec *dstSpec, ConstStr255Param copyName); -/* ¦ Move a file or directory and optionally rename it. +/* ¶ Move a file or directory and optionally rename it. The FSpMoveRenameCompat function moves a file or directory and optionally renames it. The source and destination locations must be on the same volume. This routine works even if the volume doesn't support MoveRename. @@ -2893,7 +2893,7 @@ pascal OSErr BuildAFPVolMountInfo(short flags, Str8 userPassword, Str8 volPassword, AFPVolMountInfoPtr *afpInfoPtr); -/* ¦ Allocate and initializes the fields of an AFPVolMountInfo record. +/* ¶ Allocate and initializes the fields of an AFPVolMountInfo record. The BuildAFPVolMountInfo function allocates and initializes the fields of an AFPVolMountInfo record before using that record to call the VolumeMount function. @@ -2942,7 +2942,7 @@ pascal OSErr RetrieveAFPVolMountInfo(AFPVolMountInfoPtr afpInfoPtr, StringPtr serverName, StringPtr volName, StringPtr userName); -/* ¦ Retrieve the AFP mounting information from an AFPVolMountInfo record. +/* ¶ Retrieve the AFP mounting information from an AFPVolMountInfo record. The RetrieveAFPVolMountInfo function retrieves the AFP mounting information returned in an AFPVolMountInfo record by the GetVolMountInfo function. @@ -2985,7 +2985,7 @@ pascal OSErr BuildAFPXVolMountInfo(short flags, unsigned long alternateAddressLength, void *alternateAddress, AFPXVolMountInfoPtr *afpXInfoPtr); -/* ¦ Allocate and initializes the fields of an AFPXVolMountInfo record. +/* ¶ Allocate and initializes the fields of an AFPXVolMountInfo record. The BuildAFPXVolMountInfo function allocates and initializes the fields of an AFPXVolMountInfo record before using that record to call the VolumeMount function. @@ -3040,7 +3040,7 @@ pascal OSErr RetrieveAFPXVolMountInfo(AFPXVolMountInfoPtr afpXInfoPtr, StringPtr uamName, unsigned long *alternateAddressLength, AFPAlternateAddress **alternateAddress); -/* ¦ Retrieve the AFP mounting information from an AFPXVolMountInfo record. +/* ¶ Retrieve the AFP mounting information from an AFPXVolMountInfo record. The RetrieveAFPXVolMountInfo function retrieves the AFP mounting information returned in an AFPXVolMountInfo record by the GetVolMountInfo function. @@ -3085,7 +3085,7 @@ pascal OSErr GetUGEntries(short objType, long reqEntryCount, long *actEntryCount, long *objID); -/* ¦ Retrieve a list of user or group entries from the local file server. +/* ¶ Retrieve a list of user or group entries from the local file server. The GetUGEntries functions retrieves a list of user or group entries from the local file server. diff --git a/BungieFrameWork/BFW_Source/BFW_FileManager/Platform_MacOS/MoreFiles/Optimization.h b/BungieFrameWork/BFW_Source/BFW_FileManager/Platform_MacOS/MoreFiles/Optimization.h index 768ff8d..036450e 100644 --- a/BungieFrameWork/BFW_Source/BFW_FileManager/Platform_MacOS/MoreFiles/Optimization.h +++ b/BungieFrameWork/BFW_Source/BFW_FileManager/Platform_MacOS/MoreFiles/Optimization.h @@ -7,7 +7,7 @@ ** ** File: Optimization.h ** -** Copyright © 1992-1999 Apple Computer, Inc. +** Copyright © 1992-1999 Apple Computer, Inc. ** All rights reserved. ** ** You may incorporate this sample code into your applications without diff --git a/BungieFrameWork/BFW_Source/BFW_FileManager/Platform_MacOS/MoreFiles/OptimizationEnd.h b/BungieFrameWork/BFW_Source/BFW_FileManager/Platform_MacOS/MoreFiles/OptimizationEnd.h index b2ffc15..ee6e4b3 100644 --- a/BungieFrameWork/BFW_Source/BFW_FileManager/Platform_MacOS/MoreFiles/OptimizationEnd.h +++ b/BungieFrameWork/BFW_Source/BFW_FileManager/Platform_MacOS/MoreFiles/OptimizationEnd.h @@ -7,7 +7,7 @@ ** ** File: OptimizationEnd.h ** -** Copyright © 1992-1999 Apple Computer, Inc. +** Copyright © 1992-1999 Apple Computer, Inc. ** All rights reserved. ** ** You may incorporate this sample code into your applications without diff --git a/BungieFrameWork/BFW_Source/BFW_FileManager/Platform_MacOS/MoreFiles/Search.c b/BungieFrameWork/BFW_Source/BFW_FileManager/Platform_MacOS/MoreFiles/Search.c index 3282703..8d4dee0 100644 --- a/BungieFrameWork/BFW_Source/BFW_FileManager/Platform_MacOS/MoreFiles/Search.c +++ b/BungieFrameWork/BFW_Source/BFW_FileManager/Platform_MacOS/MoreFiles/Search.c @@ -7,7 +7,7 @@ ** ** File: Search.c ** -** Copyright © 1992-1999 Apple Computer, Inc. +** Copyright © 1992-1999 Apple Computer, Inc. ** All rights reserved. ** ** You may incorporate this sample code into your applications without diff --git a/BungieFrameWork/BFW_Source/BFW_FileManager/Platform_MacOS/MoreFiles/Search.h b/BungieFrameWork/BFW_Source/BFW_FileManager/Platform_MacOS/MoreFiles/Search.h index b6f6838..c2a8c70 100644 --- a/BungieFrameWork/BFW_Source/BFW_FileManager/Platform_MacOS/MoreFiles/Search.h +++ b/BungieFrameWork/BFW_Source/BFW_FileManager/Platform_MacOS/MoreFiles/Search.h @@ -7,7 +7,7 @@ ** ** File: Search.h ** -** Copyright © 1992-1999 Apple Computer, Inc. +** Copyright © 1992-1999 Apple Computer, Inc. ** All rights reserved. ** ** You may incorporate this sample code into your applications without @@ -35,7 +35,7 @@ extern "C" { pascal OSErr IndexedSearch(CSParamPtr pb, long dirID); -/* ¦ Search in and below a directory. +/* ¶ Search in and below a directory. The IndexedSearch function performs an indexed search in and below the specified directory using the same parameters (in pb) as is passed to PBCatSearch. See Inside Macintosh: Files for a description of the @@ -79,7 +79,7 @@ pascal OSErr IndexedSearch(CSParamPtr pb, /*****************************************************************************/ pascal OSErr PBCatSearchSyncCompat(CSParamPtr paramBlock); -/* ¦ Search a volume using PBCatSearch or IndexedSearch. +/* ¶ Search a volume using PBCatSearch or IndexedSearch. The PBCatSearchSyncCompat function uses PBCatSearch (if available) or IndexedSearch (if PBCatSearch is not available) to search a volume using a set of search criteria that you specify. It builds a list of all @@ -130,7 +130,7 @@ pascal OSErr NameFileSearch(ConstStr255Param volName, long *actMatchCount, Boolean newSearch, Boolean partial); -/* ¦ Search for files by file name with PBCatSearch. +/* ¶ Search for files by file name with PBCatSearch. The NameFileSearch function searches for files with a specific file name on a volume that supports PBCatSearch. Note: A result of catChangedErr means the catalog has changed between @@ -187,7 +187,7 @@ pascal OSErr CreatorTypeFileSearch(ConstStr255Param volName, long reqMatchCount, long *actMatchCount, Boolean newSearch); -/* ¦ Search for files by creator/fileType with PBCatSearch. +/* ¶ Search for files by creator/fileType with PBCatSearch. The CreatorTypeFileSearch function searches for files with a specific creator or fileType on a volume that supports PBCatSearch. Note: A result of catChangedErr means the catalog has changed between diff --git a/BungieFrameWork/BFW_Source/BFW_FileManager/Platform_MacOS/MoreFiles/Sharing.h b/BungieFrameWork/BFW_Source/BFW_FileManager/Platform_MacOS/MoreFiles/Sharing.h index 64114a9..bfc8f32 100644 --- a/BungieFrameWork/BFW_Source/BFW_FileManager/Platform_MacOS/MoreFiles/Sharing.h +++ b/BungieFrameWork/BFW_Source/BFW_FileManager/Platform_MacOS/MoreFiles/Sharing.h @@ -8,7 +8,7 @@ ** ** File: Sharing.h ** -** Copyright © 1992-1996 Apple Computer, Inc. +** Copyright © 1992-1996 Apple Computer, Inc. ** All rights reserved. ** ** You may incorporate this sample code into your applications without diff --git a/BungieFrameWork/BFW_Source/BFW_Motoko/Engines/DrawEngine/Direct3D/MD_DC_Method_LinePoint.c b/BungieFrameWork/BFW_Source/BFW_Motoko/Engines/DrawEngine/Direct3D/MD_DC_Method_LinePoint.c index 9b456cd..230dcf6 100644 --- a/BungieFrameWork/BFW_Source/BFW_Motoko/Engines/DrawEngine/Direct3D/MD_DC_Method_LinePoint.c +++ b/BungieFrameWork/BFW_Source/BFW_Motoko/Engines/DrawEngine/Direct3D/MD_DC_Method_LinePoint.c @@ -160,7 +160,7 @@ MDrDrawContext_Method_Line_Interpolate( if (fabs_dx > fabs_dy) { /* - * Æx is larger, so the major axis will be X. + * Δx is larger, so the major axis will be X. */ rgbMajorIncrement = rgbPixelBytes; @@ -195,7 +195,7 @@ MDrDrawContext_Method_Line_Interpolate( else { /* - * Æy is larger, so the major axis will be Y. + * Δy is larger, so the major axis will be Y. */ rgbMajorIncrement = rgbRowBytes; @@ -454,7 +454,7 @@ MDrDrawContext_Method_Line_Flat( if (fabs_dx > fabs_dy) { /* - * Æx is larger, so the major axis will be X. + * Δx is larger, so the major axis will be X. */ rgbMajorIncrement = rgbPixelBytes; @@ -485,7 +485,7 @@ MDrDrawContext_Method_Line_Flat( else { /* - * Æy is larger, so the major axis will be Y. + * Δy is larger, so the major axis will be Y. */ rgbMajorIncrement = rgbRowBytes; diff --git a/BungieFrameWork/BFW_Source/BFW_Motoko/Engines/DrawEngine/OpenGL/gl_macos.c b/BungieFrameWork/BFW_Source/BFW_Motoko/Engines/DrawEngine/OpenGL/gl_macos.c index d93b626..628b770 100644 --- a/BungieFrameWork/BFW_Source/BFW_Motoko/Engines/DrawEngine/OpenGL/gl_macos.c +++ b/BungieFrameWork/BFW_Source/BFW_Motoko/Engines/DrawEngine/OpenGL/gl_macos.c @@ -980,7 +980,7 @@ static Boolean FindBestMatch( unsigned long horizontal, unsigned long vertical) { - // ¥¥ do the big comparison ¥¥ + // •• do the big comparison •• // first time only if (no mode yet) and // (bounds are greater/equal or kMaximizeRes not set) and // (depth is less/equal or kShallowDepth not set) and @@ -1042,7 +1042,7 @@ static Boolean FindBestMatch( } else { - // match resolution: minimize Æh & Æv + // match resolution: minimize Δh & Δv if ( abs((requestRecPtr->reqHorizontal - horizontal)) <= abs((requestRecPtr->reqHorizontal - requestRecPtr->availHorizontal)) && abs((requestRecPtr->reqVertical - vertical)) <= diff --git a/BungieFrameWork/BFW_Source/BFW_Motoko/Engines/DrawEngine/Software/MS_DC_Method_LinePoint.c b/BungieFrameWork/BFW_Source/BFW_Motoko/Engines/DrawEngine/Software/MS_DC_Method_LinePoint.c index 32eeff3..88aa90a 100644 --- a/BungieFrameWork/BFW_Source/BFW_Motoko/Engines/DrawEngine/Software/MS_DC_Method_LinePoint.c +++ b/BungieFrameWork/BFW_Source/BFW_Motoko/Engines/DrawEngine/Software/MS_DC_Method_LinePoint.c @@ -158,7 +158,7 @@ MSrDrawContext_Method_Line_Interpolate( if (fabs_dx > fabs_dy) { /* - * Æx is larger, so the major axis will be X. + * Δx is larger, so the major axis will be X. */ rgbMajorIncrement = rgbPixelBytes; @@ -193,7 +193,7 @@ MSrDrawContext_Method_Line_Interpolate( else { /* - * Æy is larger, so the major axis will be Y. + * Δy is larger, so the major axis will be Y. */ rgbMajorIncrement = rgbRowBytes; @@ -451,7 +451,7 @@ MSrDrawContext_Method_Line_Flat( if (fabs_dx > fabs_dy) { /* - * Æx is larger, so the major axis will be X. + * Δx is larger, so the major axis will be X. */ rgbMajorIncrement = rgbPixelBytes; @@ -482,7 +482,7 @@ MSrDrawContext_Method_Line_Flat( else { /* - * Æy is larger, so the major axis will be Y. + * Δy is larger, so the major axis will be Y. */ rgbMajorIncrement = rgbRowBytes; diff --git a/BungieFrameWork/BFW_Source/BFW_Motoko/Manager/Motoko_Geom_Camera.c b/BungieFrameWork/BFW_Source/BFW_Motoko/Manager/Motoko_Geom_Camera.c index 0ad1a5c..ee0671e 100644 --- a/BungieFrameWork/BFW_Source/BFW_Motoko/Manager/Motoko_Geom_Camera.c +++ b/BungieFrameWork/BFW_Source/BFW_Motoko/Manager/Motoko_Geom_Camera.c @@ -109,7 +109,7 @@ What Am I Looking At?" July 1988. With a few corrections, of course. If you take the time to solve M * (Cl + Vv), etc you will find that you get the right answers(providing that you remember - that UvxVvx + UvyVvy + UvzVvz is equal to Uv ¥ Vv which by definition + that UvxVvx + UvyVvy + UvzVvz is equal to Uv • Vv which by definition is 0) */