]> git.pld-linux.org Git - packages/Firebird.git/blob - mod_loader.patch
- updated to 3.0.11.33703
[packages/Firebird.git] / mod_loader.patch
1 Loosen a bit a module filename check
2
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;
8  
9 -       if (PathUtils::isRelative(libraryPath) || PathUtils::isRelative(symbolPath))
10         {
11                 // check only name (not path) of the library
12                 Firebird::PathName dummyDir, nm1, nm2;
13 @@ -175,8 +174,6 @@
14                 if (nm1 != nm2)
15                         return NULL;
16         }
17 -       else if (libraryPath != symbolPath)
18 -               return NULL;
19  #endif
20  
21         return result;
This page took 0.071526 seconds and 3 git commands to generate.