commit e146ad0d7ab752ebbcb3656171efe0649627bb1b
parent 59d90aa2ce9fb6ed4a12212fd61fc428d5f277e0
Author: Arun Prakash Jana <engineerarun@gmail.com>
Date: Tue, 10 Aug 2021 07:06:20 +0530
Use a different function
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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;
}
}