diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2001-05-22 22:37:05 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2001-05-22 22:37:05 (GMT) |
commit | fe9110b2adb00759af8883c332be8fcd6581ed51 (patch) | |
tree | cf91f63e93b20d5b773ef5314973c8429e291445 /Mac | |
parent | 0c23231f6e481f45675dad48abff1b369c3457b2 (diff) | |
download | cpython-fe9110b2adb00759af8883c332be8fcd6581ed51.zip cpython-fe9110b2adb00759af8883c332be8fcd6581ed51.tar.gz cpython-fe9110b2adb00759af8883c332be8fcd6581ed51.tar.bz2 |
removed a routine that has moved to macglue.c
Diffstat (limited to 'Mac')
-rw-r--r-- | Mac/Python/macgetargv.c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/Mac/Python/macgetargv.c b/Mac/Python/macgetargv.c index bc5bbd5..ac4e286 100644 --- a/Mac/Python/macgetargv.c +++ b/Mac/Python/macgetargv.c @@ -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 |