mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-08 10:42:50 -06:00
better error handling which always reports the right file name
This commit is contained in:
@@ -57,6 +57,7 @@ public:
|
||||
class PgfDB {
|
||||
private:
|
||||
int fd;
|
||||
const char *filepath;
|
||||
malloc_state* ms;
|
||||
|
||||
pthread_rwlock_t rwlock;
|
||||
@@ -64,7 +65,7 @@ private:
|
||||
friend class PgfReader;
|
||||
|
||||
public:
|
||||
PGF_INTERNAL_DECL PgfDB(const char* pathname, int flags, int mode);
|
||||
PGF_INTERNAL_DECL PgfDB(const char* filepath, int flags, int mode);
|
||||
PGF_INTERNAL_DECL ~PgfDB();
|
||||
|
||||
template<class A>
|
||||
|
||||
Reference in New Issue
Block a user