On Thursday 02 November 2006 00:45, Brett Foster wrote:
> Whoops, I forget to reply-all. In any event, the problem is with SLiRP.
>
> These lines in main.c need to be commented out because it causes a seg
> fault (that goes unnoticed):
>     //if((slirp_tty == NULL && strcmp(ttyname(0), ttyname(2)) == 0) ||
>     //   (slirp_tty != NULL && strcmp(ttyname(2), slirp_tty) == 0) )
>         blnKeepErr = FALSE;
>     //else
>     //    blnKeepErr = TRUE;
>
> ttyname(0) == NULL, and slirp_tty == NULL
>
> Brett
Made a report to SLiRP author for mainline fixups and inclusion? I have no 
idea of what the above code does, but it may also be caused by UML calling it 
incorrectly (it should give an error, it has no right to segfault anyway).
-- 
Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!".
Paolo Giarrusso, aka Blaisorblade
http://www.user-mode-linux.org/~blaisorblade
Chiacchiera con i tuoi amici in tempo reale! 
 http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com 


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to