diff options
author | Jeremy Allison <jra@samba.org> | 1998-09-29 01:55:48 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 1998-09-29 01:55:48 +0000 |
commit | 4746a0b93f9c6fdc223a1e80c1024c030c05c10c (patch) | |
tree | 8f541b32e371325362b35c780900d901fd214ff1 | |
parent | b8980c2d1b57ee982a140aae2f500ce08d01ca72 (diff) | |
download | samba-4746a0b93f9c6fdc223a1e80c1024c030c05c10c.tar.gz samba-4746a0b93f9c6fdc223a1e80c1024c030c05c10c.tar.bz2 samba-4746a0b93f9c6fdc223a1e80c1024c030c05c10c.zip |
Fixed stupid bug with "cd /" appending a "/" character to the path forever....
Jeremy.
(This used to be commit 14ee57f336100634993e7968ba54a441ac2813db)
-rw-r--r-- | source3/client/client.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/client/client.c b/source3/client/client.c index 567d3d68ff..e34131d6d0 100644 --- a/source3/client/client.c +++ b/source3/client/client.c @@ -423,6 +423,8 @@ static void do_cd(char *newdir) pstring saved_dir; pstring dname; + dos_format(newdir); + /* Save the current directory in case the new directory is invalid */ pstrcpy(saved_dir, cur_dir); |