From 3d9a9cbe966fbbfccfcce3204e4bdcb1a8ccdcf5 Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Thu, 3 Feb 2000 05:10:09 +0000 Subject: Comments to use vfs_* functions instead of dos_* unless really accessing files on local disk. (This used to be commit b55f63da7e6a3c306ce668c77ed63a41d33240db) --- source3/lib/util.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'source3/lib/util.c') diff --git a/source3/lib/util.c b/source3/lib/util.c index 0db12e92c6..71f440eae5 100644 --- a/source3/lib/util.c +++ b/source3/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 -- cgit