Skip to content
This repository
Browse code

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...
commit 03fa029f810c065f79edcdd1af465266538d7274 1 parent 74835c2
solar authored

Showing 1 changed file with 1 addition and 4 deletions. Show diff stats Hide diff stats

  1. +1 4 src/tty.c
5 src/tty.c
@@ -36,10 +36,7 @@ static struct termios saved_ti;
36 36
37 37 void tty_init(int stdin_mode)
38 38 {
39   -#ifdef __DJGPP__
40   - if (stdin_mode)
41   - return;
42   -#else
  39 +#ifndef __DJGPP__
43 40 int fd;
44 41 struct termios ti;
45 42

0 comments on commit 03fa029

Please sign in to comment.
Something went wrong with that request. Please try again.