1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00
elinks/src/main
Kalle Olavi Niemitalo a0d624cd61 Hurd bug 22861: Do not select() exceptions from pipes.
The GNU Hurd has a bug that can make select() report an exception in a
pipe even though none has actually occurred.  The typical result is
that ELinks closes the pipe through which it internally passes all
input events, such as keypresses.  It then no longer reacts to what
the user is trying to do.

Work around the Hurd bug by making set_handlers() check whether the
file descriptor refers to a pipe, and if so, pretend the caller did
not provide any handler for exceptions.  This is a minimal change that
avoids slowing down the select() loop itself and does not require
careful analysis of the callers to statically find out which file
descriptors might refer to pipes.  The extra stat() calls may slow
ELinks down somewhat, but anyway it'll work better than it did without
the patch, and if the Hurd bug is ever fixed, we can remove the
workaround at that time.
2008-09-07 22:52:47 +03:00
..
event.c More missing va_ends. 2007-09-04 10:26:57 +03:00
event.h Bug 810: Add a few comments pointing to the bug. 2006-09-24 00:21:03 +03:00
interlink.c Add a comment about CONFIG_TCP_INTERLINK. 2006-01-13 00:10:06 +01:00
interlink.h Remove empty lines in start of header files 2005-11-15 11:33:27 +01:00
main.c Bug 951: Revert "Garbage-collect SMJS objects before flushing caches." 2008-07-08 15:21:07 +03:00
main.h Remove empty lines in start of header files 2005-11-15 11:33:27 +01:00
Makefile path_to_top -> top_builddir 2005-10-20 04:00:35 +02:00
module.c Create a module for src/viewer, which subsumes some existing modules 2006-05-20 15:01:24 +00:00
module.h Document the difference between builtin_modules and main_modules 2006-05-20 15:01:23 +00:00
object.h Revert OBJECT_HEAD() part of tcc cleanups 2006-01-22 06:18:40 +01:00
select.c Hurd bug 22861: Do not select() exceptions from pipes. 2008-09-07 22:52:47 +03:00
select.h Remove empty lines in start of header files 2005-11-15 11:33:27 +01:00
timer.c Declare element types of lists. 2007-07-26 22:47:23 +03:00
timer.h Remove empty lines in start of header files 2005-11-15 11:33:27 +01:00
version.c Improve display of version and features. 2007-09-14 10:34:42 +02:00
version.h Remove empty lines in start of header files 2005-11-15 11:33:27 +01:00