mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 04:03:03 +01:00
Fx Linux build
This commit is contained in:
parent
46ce51c326
commit
0d31f7c8b4
@ -134,7 +134,7 @@ private:
|
|||||||
const UCHAR* static_buffer;
|
const UCHAR* static_buffer;
|
||||||
const UCHAR* static_buffer_end;
|
const UCHAR* static_buffer_end;
|
||||||
|
|
||||||
static SINT64 ClumpletReader::fromVaxInteger(const UCHAR* ptr, size_t length);
|
static SINT64 fromVaxInteger(const UCHAR* ptr, size_t length);
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace Firebird
|
} // namespace Firebird
|
||||||
|
@ -3161,7 +3161,7 @@ static SLONG find_key(ISC_STATUS * status_vector, TEXT * filename)
|
|||||||
|
|
||||||
key_t key = ftok(filename, FTOK_KEY);
|
key_t key = ftok(filename, FTOK_KEY);
|
||||||
if (key == -1) {
|
if (key == -1) {
|
||||||
int fd = open(filename, O_RDWR | O_CREAT | O_TRUNC, PRIV)
|
int fd = open(filename, O_RDWR | O_CREAT | O_TRUNC, PRIV);
|
||||||
if (fd == -1) {
|
if (fd == -1) {
|
||||||
error(status_vector, "open", errno);
|
error(status_vector, "open", errno);
|
||||||
return 0L;
|
return 0L;
|
||||||
|
Loading…
Reference in New Issue
Block a user