Permalink
Browse files

In tty_init(), don't do anything at all when compiled with DJGPP (for…

… DOS).

JtR 1.7.6 erroneously introduced some no-op code for that case.
  • Loading branch information...
1 parent 74835c2 commit 03fa029f810c065f79edcdd1af465266538d7274 solar committed Jul 12, 2010
Showing with 1 addition and 4 deletions.
  1. +1 −4 src/tty.c
View
@@ -36,10 +36,7 @@ static struct termios saved_ti;
void tty_init(int stdin_mode)
{
-#ifdef __DJGPP__
- if (stdin_mode)
- return;
-#else
+#ifndef __DJGPP__
int fd;
struct termios ti;

0 comments on commit 03fa029

Please sign in to comment.