Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fe9110b

Browse files
committed
removed a routine that has moved to macglue.c
1 parent 0c23231 commit fe9110b

1 file changed

Lines changed: 0 additions & 21 deletions

File tree

Mac/Python/macgetargv.c

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -87,27 +87,6 @@ PyMac_init_process_location()
8787
return 0;
8888
}
8989

90-
/* Given an FSSpec, return the FSSpec of the parent folder */
91-
92-
static OSErr
93-
get_folder_parent (FSSpec * fss, FSSpec * parent)
94-
{
95-
CInfoPBRec rec;
96-
short err;
97-
98-
* parent = * fss;
99-
rec.hFileInfo.ioNamePtr = parent->name;
100-
rec.hFileInfo.ioVRefNum = parent->vRefNum;
101-
rec.hFileInfo.ioDirID = parent->parID;
102-
rec.hFileInfo.ioFDirIndex = -1;
103-
rec.hFileInfo.ioFVersNum = 0;
104-
if (err = PBGetCatInfoSync (& rec))
105-
return err;
106-
parent->parID = rec.dirInfo.ioDrParID;
107-
/* parent->name[0] = 0; */
108-
return 0;
109-
}
110-
11190
/* Check that there aren't any args remaining in the event */
11291

11392
static OSErr

0 commit comments

Comments
 (0)