File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -64,8 +64,7 @@ void zend_elf_load_symbols(void)
64
64
}
65
65
int fd = open (path , O_RDONLY );
66
66
#elif defined(__sun )
67
- const char * path = getexecname ();
68
- int fd = open (path , O_RDONLY );
67
+ int fd = open ("/proc/self/path/a.out" , O_RDONLY );
69
68
#elif defined(__HAIKU__ )
70
69
char path [PATH_MAX ];
71
70
if (find_path (B_APP_IMAGE_SYMBOL , B_FIND_PATH_IMAGE_PATH ,
Original file line number Diff line number Diff line change @@ -136,8 +136,7 @@ static void zend_jit_perf_jitdump_open(void)
136
136
}
137
137
fd = open (path , O_RDONLY );
138
138
#elif defined(__sun )
139
- const char * path = getexecname ();
140
- fd = open (path , O_RDONLY );
139
+ fd = open ("/proc/self/path/a.out" , O_RDONLY );
141
140
#elif defined(__HAIKU__ )
142
141
char path [PATH_MAX ];
143
142
if (find_path (B_APP_IMAGE_SYMBOL , B_FIND_PATH_IMAGE_PATH ,
You can’t perform that action at this time.
0 commit comments