diff options
author | Tim Potter <tpot@samba.org> | 2000-02-03 05:10:09 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2000-02-03 05:10:09 +0000 |
commit | b55f63da7e6a3c306ce668c77ed63a41d33240db (patch) | |
tree | f4bafd638e73a5c3c24e9ab9f4f1c88ee0547196 /source/lib/util.c | |
parent | 4c14a343d10bbddd69a1dc5abc9d4f64cf75dacc (diff) | |
download | samba-b55f63da7e6a3c306ce668c77ed63a41d33240db.tar.gz samba-b55f63da7e6a3c306ce668c77ed63a41d33240db.tar.xz samba-b55f63da7e6a3c306ce668c77ed63a41d33240db.zip |
Comments to use vfs_* functions instead of dos_* unless really
accessing files on local disk.
Diffstat (limited to 'source/lib/util.c')
-rw-r--r-- | source/lib/util.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/lib/util.c b/source/lib/util.c index 0db12e92c6c..71f440eae52 100644 --- a/source/lib/util.c +++ b/source/lib/util.c @@ -334,7 +334,7 @@ int name_mangle( char *In, char *Out, char name_type ) } /* name_mangle */ /******************************************************************* - check if a file exists + check if a file exists - call vfs_file_exist for samba files ********************************************************************/ BOOL file_exist(char *fname,SMB_STRUCT_STAT *sbuf) { @@ -1562,6 +1562,8 @@ set the length of a file from a filedescriptor. Returns 0 on success, -1 on failure. ****************************************************************************/ +/* tpot vfs need to recode this function */ + int set_filelen(int fd, SMB_OFF_T len) { /* According to W. R. Stevens advanced UNIX prog. Pure 4.3 BSD cannot |