mirror of
https://github.com/AngelAuraMC/angelauramc-openjdk-build.git
synced 2025-09-10 20:55:35 -04:00
Final(?) patch fix
This commit is contained in:
parent
1c68e6e2ba
commit
8886444557
@ -60835,7 +60835,7 @@ index 5948302713..76755e98aa 100644
|
|||||||
#endif
|
#endif
|
||||||
+static bool read_so_path_from_maps(const char* so_name, char* buf) {
|
+static bool read_so_path_from_maps(const char* so_name, char* buf) {
|
||||||
+ FILE *fp = fopen("/proc/self/maps", "r");
|
+ FILE *fp = fopen("/proc/self/maps", "r");
|
||||||
+ assert(fp, "Failed to open /proc/self/maps");
|
+
|
||||||
+ if (!fp) {
|
+ if (!fp) {
|
||||||
+ return false;
|
+ return false;
|
||||||
+ }
|
+ }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user