Skip to content

Commit

Permalink
a
Browse files Browse the repository at this point in the history
  • Loading branch information
fornwall committed Sep 16, 2024
1 parent cdb4271 commit 86e7534
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/termux-readlink.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#include <sys/syscall.h>
#include <unistd.h>

ssize_t readlink(const char *restrict pathname, char *restrict buf, size_t bufsiz) {
__attribute__((visibility("default"))) ssize_t readlink(const char *restrict pathname, char *restrict buf, size_t bufsiz) {
if (strcmp(pathname, "/proc/self/exe") == 0) {
const char* termux_self_exe = getenv("TERMUX_EXEC__PROC_SELF_EXE");
if (termux_self_exe) {
Expand Down

0 comments on commit 86e7534

Please sign in to comment.