(Temporarily) revived after a long sleep, for building MacPython without GUSI
authorJack Jansen <jack.jansen@cwi.nl>
Fri, 12 May 2000 21:37:45 +0000 (21:37 +0000)
committerJack Jansen <jack.jansen@cwi.nl>
Fri, 12 May 2000 21:37:45 +0000 (21:37 +0000)
Mac/Compat/opendir.c

index 74b89842ec6f5493550f65cb44a58cdb7fde708e..d24f5fd53129c67ccb6e00c015edb8d22e3292c8 100644 (file)
@@ -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;