mirror of
https://github.com/python/cpython.git
synced 2025-08-01 15:43:13 +00:00
Fixed for compiling without OLDROUTINENAMES and OLDROUTINELOCATIONS
This commit is contained in:
parent
1aec32363f
commit
9e1be97ddf
2 changed files with 6 additions and 6 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue