|
From: creedon <icr...@us...> - 2005-01-24 22:52:59
|
Update of /cvsroot/frontierkernel/Frontier/Common/source In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2968 Modified Files: fileops.c Log Message: Mac OS X, reversed free and total parameters to match FSGetVInfo and XGetVInfo functions < http://groups.yahoo.com/group/frontierkernel/message/846 > Index: fileops.c =================================================================== RCS file: /cvsroot/frontierkernel/Frontier/Common/source/fileops.c,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** fileops.c 11 Jan 2005 22:48:05 -0000 1.5 --- fileops.c 24 Jan 2005 22:52:21 -0000 1.6 *************** *** 2092,2099 **** #ifdef MACVERSION #if TARGET_API_MAC_CARBON ! errnum = FSGetVInfo (fs->vRefNum, nil, &ui64totalbytes, &ui64freebytes); #else ! errnum = XGetVInfo (fs->vRefNum, nil, &vrefnum, &ui64totalbytes, &ui64freebytes); #endif --- 2092,2100 ---- #ifdef MACVERSION + /* 2005-01-24 creedon - reversed free and total parameters to match FSGetVInfo and XGetVInfo functions < http://groups.yahoo.com/group/frontierkernel/message/846 > */ #if TARGET_API_MAC_CARBON ! errnum = FSGetVInfo (fs->vRefNum, nil, &ui64freebytes, &ui64totalbytes); #else ! errnum = XGetVInfo (fs->vRefNum, nil, &vrefnum, &ui64freebytes, &ui64totalbytes); #endif |