* Threw away the broken stat() vs. _stat() mechanism to allow for more fields
in struct stat. * Instead, I followed Marcus' great idea and added a compatibility check in the runtime loader: now, R5 binaries (also shared libraries) are detected, and they get special versions for stat(), fstat(), and lstat() that return the smaller stat struct. * However, I've disabled (in src/system/libroot/posix/sys/stat.c) using the larger stat field for now, as this breaks some of our optional packages. So until we rebuild them all, this shouldn't be enabled. * This should now also be used for BeOS compatibility in libnetwork.so. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27961 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -43,6 +43,7 @@ typedef struct image_t {
|
||||
int major;
|
||||
int middle;
|
||||
int minor;
|
||||
bool haiku;
|
||||
} gcc_version;
|
||||
|
||||
addr_t entry_point;
|
||||
|
||||
Reference in New Issue
Block a user