* dtable.cc (build_fh_name): Set error in dummy fhandler when one is noted

during path_conv.
* fhandler.h (fhandler_base::set_error): New method.
This commit is contained in:
Christopher Faylor
2003-11-25 02:03:17 +00:00
parent 6db165c2a5
commit e00700cd80
3 changed files with 10 additions and 1 deletions

View File

@ -125,6 +125,7 @@ class fhandler_base
public:
void set_name (path_conv &pc);
int error () const {return pc.error;}
void set_error (int error) {pc.error = error;}
bool exists () const {return pc.exists ();}
int pc_binmode () const {return pc.binmode ();}
device& dev () {return pc.dev;}