mirror of
https://github.com/samba-team/samba.git
synced 2025-08-03 04:22:09 +03:00
[Bug 6069] Add a fstatvfs function for libsmbclient
- Revert Tim's changes for the moment. I need to see what the issue is and arrange to use "struct statvfs" if at all possible. Derrell
This commit is contained in:
@ -1,4 +1,5 @@
|
||||
#include <sys/types.h>
|
||||
#include <sys/statvfs.h>
|
||||
#include <stdio.h>
|
||||
#include <unistd.h>
|
||||
#include <string.h>
|
||||
@ -17,7 +18,7 @@ int main(int argc, char * argv[])
|
||||
char * p;
|
||||
char path[2048];
|
||||
struct stat statbuf;
|
||||
struct smbc_statvfs statvfsbuf;
|
||||
struct statvfs statvfsbuf;
|
||||
|
||||
smbc_init(get_auth_data_fn, debug);
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
#include <sys/types.h>
|
||||
#include <sys/statvfs.h>
|
||||
#include <stdio.h>
|
||||
#include <unistd.h>
|
||||
#include <string.h>
|
||||
@ -17,7 +18,7 @@ int main(int argc, char * argv[])
|
||||
char * p;
|
||||
char path[2048];
|
||||
struct stat statbuf;
|
||||
struct smbc_statvfs statvfsbuf;
|
||||
struct statvfs statvfsbuf;
|
||||
|
||||
smbc_init(get_auth_data_fn, debug);
|
||||
|
||||
|
Reference in New Issue
Block a user