From: Arun Prakash Jana Date: Tue, 10 Aug 2021 01:36:20 +0000 (+0530) Subject: Use a different function X-Git-Tag: v4.3~59 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=e146ad0d7ab752ebbcb3656171efe0649627bb1b;p=nnn.git Use a different function --- diff --git a/src/nnn.c b/src/nnn.c index 8ba6c0de..8b64f78b 100644 --- a/src/nnn.c +++ b/src/nnn.c @@ -4566,7 +4566,7 @@ static bool handle_archive(char *fpath /* in-out param */, char op) return FALSE; } /* Copy the new dir path to open it in smart context */ - outdir = realpath(".", NULL); + outdir = getcwd(NULL, 0); x_to = TRUE; } }