* fhandler.h (fhandler_base_overlapped::size): Declare/define size() function

for consistency.
(fhandler_termios::size): Ditto.
(fhandler_pty_common::size): Ditto.
This commit is contained in:
Christopher Faylor 2011-07-30 20:01:27 +00:00
parent 9e242ba461
commit f7e198a665
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,10 @@
2011-07-30 Christopher Faylor <me.cygwin2011@cgf.cx>
* fhandler.h (fhandler_base_overlapped::size): Declare/define size()
function for consistency.
(fhandler_termios::size): Ditto.
(fhandler_pty_common::size): Ditto.
2011-07-30 Corinna Vinschen <corinna@vinschen.de>
* fhandler_registry.cc (fhandler_registry::dup): Duplicate value_name.

View File

@ -614,6 +614,7 @@ public:
int close ();
int dup (fhandler_base *child);
virtual size_t size () const { return sizeof (*this);} /* probably not needed */
};
class fhandler_pipe: public fhandler_base_overlapped
@ -958,6 +959,7 @@ class fhandler_termios: public fhandler_base
virtual void __release_output_mutex (const char *fn, int ln) {}
void echo_erase (int force = 0);
virtual _off64_t lseek (_off64_t, int);
virtual size_t size () const { return sizeof (*this);} /* probably not needed */
};
enum ansi_intensity
@ -1165,6 +1167,7 @@ class fhandler_pty_common: public fhandler_termios
select_record *select_read (select_stuff *);
select_record *select_write (select_stuff *);
select_record *select_except (select_stuff *);
virtual size_t size () const { return sizeof (*this);} /* probably not needed */
};
class fhandler_pty_slave: public fhandler_pty_common