Using poll instead of select by default.

This commit is contained in:
Diego Nehab 2004-11-27 08:47:09 +00:00
parent 7c97e8e40a
commit 50da56dbee
2 changed files with 11 additions and 1 deletions

10
FIX
View File

@ -1,3 +1,13 @@
automated tests for ftp now in use
new compat-5.1 distribution
instalation should use new directory structure
namespace hierarchy is in now back in use (socket.url instead of url)
globals not visible from inside namespaces
all modules call "require" even for standard libraries
kludge on wsocket.c:sock_send for windows moved to buffer.c:sendraw
socket.protect only catches errors thrown by socke.try
udp:sendto was calling sock_send
close wasn't returning 1
gettime returns time since Unix Epoch 1/1/1970 (UTC)
sleep is robust to interrupts
select had a stupid bug

View File

@ -16,7 +16,7 @@
/*-------------------------------------------------------------------------*\
* Wait for readable/writable/connected socket with timeout
\*-------------------------------------------------------------------------*/
#ifdef SOCK_POLL
#ifndef SOCK_SELECT
#include <sys/poll.h>
#define WAITFD_R POLLIN