Skip to content

Commit 2b9d424

Browse files
committed
Properly fixed bug #63186 on NetBSD == 6.0
1 parent 445dffa commit 2b9d424

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

NEWS

+3
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ PHP NEWS
22
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
33
?? ??? 2013, PHP 5.4.19
44

5+
- Core.
6+
. Improve fix for bug #63186 (compile failure on netbsd). (Matteo)
7+
58
- Session:
69
. Fixed bug #62129 (rfc1867 crashes php even though turned off). (gxd305 at
710
gmail dot com)

main/streams/cast.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
#if defined(HAVE_FUNOPEN) && !defined(HAVE_FOPENCOOKIE)
3434

3535
/* NetBSD 6.0+ uses off_t instead of fpos_t in funopen */
36-
# if defined(__NetBSD__) && (__NetBSD_Version__ > 600000000)
36+
# if defined(__NetBSD__) && (__NetBSD_Version__ >= 600000000)
3737
# define PHP_FPOS_T off_t
3838
# else
3939
# define PHP_FPOS_T fpos_t

0 commit comments

Comments
 (0)