diff options
author | Tim Potter <tpot@samba.org> | 2000-02-03 23:08:24 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2000-02-03 23:08:24 +0000 |
commit | ae7696117e81bb469fa71f9bc880f6b5aac0724e (patch) | |
tree | c2ee230e6e4df2ff6a708640b30fd8d6eaa36135 /source3/smbd/vfs.c | |
parent | 79601327cb9840153ccf641085eba19a1e32e143 (diff) | |
download | samba-ae7696117e81bb469fa71f9bc880f6b5aac0724e.tar.gz samba-ae7696117e81bb469fa71f9bc880f6b5aac0724e.tar.bz2 samba-ae7696117e81bb469fa71f9bc880f6b5aac0724e.zip |
Put back lots of missing calls to dos_to_unix(). Thanks to
aono@cc.osaka-kyoiku.ac.jp (Tomoki AONO)
(This used to be commit 176c405d2702a4245561ff56c8eac3c754a0dea3)
Diffstat (limited to 'source3/smbd/vfs.c')
-rw-r--r-- | source3/smbd/vfs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/vfs.c b/source3/smbd/vfs.c index 2f9f847188..f5c2ec3426 100644 --- a/source3/smbd/vfs.c +++ b/source3/smbd/vfs.c @@ -220,7 +220,7 @@ BOOL vfs_directory_exist(connection_struct *conn, char *dname, if (!st) st = &st2; - if (conn->vfs_ops.stat(dname,st) != 0) + if (conn->vfs_ops.stat(dos_to_unix(dname,False),st) != 0) return(False); ret = S_ISDIR(st->st_mode); @@ -238,7 +238,7 @@ BOOL vfs_file_exist(connection_struct *conn,char *fname,SMB_STRUCT_STAT *sbuf) SMB_STRUCT_STAT st; if (!sbuf) sbuf = &st; - if (conn->vfs_ops.stat(fname,sbuf) != 0) + if (conn->vfs_ops.stat(dos_to_unix(fname,False),sbuf) != 0) return(False); return(S_ISREG(sbuf->st_mode)); |