This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Undernet IRC Server Source Code.".

The branch, u2_10_12_branch has been updated
       via  f8092c062a6932df138f0a9cf2855628a065c27c (commit)
       via  41657cf17a265b532015ddcc4ee38eecf2dd5daa (commit)
      from  41c732d83f3097645dc43ece14f38547045d1d0d (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit f8092c062a6932df138f0a9cf2855628a065c27c
Author: Michael Poole <[email protected]>
Date:   Mon Aug 26 22:09:27 2013 -0400

    Only respawn an IAuth process when both sockets are destroyed.

diff --git a/ircd/s_auth.c b/ircd/s_auth.c
index 95e7d5c..ddeabbc 100644
--- a/ircd/s_auth.c
+++ b/ircd/s_auth.c
@@ -2248,8 +2248,7 @@ static void iauth_sock_callback(struct Event *ev)
 
   switch (ev_type(ev)) {
   case ET_DESTROY:
-    /* Hm, what happened here? */
-    if (!IAuthHas(iauth, IAUTH_CLOSING))
+    if (!IAuthHas(iauth, IAUTH_CLOSING) && !s_active(i_stderr(iauth)))
       iauth_do_spawn(iauth, 1);
     break;
   case ET_READ:
@@ -2322,7 +2321,8 @@ static void iauth_stderr_callback(struct Event *ev)
 
   switch (ev_type(ev)) {
   case ET_DESTROY:
-    /* We do not restart iauth here: the stdout handler does that for us. */
+    if (!IAuthHas(iauth, IAUTH_CLOSING) && !s_active(i_socket(iauth)))
+      iauth_do_spawn(iauth, 1);
     break;
   case ET_READ:
     iauth_read_stderr(iauth);
commit 41657cf17a265b532015ddcc4ee38eecf2dd5daa
Author: Michael Poole <[email protected]>
Date:   Wed Aug 14 20:57:41 2013 -0400

    Add some missing .gitignore entries.

diff --git a/.gitignore b/.gitignore
index d5225b6..66a3929 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,6 +5,8 @@ config.h
 stamp-h
 config.status
 config.cache
+.deps/
 .project
 ircu.tags
 autom4te.cache
+stamp-h1
diff --git a/ircd/.gitignore b/ircd/.gitignore
index e20d06c..44d01fa 100644
--- a/ircd/.gitignore
+++ b/ircd/.gitignore
@@ -3,6 +3,9 @@ Makefile
 stamp-m
 version.c
 ircd
+ircd_lexer.c
+ircd_parser.c
+ircd_parser.h
 chkconf
 table_gen
 umkpasswd
-----------------------------------------------------------------------

Summary of changes:
 .gitignore      |    2 ++
 ircd/.gitignore |    3 +++
 ircd/s_auth.c   |    6 +++---
 3 files changed, 8 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
Undernet IRC Server Source Code.
_______________________________________________
Patches mailing list
[email protected]
http://undernet.sbg.org/mailman/listinfo/patches

Reply via email to