summaryrefslogtreecommitdiffstats
path: root/source3/client
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1998-09-29 01:55:48 +0000
committerJeremy Allison <jra@samba.org>1998-09-29 01:55:48 +0000
commit4746a0b93f9c6fdc223a1e80c1024c030c05c10c (patch)
tree8f541b32e371325362b35c780900d901fd214ff1 /source3/client
parentb8980c2d1b57ee982a140aae2f500ce08d01ca72 (diff)
downloadsamba-4746a0b93f9c6fdc223a1e80c1024c030c05c10c.tar.gz
samba-4746a0b93f9c6fdc223a1e80c1024c030c05c10c.tar.xz
samba-4746a0b93f9c6fdc223a1e80c1024c030c05c10c.zip
Fixed stupid bug with "cd /" appending a "/" character to the path forever....
Jeremy. (This used to be commit 14ee57f336100634993e7968ba54a441ac2813db)
Diffstat (limited to 'source3/client')
-rw-r--r--source3/client/client.c2
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);