]> git.pld-linux.org Git - packages/Firebird.git/blame - mod_loader.patch
- updated to 5.0.0.1306
[packages/Firebird.git] / mod_loader.patch
CommitLineData
1fe5ebac
BS
1Loosen a bit a module filename check
2
1856fc63
BS
3diff -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;
1fe5ebac 8
eee53b00 9 const char* errText = "Actual module name does not match requested";
1856fc63 10- if (PathUtils::isRelative(libraryPath) || PathUtils::isRelative(symbolPath))
1fe5ebac
BS
11 {
12 // check only name (not path) of the library
13 Firebird::PathName dummyDir, nm1, nm2;
1856fc63 14@@ -211,11 +210,6 @@ void* DlfcnModule::findSymbol(ISC_STATUS
1fe5ebac 15 return NULL;
eee53b00 16 }
1fe5ebac 17 }
1856fc63 18- else if (libraryPath != symbolPath)
eee53b00
BS
19- {
20- makeErrorStatus(status, errText);
1fe5ebac 21- return NULL;
eee53b00 22- }
1fe5ebac
BS
23 #endif
24
25 return result;
This page took 0.16444 seconds and 4 git commands to generate.