mirror of
https://git.freebsd.org/ports.git
synced 2025-05-28 17:06:32 -04:00
Firebird is a relational database offering many ANSI SQL-99 features that runs on Linux, Windows, and a variety of Unix platforms. Firebird offers excellent concurrency, high performance, and powerful language support for stored procedures and triggers. It has been used in production systems, under a variety of names since 1981. Firebird is completely free of any registration, licensing or deployment fees. It may be deployed freely for use with any third-party software, whether commercial or not. WWW: http://sourceforge.net/projects/firebird/ WWW: http://www.firebirdsql.org/ PR: 152402 Submitted by: Max Kochubey <root at hangover.org.ru>
22 lines
811 B
C++
22 lines
811 B
C++
--- src/jrd/svc.cpp.orig Mon Jul 31 11:43:28 2006
|
|
+++ src/jrd/svc.cpp Wed Nov 15 16:56:13 2006
|
|
@@ -583,7 +583,8 @@
|
|
{
|
|
#ifndef SERVICE_THREAD
|
|
TEXT service_path[MAXPATHLEN];
|
|
- gds__prefix(service_path, serv->serv_executable);
|
|
+ strlcpy(service_path, FB_EXEC_PREFIX "/", MAXPATHLEN);
|
|
+ strlcat(service_path, serv->serv_executable, MAXPATHLEN);
|
|
service_fork(service_path, service);
|
|
#else
|
|
/* if service is single threaded, only call if not currently running */
|
|
@@ -1742,7 +1743,8 @@
|
|
TEXT service_path[MAXPATHLEN];
|
|
|
|
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);
|
|
}
|