Commit:    2b9d42433f8e634593c2306d5d0ef61cc44281bf
Author:    Matteo Beccati <mbecc...@php.net>         Mon, 8 Jul 2013 19:25:03 
+0200
Parents:   445dffa75a1ffdbcf03670781c48fa4f88ce2ce9
Branches:  PHP-5.4 PHP-5.5 master

Link:       
http://git.php.net/?p=php-src.git;a=commitdiff;h=2b9d42433f8e634593c2306d5d0ef61cc44281bf

Log:
Properly fixed bug #63186 on NetBSD == 6.0

Bugs:
https://bugs.php.net/63186

Changed paths:
  M  NEWS
  M  main/streams/cast.c


Diff:
diff --git a/NEWS b/NEWS
index 765d183..4826d0c 100644
--- a/NEWS
+++ b/NEWS
@@ -2,6 +2,9 @@ PHP                                                             
           NEWS
 |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
 ?? ??? 2013, PHP 5.4.19
 
+- Core.
+  . Improve fix for bug #63186 (compile failure on netbsd). (Matteo)
+
 - Session:
   . Fixed bug #62129 (rfc1867 crashes php even though turned off). (gxd305 at
     gmail dot com)
diff --git a/main/streams/cast.c b/main/streams/cast.c
index da6a293..bf96d3c 100644
--- a/main/streams/cast.c
+++ b/main/streams/cast.c
@@ -33,7 +33,7 @@
 #if defined(HAVE_FUNOPEN) && !defined(HAVE_FOPENCOOKIE)
 
 /* NetBSD 6.0+ uses off_t instead of fpos_t in funopen */
-# if defined(__NetBSD__) && (__NetBSD_Version__ > 600000000)
+# if defined(__NetBSD__) && (__NetBSD_Version__ >= 600000000)
 #  define PHP_FPOS_T off_t
 # else
 #  define PHP_FPOS_T fpos_t


--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to