(ITS#4872) Non-portable comparison in wait4msg() (result.c) causes infinite loop