view src/zeromq-1.patch @ 3721:933b99febcf1

Expand options to support 3 possible sources of octave * configure.ac: modify --enable-stable rule to --enable-octave=source (stable,alpha,default) * Makefile.am: modify OCTAVE_TARGET based on octave build value set in configure. * index.html: added master-octave information. * src/default-octave.mk: new file. * src/default-octave-1-docinstall.patch * dist-files.mk: add default-octave-1-docinstall.patch default-octave.mk * binary-dist-rules.mk: use OCTAVE_TARGET to decide on tarball/installer name
author John Donoghue <john.donoghue@ieee.org>
date Sun, 19 Oct 2014 22:58:20 -0400
parents 0d7d2ee30e1a
children
line wrap: on
line source

diff -ur zeromq-4.0.3.orig/src/socket_base.cpp zeromq-4.0.3/src/socket_base.cpp
--- zeromq-4.0.3.orig/src/socket_base.cpp	2014-02-06 17:38:06.285815420 +0000
+++ zeromq-4.0.3/src/socket_base.cpp	2014-02-06 17:38:19.024897442 +0000
@@ -119,7 +119,7 @@
             errno = EINVAL;
             return NULL;
     }
-    if (s->mailbox.get_fd () == -1)
+    if (s->mailbox.get_fd () == retired_fd)
         return NULL;
 
     alloc_assert (s);