From e146ad0d7ab752ebbcb3656171efe0649627bb1b Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Tue, 10 Aug 2021 07:06:20 +0530 Subject: [PATCH] Use a different function --- src/nnn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } }