aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--winsup/cygwin/ChangeLog7
-rw-r--r--winsup/cygwin/fhandler.h3
2 files changed, 10 insertions, 0 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 306ccab..66d44fd 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -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.
diff --git a/winsup/cygwin/fhandler.h b/winsup/cygwin/fhandler.h
index 5120a3c..3da41b7 100644
--- a/winsup/cygwin/fhandler.h
+++ b/winsup/cygwin/fhandler.h
@@ -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