From e1a7b5a4c98d5fabf5d318850950a42db27f3d44 Mon Sep 17 00:00:00 2001 From: Ron Yorston Date: Thu, 27 Aug 2020 12:48:08 +0100 Subject: ash: replace backslashes in argument to 'cd' built-in Since the new current directory is normalised it might as well also have forward slashes. See GitHub issue #198. --- shell/ash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'shell') diff --git a/shell/ash.c b/shell/ash.c index 7967872f7..1d7d916da 100644 --- a/shell/ash.c +++ b/shell/ash.c @@ -3143,7 +3143,7 @@ updatepwd(const char *dir) STUNPUTC(new); *new = 0; fix_path_case((char *)stackblock()); - return stackblock(); + return bs_to_slash((char *)stackblock()); #else char *new; char *p; -- cgit v1.2.3-55-g6feb