diff options
author | Christopher Faylor <me@cgf.cx> | 2001-11-21 06:47:57 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2001-11-21 06:47:57 +0000 |
commit | 7903ee6955c3add49c2aa341ac1fd15adce1025e (patch) | |
tree | 39f70e3c053f8440791daf24e80987148cd037bd /winsup/cygwin/cygheap.h | |
parent | f6a6c2a358f81a8d7c550bdcba2990c16c0d54ef (diff) | |
download | cygnal-7903ee6955c3add49c2aa341ac1fd15adce1025e.tar.gz cygnal-7903ee6955c3add49c2aa341ac1fd15adce1025e.tar.bz2 cygnal-7903ee6955c3add49c2aa341ac1fd15adce1025e.zip |
* Makefile.in (DLL_OFILES): Add fhandler_disk_file.o.
* cygheap.h (cygheap_fdnew::operator =): New operator.
* dir.cc: Add invalid struct checking throughout. Use methods for all
directory manipulation throughout.
* fhandler.cc: Move fhandler_disk_file stuff to own file.
(fhandler_base::opendir): New method.
(fhandler_base::readdir): New method.
(fhandler_base::telldir): New method.
(fhandler_base::seekdir): New method.
(fhandler_base::rewinddir): New method.
(fhandler_base::closedir): New method.
* fhandler_disk_file.cc: New file.
* fhandler.h (fhandler_base): Declare new virtual methods.
(fhandler_disk_file): Ditto.
(fhandler_cygdrive): New class.
* path.cc (conv_path_list): Use strccpy to break apart path.
Diffstat (limited to 'winsup/cygwin/cygheap.h')
-rw-r--r-- | winsup/cygwin/cygheap.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/cygheap.h b/winsup/cygwin/cygheap.h index 27196db88..d3025b452 100644 --- a/winsup/cygwin/cygheap.h +++ b/winsup/cygwin/cygheap.h @@ -231,6 +231,7 @@ class cygheap_fdnew : public cygheap_fdmanip locked = false; } } + void operator = (fhandler_base *fh) {*this->fh = fh;} }; class cygheap_fdget : public cygheap_fdmanip |