Nmap Development mailing list archives
Re: [PATCH] Reconnect terminal in tty_getchar() under an else{} in nmap_tty.cc
From: Kris Katterjohn <kjak () ispwest com>
Date: Sat, 02 Sep 2006 16:46:00 -0500
Fyodor wrote:
On Fri, Sep 01, 2006 at 11:38:56AM -0500, Kris Katterjohn wrote:The attached patch removes the commented-out part of tty_getchar() which called tty_init() and makes an else branch to call tty_init() if we can't access the terminal. tty_done() is called just to be safe; the worst case is just an extra return.Thanks. Does this fix a known problem of some sort? Cheers, -F
I think it may be more of a just-in-case thing. But the original tty_init() was apparently commented-out because it was too slow and this'll fix that because it's only called if there's a problem. Thanks, Kris _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://SecLists.Org
Current thread:
- [PATCH] Reconnect terminal in tty_getchar() under an else{} in nmap_tty.cc Kris Katterjohn (Sep 01)
- Re: [PATCH] Reconnect terminal in tty_getchar() under an else{} in nmap_tty.cc Fyodor (Sep 02)
- Re: [PATCH] Reconnect terminal in tty_getchar() under an else{} in nmap_tty.cc Kris Katterjohn (Sep 02)
- Re: [PATCH] Reconnect terminal in tty_getchar() under an else{} in nmap_tty.cc Fyodor (Sep 02)