From 84157fc5823d194b3281ce1c8b2eff1434ac7a7a Mon Sep 17 00:00:00 2001 From: alexpeshkoff Date: Sun, 14 Mar 2004 14:39:45 +0000 Subject: [PATCH] Fixed boot build --- src/ipserver/ipclient.cpp | 4 ++-- src/jrd/db_alias.h | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/ipserver/ipclient.cpp b/src/ipserver/ipclient.cpp index 2754d1f70c..63c001fc6d 100644 --- a/src/ipserver/ipclient.cpp +++ b/src/ipserver/ipclient.cpp @@ -275,7 +275,7 @@ ISC_STATUS GDS_ATTACH_DATABASE( comm->ips_buffers[commi].ips_flags = 0; comm->ips_operation = op_attach; ips = &comm->ips_operations.ips_op_object; - char temp[MAXPATHLEN]; + Firebird::PathName temp; if (ResolveDatabaseAlias(file_name, temp)) { IPS_C_IN(comm, ips_name, IPS_ATTACH_NAME, file_name, l); } @@ -841,7 +841,7 @@ ISC_STATUS GDS_CREATE_DATABASE(ISC_STATUS* user_status, GET_OBJECT(icc); comm->ips_operation = op_create; ips = &comm->ips_operations.ips_op_object; - char temp[MAXPATHLEN]; + Firebird::PathName temp; if (ResolveDatabaseAlias(file_name, temp)) { IPS_C_IN(comm, ips_name, IPS_CREATE_NAME, file_name, l); } diff --git a/src/jrd/db_alias.h b/src/jrd/db_alias.h index f745f5cec4..e1b7de279e 100644 --- a/src/jrd/db_alias.h +++ b/src/jrd/db_alias.h @@ -22,5 +22,8 @@ #ifndef DB_ALIAS_H #define DB_ALIAS_H + +#include "fb_string.h" + bool ResolveDatabaseAlias(const Firebird::PathName& alias, Firebird::PathName& database); #endif