Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c23231 commit fe9110bCopy full SHA for fe9110b
1 file changed
Mac/Python/macgetargv.c
@@ -87,27 +87,6 @@ PyMac_init_process_location()
87
return 0;
88
}
89
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
111
/* Check that there aren't any args remaining in the event */
112
113
static OSErr
0 commit comments