Browse Source

* fhandler_console.cc (fhandler_console::read): Fix a compiler warning.

vendor
Christopher Faylor 21 years ago
parent
commit
b945228cb6
  1. 4
      winsup/cygwin/ChangeLog
  2. 2
      winsup/cygwin/fhandler_console.cc

4
winsup/cygwin/ChangeLog

@ -1,3 +1,7 @@
2005-06-11 Christopher Faylor <cgf@timesys.com>
* fhandler_console.cc (fhandler_console::read): Fix a compiler warning.
2005-06-10 Christopher Faylor <cgf@timesys.com>
* include/pthread.h: Change PTHREAD_MUTEX_DEFAULT to

2
winsup/cygwin/fhandler_console.cc

@ -383,7 +383,7 @@ fhandler_console::read (void *pv, size_t& buflen)
an ASCII control character, interpret is as META. */
meta = (control_key_state & ALT_PRESSED) != 0
&& ((control_key_state & CTRL_PRESSED) == 0
|| (ich >= 0 && ich <= 0x1f || ich == 0x7f));
|| ((signed char) ich >= 0 && ich <= 0x1f || ich == 0x7f));
else
/* Win9x: there's no way to distinguish Alt from AltGr, so rely
on dev_state->meta_mask heuristic (see fhandler_console constructor). */

Loading…
Cancel
Save