summary refs log tree commit diff
path: root/termios
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1996-05-22 18:02:38 +0000
committerRoland McGrath <roland@gnu.org>1996-05-22 18:02:38 +0000
commitdc9972317e6fe44e503fbfe83446272743c76fb3 (patch)
tree08eb85f894d1f06cf0e8a5c151f12695f8640e06 /termios
parentb8fe19fa809ac786b7d3dbb464cb1b3f887dc69d (diff)
downloadglibc-dc9972317e6fe44e503fbfe83446272743c76fb3.tar.gz
glibc-dc9972317e6fe44e503fbfe83446272743c76fb3.tar.xz
glibc-dc9972317e6fe44e503fbfe83446272743c76fb3.zip
Regenerated: autoconf configure.in cvs/libc-960522
Diffstat (limited to 'termios')
-rw-r--r--termios/cfmakeraw.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/termios/cfmakeraw.c b/termios/cfmakeraw.c
index 09f630b906..a1f2eb2c74 100644
--- a/termios/cfmakeraw.c
+++ b/termios/cfmakeraw.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1992 Free Software Foundation, Inc.
+/* Copyright (C) 1992, 1996 Free Software Foundation, Inc.
 This file is part of the GNU C Library.
 
 The GNU C Library is free software; you can redistribute it and/or
@@ -28,6 +28,6 @@ DEFUN(cfmakeraw, (termios_p), struct termios *t)
   t->c_lflag &= ~(ECHO|ECHONL|ICANON|ISIG|IEXTEN);
   t->c_cflag &= ~(CSIZE|PARENB);
   t->c_cflag |= CS8;
-  t->c_cc[VMIN] = 0;
-  /* t->c_cc[VTIME] = ?; */
+  t->c_cc[VMIN] = 1;		/* read returns when one char is available.  */
+  t->c_cc[VTIME] = 0;
 }