From e5c3bc4d63310367279ab99cdbbeca749433c5a1 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 18 Nov 2007 00:17:19 +0000 Subject: [PATCH] doh --- Changes | 2 +- src/rxvtc.C | 3 ++- src/rxvtd.C | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Changes b/Changes index fa756eff..e6714458 100644 --- a/Changes +++ b/Changes @@ -19,7 +19,7 @@ DUMB: support tex fonts TODO: align default value of cutchars with rxvt.1.pod and add it as a fallback in perl 'selection' http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=377194 - - expect major compatibility issues and please test and report. + - expect major portability issues in this release: please test and report. - converted from the veritable io manager event loop to the high performance libev (http://software.schmorp.de/pkg/libev). - automove-background functionality re-implemented internaly using :root op in pixmap diff --git a/src/rxvtc.C b/src/rxvtc.C index 38edc015..92095707 100644 --- a/src/rxvtc.C +++ b/src/rxvtc.C @@ -39,7 +39,8 @@ #define STATUS_FAILURE 1 #define STATUS_CONNECTION_FAILED 2 -struct client : rxvt_connection { +struct client : rxvt_connection +{ client (); }; diff --git a/src/rxvtd.C b/src/rxvtd.C index 5622f421..b73916be 100644 --- a/src/rxvtd.C +++ b/src/rxvtd.C @@ -52,6 +52,7 @@ struct server : rxvt_connection { log_cb (this, &server::log_msg), getfd_cb (this, &server::getfd) { + this->fd = fd; fcntl (fd, F_SETFD, FD_CLOEXEC); fcntl (fd, F_SETFL, 0); read_ev.start (fd, ev::READ); -- 2.34.1