Fix SourceForge bug #2789732 by discarding pending events for deleted sockets.
[ircu2.10.12-pk.git] / ChangeLog
index 613e88eb82c863d0a518707aadcc4009869eed8e..27312376038381a62961d8f0857c611eb35e3797 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,62 @@
+2010-01-03  Michael Poole <mdpoole@troilus.org>
+
+       * ircd/engine_devpoll.c: Make some variables that were local to
+       engine_loop() file-scoped so engine_delete() can see them.
+       (engine_delete): Discard unprocessed events for the deleted
+       socket.
+       (engine_loop): Update to use the new variable names.  Change a
+       frequent debug statement to DEBUG_ENGINE.  Fix the type of the
+       codesize variable.
+
+       * ircd/engine_epoll.c: Same as ircd/engine_devpoll.c, but the
+       debug statement and codesize variable were already fixed.
+
+       * ircd/engine_kqueue.c: Same as ircd/engine_devpoll.c, but also
+       fix a typo in an engine_signal() assertion, and get rid of dead
+       variables in engine_delete().
+
+2010-01-03  Michael Poole <mdpoole@troilus.org>
+
+       * ircd/s_bsd.c (client_sock_callback): Invalidate cli_fd() when we
+       receive an EBADF error.
+
+2010-01-03  Michael Poole <mdpoole@troilus.org>
+
+       * ircd/engine_select.c (engine_loop): Remove a bogus assert() that
+       the structure's FD is correct after the event-handling callback
+       returns.  Also fix a warning about the type of the last parameter
+       passed to getsockopt().
+
+2010-01-03  Michael Poole <mdpoole@troilus.org>
+
+       * ircd/m_names.c (m_names): Terminate the buffer used for listing
+       clients who are not in any channel.
+
+2010-01-03  Michael Poole <mdpoole@troilus.org>
+
+       * ircd/channel.c (find_delayed_joins): Move earlier in the file.
+       (modebuf_flush_int): Move the checks for changing between +D and
+       +d to here...
+       (modebuf_flush): ... from here.
+
+2010-01-03  Michael Poole <mdpoole@troilus.org>
+
+       * ircd/m_server.c (check_loop_and_lh): Never return 1 when we kill
+       another server.  Update the squit message text for maxhops and hub
+       violations.
+
+2010-01-03  Michael Poole <mdpoole@troilus.org>
+
+       * ircd/Makefile.in (IRCD_SRC): Add m_xquery.c and m_xreply.c to
+       the build.
+
+       * ircd/m_xquery.c: Add missing include.
+       (mo_xquery): Fix spelling of struct Client.
+       (ms_xquery): Likewise.
+
+       * ircd/m_xreply.c: Add missing includes.
+       (ms_xreply): Fix spelling of struct Client and findNUser().
+
 2010-01-01  Kevin L. Mitchell  <klmitch@mit.edu>
 
        * doc/readme.xquery: documentation for design and use of the