[Bug 6069] Add a fstatvfs function for libsmbclient
commit5ced5122517319e56e1bff1c8dd453edbf5287fd
authorDerrell Lipman <derrell.lipman@unwireduniverse.com>
Tue, 10 Feb 2009 15:28:32 +0000 (10 10:28 -0500)
committerKarolin Seeger <kseeger@samba.org>
Mon, 16 Feb 2009 08:56:59 +0000 (16 09:56 +0100)
tree3a04bf493fa887ae9786b27a7107364e4f6ffbed
parent892a3e62ed1b4f6cb2c55af42ab55cf29a4f22da
[Bug 6069] Add a fstatvfs function for libsmbclient

- Reverse the sense of the flags. Since the fstatvfs() function on POSIX-like
  systems would almost certainly indicate case sensitivity (for example),
  leave the bit turned off if the result is the POSIX-like result just as if
  issued on a typical local file system on a POSIX system.

Derrell
(cherry picked from commit 0acc962e3968253a3f64b5a92def177ced44994d)
examples/libsmbclient/testfstatvfs.c
source/include/libsmbclient.h
source/libsmb/libsmb_stat.c