]>
Commit | Line | Data |
---|---|---|
1fe5ebac BS |
1 | Loosen a bit a module filename check |
2 | ||
2263f72b BS |
3 | --- Firebird-3.0.11.33703-0/src/common/os/posix/mod_loader.cpp.orig 2023-09-29 13:31:01.412025778 +0200 |
4 | +++ Firebird-3.0.11.33703-0/src/common/os/posix/mod_loader.cpp 2023-09-29 14:06:07.234937115 +0200 | |
5 | @@ -166,7 +166,6 @@ | |
6 | if (!realpath(info.dli_fname, symbolPathBuffer)) | |
7 | symbolPath = info.dli_fname; | |
1fe5ebac | 8 | |
2263f72b | 9 | - if (PathUtils::isRelative(libraryPath) || PathUtils::isRelative(symbolPath)) |
1fe5ebac BS |
10 | { |
11 | // check only name (not path) of the library | |
12 | Firebird::PathName dummyDir, nm1, nm2; | |
2263f72b | 13 | @@ -175,8 +174,6 @@ |
1fe5ebac BS |
14 | if (nm1 != nm2) |
15 | return NULL; | |
16 | } | |
2263f72b | 17 | - else if (libraryPath != symbolPath) |
1fe5ebac BS |
18 | - return NULL; |
19 | #endif | |
20 | ||
21 | return result; |