curl-library
CURL_ACKNOWLEDGE_EINTR
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 17 Aug 2011 15:19:31 +0200 (CEST)
Date: Wed, 17 Aug 2011 15:19:31 +0200 (CEST)
Hi friends,
Back in March 2007 (commit e4b754f64ed02ce85f6deb) we added code that would
allow libcurl to build with more rigid EINTR code for select/poll if you
defined CURL_ACKNOWLEDGE_EINTR at compile time.
Have anyone ever used it or see a point in keeping it?
The reason I ask is that we just now got a bug report (on Symbian - bug
3392945) due to the support code for EINTR that does a loop if 'errno' is 0 or
EINTR, which for some reason happens here.
I don't think we need to have code to loop in there at all. It would get some
unused code removed and the remaining code will be easier to read.
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2011-08-17