We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6ee48d commit d1f1e17Copy full SHA for d1f1e17
src/util/unix/realpath.c
@@ -24,7 +24,7 @@ char *p_realpath(const char *pathname, char *resolved)
24
#ifdef __OpenBSD__
25
/* The OpenBSD realpath function behaves differently,
26
* figure out if the file exists */
27
- if (access(ret, F_OK) < 0) {
+ if (access(result, F_OK) < 0) {
28
if (!resolved)
29
free(result);
30
0 commit comments