statfs vs statvfs checks in kdelibs

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

On 4/4/06, Benjamin Reed <rangerrick at> wrote:
> On 4/3/06, Hasso Tepper <hasso at> 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.


Tanner Lovelace
clubjuggler at gmail dot com
(fieldless) In fess two roundels in pale, a billet fesswise and an
increscent, all sable.

More information about the kde-core-devel mailing list