s3 libsmbclient: Fix fstatvfs to be more portable
authorTim Prouty <tprouty@samba.org>
Fri, 13 Feb 2009 18:58:54 +0000 (10:58 -0800)
committerTim Prouty <tprouty@samba.org>
Fri, 13 Feb 2009 20:59:30 +0000 (12:59 -0800)
commit5e5d2b2cfadaf3bf352dcc25b302b12c70803d1f
tree39f83635cfb3d959f7780ef334dbb8223c54e10f
parent6085ba3dec4fa616fca78c55b793cfd89ef272a8
s3 libsmbclient: Fix fstatvfs to be more portable

The statvfs struct isn't guaranteed to be portable across operating
systems.  Since libsmbclient isn't actually calling statvfs and just
using the statvfs struct to store similar information, this patch adds
a new portable smbc_statvfs struct.  This fixes a few of the failures
in the build farm introduced by:
ae259575c447e61665c8e7070c476914161b953f

Derrell, please check.
examples/libsmbclient/testfstatvfs.c
examples/libsmbclient/teststatvfs.c
source3/include/libsmb_internal.h
source3/include/libsmbclient.h
source3/libsmb/libsmb_compat.c
source3/libsmb/libsmb_stat.c