lftp-devel  

poll support in Mac OS X 10.5 (Darwin 9.*) is still broken

Jjgod Jiang
Sun, 06 Jan 2008 08:36:16 -0800

Hi,

Since poll() still cause readline in lftp of consume 100% of the CPU in Mac OS X 10.5, the test to disable system supplied poll should be changed as the following patch.

--- configure.orig      2008-01-07 00:10:01.000000000 +0800
+++ configure   2008-01-07 00:01:43.000000000 +0800
@@ -9745,7 +9745,7 @@
 # Linux-2.2.x and older don't support fcntl64.
 "Linux 2.2."*|"Linux 2.0."*)  enable_largefile=no;;
 # MacOS X Tiger's poll does not work correctly.
-"Darwin 8."*)  lftp_cv_func_poll_works=no;;
+"Darwin 8."*|"Darwin 9."*)  lftp_cv_func_poll_works=no;;
 esac

 for ac_prog in 'bison -y' byacc

- Jiang
  • poll support in Mac OS X 10.5 (Darwin 9.*) is still broken Jjgod Jiang