System V semaphores on systems where sizeof(int) != sizeof(long).
PR: 12072
Submitted by: <winterling@de.ibm.com>
Reviewed by: Jeff Trawick, Justin Erenkrantz
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@96927
13f79535-47bb-0310-9956-
ffa450edef68
Changes with Apache 1.3.27
+ *) Fix a problem with the definition of union semun which broke
+ System V semaphores on systems where sizeof(int) != sizeof(long).
+ PR 12072 [<winterling@de.ibm.com>]
+
*) The protocol version (eg: HTTP/1.1) in the request line parsing
is now case insensitive. This closes a few PRs and implies that
ProtocolReqCheck will trigger on *true* invalid protocols.
#include <sys/sem.h>
#ifdef NEED_UNION_SEMUN
-/* it makes no sense, but this isn't defined on solaris */
union semun {
- long val;
+ int val;
struct semid_ds *buf;
ushort *array;
};