]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[BUILD] fix 2 minor issues on AIX
authorWilly Tarreau <w@1wt.eu>
Fri, 30 Nov 2007 17:38:35 +0000 (18:38 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 30 Nov 2007 17:38:35 +0000 (18:38 +0100)
commitc8f24f8ec15ef0a30cda255809013f99b3c7a96d
treef71f799443b83450df6f257b50029ffcf163c0cc
parent4bab24d955a60a698d3c8422df8742f54c209522
[BUILD] fix 2 minor issues on AIX

AIX does not know about MSG_DONTWAIT. Fortunately, nearly all sockets
are already set to O_NONBLOCK, so it's not even required to change the
code.  It was only necessary to add this fcntl to the log socket which
lacked it.  The MSG_DONTWAIT value has been defined to zero when unset
in order to make the code cleaner and more portable.

Also, on AIX, "hz" is defined, which causes a problem with one function
parameter in time.c. It's enough to rename the parameter there. Last,
fix a missing #include <string.h> in proxy.c.
include/common/compat.h
include/common/time.h
src/log.c
src/proxy.c
src/time.c