Commit 6fba1b84 authored by Jack Jansen's avatar Jack Jansen

removed a routine that has moved to macglue.c

parent b343bf8e
...@@ -87,27 +87,6 @@ PyMac_init_process_location() ...@@ -87,27 +87,6 @@ PyMac_init_process_location()
return 0; return 0;
} }
/* Given an FSSpec, return the FSSpec of the parent folder */
static OSErr
get_folder_parent (FSSpec * fss, FSSpec * parent)
{
CInfoPBRec rec;
short err;
* parent = * fss;
rec.hFileInfo.ioNamePtr = parent->name;
rec.hFileInfo.ioVRefNum = parent->vRefNum;
rec.hFileInfo.ioDirID = parent->parID;
rec.hFileInfo.ioFDirIndex = -1;
rec.hFileInfo.ioFVersNum = 0;
if (err = PBGetCatInfoSync (& rec))
return err;
parent->parID = rec.dirInfo.ioDrParID;
/* parent->name[0] = 0; */
return 0;
}
/* Check that there aren't any args remaining in the event */ /* Check that there aren't any args remaining in the event */
static OSErr static OSErr
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment