]> git.pld-linux.org Git - packages/Firebird.git/blob - mod_loader.patch
- updated quickstartguide.pdf md5 sum
[packages/Firebird.git] / mod_loader.patch
1 Loosen a bit a module filename check
2
3 diff -up Firebird-5.0.0.1306-0-source/src/common/os/posix/mod_loader.cpp._orig Firebird-5.0.0.1306-0-source/src/common/os/posix/mod_loader.cpp
4 --- Firebird-5.0.0.1306-0-source/src/common/os/posix/mod_loader.cpp._orig       2024-02-22 09:31:12.670991187 +0100
5 +++ Firebird-5.0.0.1306-0-source/src/common/os/posix/mod_loader.cpp     2024-02-22 09:34:31.349588488 +0100
6 @@ -199,7 +199,6 @@ void* DlfcnModule::findSymbol(ISC_STATUS
7                 symbolPath = info.dli_fname;
8  
9         const char* errText = "Actual module name does not match requested";
10 -       if (PathUtils::isRelative(libraryPath) || PathUtils::isRelative(symbolPath))
11         {
12                 // check only name (not path) of the library
13                 Firebird::PathName dummyDir, nm1, nm2;
14 @@ -211,11 +210,6 @@ void* DlfcnModule::findSymbol(ISC_STATUS
15                         return NULL;
16                 }
17         }
18 -       else if (libraryPath != symbolPath)
19 -       {
20 -               makeErrorStatus(status, errText);
21 -               return NULL;
22 -       }
23  #endif
24  
25         return result;
This page took 0.043604 seconds and 3 git commands to generate.