statfs vs statvfs checks in kdelibs

Hasso Tepper hasso at kde.org
Mon Apr 3 14:15:32 BST 2006


Adriaan de Groot wrote:
> Yeah, that would do it if we could check for existence of header files
> before hand and depend on HAVE_*_H in the resulting code so it can
> include the right headers. This particular compile test will work out
> OK on FBSD because it includes the wrong headers to even find
> getmntinfo() (and it's supposed to fail).

Yes, that's the idea - concentrate efforts to the cases where it's 
supposed to succeed and don't care why it fails. And if it fails, assume 
that statfs must be used.


regards,

-- 
Hasso Tepper
KDE Estonian Team




More information about the kde-core-devel mailing list