Commit 88a5a6ed authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Don't call select() with a very large timeout. This could possibly

fix bug 1065.
parent cc88305c
2003-07-13 Per Cederqvist <ceder@ceder.dyndns.org> 2003-07-13 Per Cederqvist <ceder@ceder.dyndns.org>
Don't call select() with a very large timeout. This could
possibly fix bug 1065.
* src/libraries/liboop/sys.c (oop_sys_run): Clamp the value of the
tv_sec field of the select timeout argument to 3600 seconds, to
check if very large values is the reason that FreeBSD returns
EINVAL here. (Bug 1065).
Reverted the change of 1999-04-03: go_and_die is now a Bool once Reverted the change of 1999-04-03: go_and_die is now a Bool once
again. It is no longer manipulated from a signal handler. again. It is no longer manipulated from a signal handler.
* src/server/admin.c (shutdown_kom): Use TRUE instead of 1 as * src/server/admin.c (shutdown_kom): Use TRUE instead of 1 as
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment