[PATCH]: possible fix for the fifoor problem
John E Hein
jhein at timing.com
Tue Nov 7 17:25:29 UTC 2006
Jung-uk Kim wrote at 12:01 -0500 on Nov 7, 2006:
> Try the attached patch instead.
>
> Jung-uk Kim
> --- src/sys/compat/linux/linux_stats.c.orig Sun Oct 22 07:52:11 2006
> +++ src/sys/compat/linux/linux_stats.c Tue Nov 7 11:59:21 2006
> @@ -130,7 +130,7 @@
> int temp;
>
> temp = td->td_retval[0];
> - if (kern_open(td, path, UIO_SYSSPACE, O_RDONLY, 0) != 0)
> + if (kern_open(td, path, UIO_SYSSPACE, O_RDONLY | O_NONBLOCK, 0) != 0)
> return;
> fd = td->td_retval[0];
> td->td_retval[0] = temp;
Yep.
That fixes the problem with linux-seamonkey I reported.
More information about the freebsd-emulation
mailing list