diff options
author | Samba Release Account <samba-bugs@samba.org> | 1997-01-13 19:41:08 +0000 |
---|---|---|
committer | Samba Release Account <samba-bugs@samba.org> | 1997-01-13 19:41:08 +0000 |
commit | 586c6276ec78c9ee276e3d01ba017db14c30e0ce (patch) | |
tree | 0c5dc4caaef1604ac1a173753ddab8def9781afe /source3/smbd/pipes.c | |
parent | 4f78f67d5f19d657e1ebf13d0ff936a95c67c846 (diff) | |
download | samba-586c6276ec78c9ee276e3d01ba017db14c30e0ce.tar.gz samba-586c6276ec78c9ee276e3d01ba017db14c30e0ce.tar.bz2 samba-586c6276ec78c9ee276e3d01ba017db14c30e0ce.zip |
Added an extra parameter for unix_convert. If present this is the
last component of the modified pathname before modification. This
is needed due to an exceptional condition in reply_mv when the
filesystem is case preserving, but not case sensitive and the
user wants to change the case of a filename. Code for this is
also added to reply.c
Jeremy (jra@cygnus.com).
(This used to be commit cdafa35f9dba6eb0073700e3a214348c432a3e84)
Diffstat (limited to 'source3/smbd/pipes.c')
-rw-r--r-- | source3/smbd/pipes.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/pipes.c b/source3/smbd/pipes.c index cb498a6195..efa6a68b9d 100644 --- a/source3/smbd/pipes.c +++ b/source3/smbd/pipes.c @@ -114,7 +114,7 @@ int reply_open_pipe_and_X(char *inbuf,char *outbuf,int length,int bufsize) Connections[cnum].read_only = 0; smb_ofun |= 0x10; /* Add Create it not exists flag */ - unix_convert(fname,cnum); + unix_convert(fname,cnum,0); fnum = find_free_file(); if (fnum < 0) |