Skip to content

Commit

Permalink
🐛 win fix?
Browse files Browse the repository at this point in the history
  • Loading branch information
fennecdjay committed May 29, 2023
1 parent bf31336 commit 3b1f24d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion windows_missing/realpath.c
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ char *realpath(const char *path, char resolved_path[PATH_MAX])
errno = EINVAL;
}
if(return_path) {
const size_t size = strlen(realpath);
const size_t size = strlen(return_path);
for(size_t i = 0; i < size; i++) {
if(return_path[i] == '\\')
return_path[i] = '/';
Expand Down

0 comments on commit 3b1f24d

Please sign in to comment.