Use standard fopen() as default implementation of virtual Fl_System_Driver::fopen()
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11706 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
b870641f34
commit
5a4d10faea
@ -86,7 +86,7 @@ public:
|
||||
virtual char *getenv(const char* v) {return NULL;}
|
||||
virtual int putenv(char* v) {return -1;}
|
||||
virtual int open(const char* f, int oflags, int pmode) {return -1;}
|
||||
virtual FILE *fopen(const char* f, const char *mode) {return NULL;}
|
||||
virtual FILE *fopen(const char* f, const char *mode);
|
||||
virtual int system(const char* cmd) {return -1;}
|
||||
virtual int execvp(const char *file, char *const *argv) {return -1;}
|
||||
virtual int chmod(const char* f, int mode) {return -1;}
|
||||
|
@ -431,6 +431,9 @@ void Fl_System_Driver::remove_fd(int fd)
|
||||
// nothing to do, reimplement in driver if needed
|
||||
}
|
||||
|
||||
FILE *Fl_System_Driver::fopen(const char* f, const char *mode) {
|
||||
return ::fopen(f, mode);
|
||||
}
|
||||
|
||||
//
|
||||
// End of "$Id$".
|
||||
|
@ -54,7 +54,6 @@ public:
|
||||
}
|
||||
virtual char *getenv(const char *v) { return ::getenv(v); }
|
||||
virtual int putenv(char* v) {return ::putenv(v);}
|
||||
virtual FILE *fopen(const char* f, const char *mode) {return ::fopen(f, mode);}
|
||||
virtual int system(const char* cmd) {return ::system(cmd);}
|
||||
virtual int execvp(const char *file, char *const *argv) {return ::execvp(file, argv);}
|
||||
virtual int chmod(const char* f, int mode) {return ::chmod(f, mode);}
|
||||
|
Loading…
Reference in New Issue
Block a user