mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 10:43:03 +01:00
Misc
This commit is contained in:
parent
361037c552
commit
f586ce8262
@ -6194,8 +6194,10 @@ static bool set_path(const Firebird::PathName& file_name, Firebird::PathName& ex
|
|||||||
// if the file already contains a remote node
|
// if the file already contains a remote node
|
||||||
// or any path at all forget it
|
// or any path at all forget it
|
||||||
for (const TEXT* p = file_name.c_str(); *p; p++)
|
for (const TEXT* p = file_name.c_str(); *p; p++)
|
||||||
|
{
|
||||||
if (*p == ':' || *p == '/' || *p == '\\')
|
if (*p == ':' || *p == '/' || *p == '\\')
|
||||||
return false;
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
// concatenate the strings
|
// concatenate the strings
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user