Skip to content

Commit

Permalink
Merge pull request #7 from JorySchossau/patch-static-fslink-error
Browse files Browse the repository at this point in the history
fixed current_working_directory() to bypass static file links in path…
  • Loading branch information
zhreshold authored Nov 29, 2017
2 parents a4e9219 + 6712900 commit 7c1f1bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/zupply.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11798,7 +11798,7 @@ namespace zz
return wstring_to_utf8(ret);
}
#elif _GNU_SOURCE
char *buffer = get_current_dir_name();
char *buffer = realpath(".", nullptr);
if (buffer == nullptr)
{
// failed
Expand Down

0 comments on commit 7c1f1bf

Please sign in to comment.