Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2011-07-31 00:01:27 +0400
committerChristopher Faylor <me@cgf.cx>2011-07-31 00:01:27 +0400
commitf7e198a665edf1b4d553be353999b4e1b7075c3a (patch)
tree229480243d790395ca37be3c91cb10cd52fc4c92
parent9e242ba4614aa94251e1ad9bf4dea1a1b3363443 (diff)
* fhandler.h (fhandler_base_overlapped::size): Declare/define size() function
for consistency. (fhandler_termios::size): Ditto. (fhandler_pty_common::size): Ditto.
-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 306ccabbe..66d44fdff 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 5120a3ce2..3da41b747 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