]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
Repair ap_poll() on UNIX systems where APR's poll flags
authorJeff Trawick <trawick@apache.org>
Thu, 27 Apr 2000 20:11:34 +0000 (20:11 +0000)
committerJeff Trawick <trawick@apache.org>
Thu, 27 Apr 2000 20:11:34 +0000 (20:11 +0000)
commit8b087b6209645f088fea25935efb9f16392ca026
treefa82783cd17d2d42fd83684f404c715f68f361fb
parentbb7a33fb5b19ddb1c9fcbbe7d94a3f1216c1e96f
Repair ap_poll() on UNIX systems where APR's poll flags
have different values than the system's poll flags (i.e.,
call get_revents() to translate flags before returning to
the caller; otherwise, they are quite meaningless :) ).

Fix ab's usage of the new ap_poll() and repair some APR-ization
breakage (e.g., not setting port prior to ap_connect()).

Uninteresting changes:

Change toascii to to_ascii in ab.c to avoid a conflict with MSVC++'s
toascii() (I enabled the NOT_ASCII logic in ab on Win32 recently to
verify that ap_xlate_X() returned the correct error codes and got
warnings on toascii.

get_revent() was reformatted unintentionally.  Sorry.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85063 13f79535-47bb-0310-9956-ffa450edef68
support/ab.c