I think I came up with a temporary fix.
In Toolbox.c I needed to modify two functions:
GetfileWritability
CreteAndOpenTemporaryFile
both these functions call the defective GetFileInfo as seen below. I simply changed that call to the working FileExists.
FileExits returns the need 1 or 0, but it will not catch a true Too Many File handles open error
//switch (GetFileInfo (tempPathName, &dummy)) /* formatio.h */
switch (FileExists (tempPathName, &dummy)) /* formatio.h */
{
case 1: /* file exists */
break; /* increment index and try again */
case 0: /* file does not exist */
foundNameToUse = TRUE;
break;
case -1: /* too many file handles open */
errChk (UIETooManyFilesOpen);
break;
default: /* should not occur */
errChk (UIEIOError);
break;
}
I'm not sure of the total impact those changes will make, but for now it works
Any thoughts?
Thanks
Gary