Use a different function

This commit is contained in:
Arun Prakash Jana 2021-08-10 07:06:20 +05:30
parent 59d90aa2ce
commit e146ad0d7a
No known key found for this signature in database
GPG key ID: A75979F35C080412

View file

@ -4566,7 +4566,7 @@ static bool handle_archive(char *fpath /* in-out param */, char op)
return FALSE; return FALSE;
} }
/* Copy the new dir path to open it in smart context */ /* Copy the new dir path to open it in smart context */
outdir = realpath(".", NULL); outdir = getcwd(NULL, 0);
x_to = TRUE; x_to = TRUE;
} }
} }