statfs vs statvfs checks in kdelibs

Tanner Lovelace clubjuggler at gmail.com
Wed Apr 5 02:45:27 BST 2006


On 4/4/06, Benjamin Reed <rangerrick at gmail.com> wrote:
> On 4/3/06, Hasso Tepper <hasso at kde.org> wrote:
>
> > Patches for trunk and 3.5 branches attached. Thoughts? *BSD and MacOS
> > X/Darwin users, please test and report success/failure.
>
> This returns a failure on Mac OS X 10.4.  It compiles fine, but it
> exits with 7 as the exit code on my x86 box, and 8 on my ppc.

Under OS X, the test succeeds because the files you include
do not include a prototype for getmntinfo so gcc doesn't return
an error.  (Weird.)

However, if you change the test to use the c++ compiler,
it works find under OS X.   I think that should work find on
other platforms too.

Cheers,
Tanner

--
Tanner Lovelace
clubjuggler at gmail dot com
http://wtl.wayfarer.org/
(fieldless) In fess two roundels in pale, a billet fesswise and an
increscent, all sable.




More information about the kde-core-devel mailing list