[Python-checkins] CVS: python/dist/src/Mac/Python macgetargv.c,1.22,1.23
Jack Jansen
jackjansen@users.sourceforge.net
Tue, 22 May 2001 15:37:07 -0700
Update of /cvsroot/python/python/dist/src/Mac/Python
In directory usw-pr-cvs1:/tmp/cvs-serv24230
Modified Files:
macgetargv.c
Log Message:
removed a routine that has moved to macglue.c
Index: macgetargv.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Python/macgetargv.c,v
retrieving revision 1.22
retrieving revision 1.23
diff -C2 -r1.22 -r1.23
*** macgetargv.c 2001/05/19 12:55:57 1.22
--- macgetargv.c 2001/05/22 22:37:05 1.23
***************
*** 88,112 ****
}
- /* 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 */
--- 88,91 ----