Browse Source

Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Fixed bug #74906 redirecting incorrect include <sys/errno.h>
PHP-7.1.8
Joe Watkins 9 years ago
parent
commit
e0282c3b58
No known key found for this signature in database GPG Key ID: F9BA0ADA31CBD89E
  1. 1
      NEWS
  2. 8
      ext/snmp/snmp.c

1
NEWS

@ -11,6 +11,7 @@ PHP NEWS
. Fixed bug #73900 (Use After Free in unserialize() SplFixedArray). (nikic)
. Fixed bug #74923 (Crash when crawling through network share). (Anatol)
. Fixed bug #74913 (fixed incorrect poll.h include). (petk)
. Fixed bug #74906 (fixed incorrect errno.h include). (petk)
- Date:
. Fixed bug #74852 (property_exists returns true on unknown DateInterval

8
ext/snmp/snmp.c

@ -38,9 +38,9 @@
#if HAVE_SNMP
#include <sys/types.h>
#include <errno.h>
#ifdef PHP_WIN32
#include <winsock2.h>
#include <errno.h>
#include <process.h>
#include "win32/time.h"
#elif defined(NETWARE)
@ -49,17 +49,11 @@
#else
#include <sys/socket.h>
#endif
#include <errno.h>
#include <sys/timeval.h>
#else
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#ifndef _OSD_POSIX
#include <sys/errno.h>
#else
#include <errno.h> /* BS2000/OSD uses <errno.h>, not <sys/errno.h> */
#endif
#include <netdb.h>
#endif
#ifdef HAVE_UNISTD_H

Loading…
Cancel
Save