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

Fixed issues reported by Michal.

This commit is contained in:
dimitr 2006-06-01 04:17:45 +00:00
parent c5207d29f5
commit be1414ee62
3 changed files with 7 additions and 2 deletions

View File

@ -29,6 +29,8 @@ namespace Firebird {
class File {
public:
virtual ~File() {}
virtual size_t read(offset_t, void*, size_t) = 0;
virtual size_t write(offset_t, void*, size_t) = 0;

View File

@ -37,6 +37,8 @@
#include <sys/types.h>
#include <sys/timeb.h>
#include <windows.h>
#elif defined(HAVE_UNISTD_H)
#include <unistd.h>
#endif
#include "../jrd/gdsassert.h"
@ -83,7 +85,8 @@ Firebird::PathName TempFile::getTempPath()
path = temp_dir;
}
#else
path = getenv("TMP");
env_temp = getenv(TMP)
path = env_temp ? env_temp : "";
#endif
}
if (path.empty())

View File

@ -45,7 +45,7 @@ public:
init("", prefix);
}
~TempFile();
virtual ~TempFile();
size_t read(offset_t, void*, size_t);
size_t write(offset_t, void*, size_t);