8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 22:03:03 +01:00

Fixed another problem in gfix. Thanks to Vlad Horsun.

This commit is contained in:
dimitr 2003-09-15 09:33:50 +00:00
parent cfca55b801
commit 6c3009fcde

View File

@ -27,7 +27,7 @@
*
*____________________________________________________________
*
* $Id: alice_meta.epp,v 1.14 2003-09-14 01:08:37 brodsom Exp $
* $Id: alice_meta.epp,v 1.15 2003-09-15 09:33:50 dimitr Exp $
*/
#include "firebird.h"
@ -414,6 +414,10 @@ static void parse_fullpath(TDR trans)
while (p >= start && (*p != '^' && *p != ':' && *p != '@'))
p--;
// dimitr: make sure that the remote path is parsed correctly
// for win32 servers, i.e. the drive separator is taken into account
if ((p-2 >= start) && p[-2] == ':' && (p[0] == ':'))
p -= 2;
trans->tdr_filename = p + 1;
/* now find the last remote node in the chain */