]> granicus.if.org Git - python/commitdiff
removed a routine that has moved to macglue.c
authorJack Jansen <jack.jansen@cwi.nl>
Tue, 22 May 2001 22:37:05 +0000 (22:37 +0000)
committerJack Jansen <jack.jansen@cwi.nl>
Tue, 22 May 2001 22:37:05 +0000 (22:37 +0000)
Mac/Python/macgetargv.c

index bc5bbd56fe7b418bf5a737b9d2131097401a1535..ac4e2868f8245f5c2cbe1ccf827872ae8454b688 100644 (file)
@@ -87,27 +87,6 @@ PyMac_init_process_location()
        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 */
 
 static OSErr