"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "libev/ev_port.c" between
rxvt-unicode-9.26.tar.bz2 and rxvt-unicode-9.29.tar.bz2

About: rxvt-unicode is a clone of the terminal emulator rxvt.

ev_port.c  (rxvt-unicode-9.26.tar.bz2):ev_port.c  (rxvt-unicode-9.29.tar.bz2)
skipping to change at line 42 skipping to change at line 42
* only under the terms of the GPL and not to allow others to use your * only under the terms of the GPL and not to allow others to use your
* version of this file under the BSD license, indicate your decision * version of this file under the BSD license, indicate your decision
* by deleting the provisions above and replace them with the notice * by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL. If you do not delete the * and other provisions required by the GPL. If you do not delete the
* provisions above, a recipient may use your version of this file under * provisions above, a recipient may use your version of this file under
* either the BSD or the GPL. * either the BSD or the GPL.
*/ */
/* useful reading: /* useful reading:
* *
* http://bugs.opensolaris.org/view_bug.do?bug_id=6268715 (random results) * https://archive.is/jN6Ck (random results)
* http://bugs.opensolaris.org/view_bug.do?bug_id=6455223 (just totally broken) * https://archive.is/bBikp (just totally broken)
* http://bugs.opensolaris.org/view_bug.do?bug_id=6873782 (manpage ETIME) * https://archive.is/eJhmu (manpage ETIME)
* http://bugs.opensolaris.org/view_bug.do?bug_id=6874410 (implementation ETIME) * https://archive.is/RbgYw (implementation ETIME)
* http://www.mail-archive.com/networking-discuss@opensolaris.org/msg11898.html ETIME vs. nget * http://www.mail-archive.com/networking-discuss@opensolaris.org/msg11898.html ETIME vs. nget
* http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/lib/libc/port/g en/event_port.c (libc) * http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/lib/libc/port/g en/event_port.c (libc)
* http://cvs.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/uts/common/fs/p ortfs/port.c#1325 (kernel) * http://cvs.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/uts/common/fs/p ortfs/port.c#1325 (kernel)
*/ */
#include <sys/types.h> #include <sys/types.h>
#include <sys/time.h> #include <sys/time.h>
#include <poll.h> #include <poll.h>
#include <port.h> #include <port.h>
#include <string.h> #include <string.h>
skipping to change at line 116 skipping to change at line 116
port_events [0].portev_source = 0; port_events [0].portev_source = 0;
EV_RELEASE_CB; EV_RELEASE_CB;
EV_TS_SET (ts, timeout); EV_TS_SET (ts, timeout);
res = port_getn (backend_fd, port_events, port_eventmax, &nget, &ts); res = port_getn (backend_fd, port_events, port_eventmax, &nget, &ts);
EV_ACQUIRE_CB; EV_ACQUIRE_CB;
/* port_getn may or may not set nget on error */ /* port_getn may or may not set nget on error */
/* so we rely on port_events [0].portev_source not being updated */ /* so we rely on port_events [0].portev_source not being updated */
if (res == -1 && errno != ETIME && errno != EINTR) if (res == -1 && errno != ETIME && errno != EINTR)
ev_syserr ("(libev) port_getn (see http://bugs.opensolaris.org/view_bug.do?b ug_id=6268715, try LIBEV_FLAGS=3 env variable)"); ev_syserr ("(libev) port_getn (see https://archive.is/jN6Ck, try LIBEV_FLAGS =3 env variable)");
for (i = 0; i < nget; ++i) for (i = 0; i < nget; ++i)
{ {
if (port_events [i].portev_source == PORT_SOURCE_FD) if (port_events [i].portev_source == PORT_SOURCE_FD)
{ {
int fd = port_events [i].portev_object; int fd = port_events [i].portev_object;
fd_event ( fd_event (
EV_A_ EV_A_
fd, fd,
 End of changes. 2 change blocks. 
5 lines changed or deleted 5 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)