summaryrefslogtreecommitdiffstats
path: root/Mac/Compat/macstat.c
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>1997-04-08 15:24:17 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>1997-04-08 15:24:17 (GMT)
commit9e1be97ddf0037f19204a47b85db0b0f4e8b4c20 (patch)
treedb1df22ff7aa130aa1aa7fdf717c6b815efd990a /Mac/Compat/macstat.c
parent1aec32363f25693e0c3ff81feddf620850b4955d (diff)
downloadcpython-9e1be97ddf0037f19204a47b85db0b0f4e8b4c20.zip
cpython-9e1be97ddf0037f19204a47b85db0b0f4e8b4c20.tar.gz
cpython-9e1be97ddf0037f19204a47b85db0b0f4e8b4c20.tar.bz2
Fixed for compiling without OLDROUTINENAMES and OLDROUTINELOCATIONS
Diffstat (limited to 'Mac/Compat/macstat.c')
-rw-r--r--Mac/Compat/macstat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Mac/Compat/macstat.c b/Mac/Compat/macstat.c
index a1265af..8c67994 100644
--- a/Mac/Compat/macstat.c
+++ b/Mac/Compat/macstat.c
@@ -29,9 +29,9 @@ macstat(path, buf)
pb.d.ioDrDirID = 0;
pb.f.ioFVersNum = 0; /* Fix found by Timo! See Tech Note 102 */
if (hfsrunning())
- err = PBGetCatInfo((CInfoPBPtr)&pb, FALSE);
+ err = PBGetCatInfoSync((CInfoPBPtr)&pb);
else
- err = PBGetFInfo((ParmBlkPtr)&pb, FALSE);
+ err = PBGetFInfoSync((ParmBlkPtr)&pb);
if (err != noErr) {
errno = ENOENT;
return -1;