diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2000-05-12 21:37:45 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2000-05-12 21:37:45 (GMT) |
commit | 8f7f91fa2aa233abeb72b6a10a1b92b420c14fcb (patch) | |
tree | 644256df191b77cb6405c1c828db7ee6c4b79f79 /Mac/Compat | |
parent | 7bfc2ebb01183d7aff7e9457ab562fa122213c89 (diff) | |
download | cpython-8f7f91fa2aa233abeb72b6a10a1b92b420c14fcb.zip cpython-8f7f91fa2aa233abeb72b6a10a1b92b420c14fcb.tar.gz cpython-8f7f91fa2aa233abeb72b6a10a1b92b420c14fcb.tar.bz2 |
(Temporarily) revived after a long sleep, for building MacPython without GUSI
Diffstat (limited to 'Mac/Compat')
-rw-r--r-- | Mac/Compat/opendir.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Mac/Compat/opendir.c b/Mac/Compat/opendir.c index 74b8984..d24f5fd 100644 --- a/Mac/Compat/opendir.c +++ b/Mac/Compat/opendir.c @@ -37,11 +37,11 @@ opendir(path) if (hfsrunning()) { pb.d.ioWDProcID= 0; pb.d.ioWDDirID= 0; - err= PBOpenWD((WDPBPtr)&pb, FALSE); + err= PBOpenWD((WDPBPtr)&pb, 0); } else { pb.v.ioVolIndex= 0; - err= PBGetVInfo((ParmBlkPtr)&pb, FALSE); + err= PBGetVInfo((ParmBlkPtr)&pb, 0); } if (err != noErr) { errno = ENOENT; @@ -64,7 +64,7 @@ closedir(dirp) WDPBRec pb; pb.ioVRefNum= dirp->dirid; - (void) PBCloseWD(&pb, FALSE); + (void) PBCloseWD(&pb, 0); } dirp->dirid= 0; dirp->nextfile= 0; @@ -92,9 +92,9 @@ readdir(dp) pb.d.ioFDirIndex= dp->nextfile++; pb.d.ioDrDirID= 0; if (hfsrunning()) - err= PBGetCatInfo((CInfoPBPtr)&pb, FALSE); + err= PBGetCatInfo((CInfoPBPtr)&pb, 0); else - err= PBGetFInfo((ParmBlkPtr)&pb, FALSE); + err= PBGetFInfo((ParmBlkPtr)&pb, 0); if (err != noErr) { errno = EIO; return NULL; |