Commits

Ruslan Osmanov committed 05c121f

Fix: return value of EventBase::reInit() was inverted

Comments (0)

Files changed (3)

 	PHP_EVENT_FETCH_BASE(b, zbase);
 
 	if (event_reinit(b->base)) {
-		RETURN_TRUE;
+		RETURN_FALSE;
 	}
 
-	RETVAL_FALSE;
+	RETVAL_TRUE;
 }
 /* }}} */
 
     <email>remi@php.net</email>
     <active>yes</active>
   </contributor>
-  <date>2014-01-16</date>
+  <date>2014-02-08</date>
   <!--{{{ Current version -->
   <version>
-    <release>1.9.0</release>
+    <release>1.9.1</release>
     <api>1.8.0</api>
   </version>
   <stability>
   </stability>
   <license uri="http://www.php.net/license">PHP</license>
   <notes><![CDATA[
-  Windows support introduced(thanks to Anatol Belski <ab@php.net>)
-
-  LIBEVENT_VERSION is now reported in phpinfo(Remi <remi@php.net>)
-
-   Forced passing EventBase argument by reference. A method accepting EventBase
-   will generate fatal error in case if corresponding argument is not passed by
-   reference.
-
-   EventBufferEvent::createPair method made static.
+    Fix: return value of EventBase::reInit() was inverted
   ]]></notes>
   <!--}}}-->
   <!--{{{ Contents -->
   </extsrcrelease>
   <!--{{{ changelog-->
   <changelog>
+    <!--{{{ 1.9.1 -->
+    <release>
+      <version>
+        <release>1.9.1</release>
+        <api>1.8.0</api>
+      </version>
+      <stability>
+        <release>stable</release>
+        <api>stable</api>
+      </stability>
+      <license uri="http://www.php.net/license">PHP</license>
+      <notes><![CDATA[
+    Fix: return value of EventBase::reInit() was inverted
+  ]]></notes>
+    </release>
+    <!--}}}-->
     <!--{{{ 1.9.0 -->
     <release>
       <version>
 #ifndef PHP_EVENT_H
 #define PHP_EVENT_H
 
-#define PHP_EVENT_VERSION "1.9.0"
+#define PHP_EVENT_VERSION "1.9.1"
 
 #define PHP_EVENT_SUN_PREFIX "unix:"
 
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.