slony1-bugs at lists.slony.info slony1-bugs at lists.slony.info
Tue Nov 4 17:51:57 PST 2008
http://www.slony.info/bugzilla/show_bug.cgi?id=61





--- Comment #1 from Richard Yen <dba at richyen.com>  2008-11-04 17:51:57 ---
There were also changes in ipcutil.c

Index: ipcutil.c
===================================================================
--- ipcutil.c   (revision 232)
+++ ipcutil.c   (revision 298)
@@ -448,9 +448,11 @@
                /*
                 * Receive one single message blocking for it.
                 */
-               rc = msgrcv(msgid, &msg, sizeof(msg), 0, 0);
+               rc = msgrcv(msgid, &msg, sizeof(msg), 0, IPC_NOWAIT);
                if (rc < 0)
                {
+                       if (errno == ENOMSG)
+                               return -2;
                        if (errno == EINTR)
                                continue;


-- 
Configure bugmail: http://www.slony.info/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Slony1-bugs mailing list