Sync OpenBSD patchset 498:

Convert the window pane (pty master side) fd over to use a bufferevent.

The evbuffer API is very similar to the existing tmux buffer API so this was
remarkably painless. Not many possible ways to do it, I suppose.
This commit is contained in:
Tiago Cunha
2009-11-08 23:02:56 +00:00
parent 70b2f1981e
commit 2df0882722
8 changed files with 89 additions and 101 deletions

View File

@ -1,4 +1,4 @@
/* $Id: server.c,v 1.219 2009-11-08 23:00:44 tcunha Exp $ */
/* $Id: server.c,v 1.220 2009-11-08 23:02:56 tcunha Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@ -218,7 +218,6 @@ server_loop(void)
while (!server_should_shutdown()) {
server_update_socket();
server_window_prepare();
server_client_prepare();
event_loopexit(&tv);