diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2000-06-02 21:38:19 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2000-06-02 21:38:19 (GMT) |
commit | 2b44ba5203a45c54caec57695e20ef6cc4c870a2 (patch) | |
tree | 1467d4b49f1eb35ccfcb76404c5228af2081d4c7 /Mac/Compat/macstat.c | |
parent | a04b24bf8d7dfd881176427e1140a410e2df6d41 (diff) | |
download | cpython-2b44ba5203a45c54caec57695e20ef6cc4c870a2.zip cpython-2b44ba5203a45c54caec57695e20ef6cc4c870a2.tar.gz cpython-2b44ba5203a45c54caec57695e20ef6cc4c870a2.tar.bz2 |
Revived various of the compatability routines and made them Carbon-compliant. This is needed because the initial carbon-python does not use GUSI.
Diffstat (limited to 'Mac/Compat/macstat.c')
-rw-r--r-- | Mac/Compat/macstat.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Mac/Compat/macstat.c b/Mac/Compat/macstat.c index 8c67994..ee2c099 100644 --- a/Mac/Compat/macstat.c +++ b/Mac/Compat/macstat.c @@ -28,10 +28,7 @@ macstat(path, buf) pb.d.ioFDirIndex = 0; pb.d.ioDrDirID = 0; pb.f.ioFVersNum = 0; /* Fix found by Timo! See Tech Note 102 */ - if (hfsrunning()) - err = PBGetCatInfoSync((CInfoPBPtr)&pb); - else - err = PBGetFInfoSync((ParmBlkPtr)&pb); + err = PBGetCatInfoSync((CInfoPBPtr)&pb); if (err != noErr) { errno = ENOENT; return -1; |