allow fd 0 to be used as place signaling pipe

This commit is contained in:
Matthew Flatt 2011-07-01 15:04:39 -06:00
parent e46a470f8d
commit 69434370cb

View File

@ -722,7 +722,7 @@ void scheme_check_place_port_ok()
{
# if defined(FILES_HAVE_FDS)
# ifndef USE_OSKIT_CONSOLE
if (!external_event_fd) {
if (!external_event_fd && !put_external_event_fd) {
scheme_signal_error("place: scheduler pipe failed");
}
# endif