mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 22:03:03 +01:00
Suggested by Claudio cleanup
This commit is contained in:
parent
a995ab2ce0
commit
7713a63157
@ -58,19 +58,21 @@
|
||||
#include "../common/config/dir_list.h"
|
||||
#include "../jrd/os/path_utils.h"
|
||||
|
||||
static IB_FILE *ext_fopen(const char *filename, const char *mode);
|
||||
namespace {
|
||||
IB_FILE *ext_fopen(const char *filename, const char *mode);
|
||||
|
||||
static class ExternalFileDirectoryList : public DirectoryList {
|
||||
class ExternalFileDirectoryList : public DirectoryList {
|
||||
const Firebird::string GetConfigString(void) const {
|
||||
return Firebird::string(Config::getExternalFileAccess());
|
||||
}
|
||||
} iExternalFileDirectoryList;
|
||||
|
||||
static IB_FILE *ext_fopen(const char *filename, const char *mode) {
|
||||
IB_FILE *ext_fopen(const char *filename, const char *mode) {
|
||||
if (!iExternalFileDirectoryList.IsPathInList(filename))
|
||||
return 0;
|
||||
return ib_fopen(filename, mode);
|
||||
}
|
||||
};
|
||||
|
||||
extern "C" {
|
||||
|
||||
|
@ -43,7 +43,7 @@
|
||||
*
|
||||
*/
|
||||
/*
|
||||
$Id: flu.cpp,v 1.31 2003-04-12 16:34:26 alexpeshkoff Exp $
|
||||
$Id: flu.cpp,v 1.32 2003-04-14 07:23:14 alexpeshkoff Exp $
|
||||
*/
|
||||
|
||||
#include "firebird.h"
|
||||
@ -139,7 +139,6 @@ static void terminate_at_space(char* psz)
|
||||
#include <windows.h>
|
||||
#include <stdlib.h>
|
||||
#include <io.h>
|
||||
/* Where is the international character set module found? */
|
||||
#endif
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user