1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-25 17:20:25 +02:00

21270: don't use poll() on Apple

This commit is contained in:
Peter Stephenson 2005-05-23 14:41:16 +00:00
parent 8a24c5a5ee
commit 3acf90f67e
2 changed files with 11 additions and 0 deletions

View file

@ -1,5 +1,7 @@
2005-05-23 Peter Stephenson <pws@csr.com>
* 21270: Src/system.h: don't use poll() on Apple.
* users/8863: Doc/Zsh/contrib.yo, Functions/Zle/which-command:
enhanced which-command that traces the final command better.

View file

@ -300,6 +300,15 @@ struct timezone {
# include <sys/socket.h>
#endif
#if defined(__APPLE__) && defined(HAVE_SELECT)
/*
* Prefer select() to poll() on MacOS X since poll() is known
* to be problematic in 10.4
*/
#undef HAVE_POLL
#undef HAVE_POLL_H
#endif
#ifdef HAVE_SYS_FILIO_H
# include <sys/filio.h>
#endif