summaryrefslogtreecommitdiff
path: root/source3/lib/util.c
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2000-02-03 05:10:09 +0000
committerTim Potter <tpot@samba.org>2000-02-03 05:10:09 +0000
commit3d9a9cbe966fbbfccfcce3204e4bdcb1a8ccdcf5 (patch)
tree0c21dc03dbf5102ae0c623b4a70bc82ca902d0fe /source3/lib/util.c
parent71604bb213d369d9ccf9d2d959a80b799d6c4f34 (diff)
downloadsamba-3d9a9cbe966fbbfccfcce3204e4bdcb1a8ccdcf5.tar.gz
samba-3d9a9cbe966fbbfccfcce3204e4bdcb1a8ccdcf5.tar.bz2
samba-3d9a9cbe966fbbfccfcce3204e4bdcb1a8ccdcf5.zip
Comments to use vfs_* functions instead of dos_* unless really
accessing files on local disk. (This used to be commit b55f63da7e6a3c306ce668c77ed63a41d33240db)
Diffstat (limited to 'source3/lib/util.c')
-rw-r--r--source3/lib/util.c4
1 files changed, 3 insertions, 1 deletions
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