Neal H Walfield <[EMAIL PROTECTED]> writes:
> I think that there is an error in
> libdiskfs/console.c:diskfs_console_stdio. The first line of the
> functions is:
>
> if (getpid () > 0)
>
> Currently, proc is always pid 0 and the root filesystem is pid 4. As
> such, can we eliminate the else branch of if statement?
No. The logic here is that if getpid works, we have a Real hurd
environment, and can use normal calls. But if getpid doesn't work
(and we get zero back), that's because we're in initial bootstrap, and
we have to do something else to get console output.
(proc of course never calls this function)
_______________________________________________
Bug-hurd mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-hurd