diff options
Diffstat (limited to 'databases/firebird20-server/files/patch-src%jrd%svc.cpp')
-rw-r--r-- | databases/firebird20-server/files/patch-src%jrd%svc.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/databases/firebird20-server/files/patch-src%jrd%svc.cpp b/databases/firebird20-server/files/patch-src%jrd%svc.cpp new file mode 100644 index 000000000000..42b12339bc36 --- /dev/null +++ b/databases/firebird20-server/files/patch-src%jrd%svc.cpp @@ -0,0 +1,12 @@ +--- src/jrd/svc.cpp.orig Tue Jan 24 17:11:48 2006 ++++ src/jrd/svc.cpp Tue Jan 24 17:27:22 2006 +@@ -1902,7 +1902,8 @@ + + #ifndef SUPERSERVER + if (serv->serv_executable) { +- gds__prefix(service_path, serv->serv_executable); ++ strlcpy(service_path, FB_EXEC_PREFIX "/", MAXPATHLEN); ++ strlcat(service_path, serv->serv_executable, MAXPATHLEN); + service->svc_flags = SVC_forked; + service_fork(service_path, service); + } |