summaryrefslogtreecommitdiffstats
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
commit14ee57f336100634993e7968ba54a441ac2813db (patch)
tree6280cf1832d884b60a3bf5d6ee66a46fca96f36c
parent16b6c3e852dbc7b4460abc461b4e0a8dc315fd60 (diff)
downloadsamba-14ee57f336100634993e7968ba54a441ac2813db.tar.gz
samba-14ee57f336100634993e7968ba54a441ac2813db.tar.xz
samba-14ee57f336100634993e7968ba54a441ac2813db.zip
Fixed stupid bug with "cd /" appending a "/" character to the path forever....
Jeremy.
-rw-r--r--source/client/client.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/client/client.c b/source/client/client.c
index 567d3d68ff0..e34131d6d00 100644
--- a/source/client/client.c
+++ b/source/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);