Bug 8225 - build failures on systems without sys/statvfs.h
Summary: build failures on systems without sys/statvfs.h
Status: NEW
Alias: None
Product: Samba 3.6
Classification: Unclassified
Component: libsmbclient (show other bugs)
Version: 3.6.0rc2
Hardware: All FreeBSD
: P5 normal
Target Milestone: ---
Assignee: Derrell Lipman
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-13 18:33 UTC by Herb Lewis
Modified: 2012-05-17 23:24 UTC (History)
5 users (show)

See Also:


Attachments
proposed fix (5.48 KB, patch)
2011-06-13 18:33 UTC, Herb Lewis
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Herb Lewis 2011-06-13 18:33:05 UTC
Created attachment 6573 [details]
proposed fix

configure tests for the existence of sys/statvfs.h but we do not bracket
code dependent on it with a #ifdef. The following patch fixes this
Comment 1 Stefan Metzmacher 2011-07-30 08:42:36 UTC
Jeremy any ideas on this one?

I'm not sure if we should remove this functions or just return
something like ENOTSUP.