diff options
author | Christopher Faylor <me@cgf.cx> | 2012-07-29 23:18:05 +0400 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2012-07-29 23:18:05 +0400 |
commit | 7ea2ecec23fb3614b490d729cc834617b2dadc78 (patch) | |
tree | b635daa2c60e481e49e4d1b26bd2e56a72e371cd /winsup/cygwin/fhandler_termios.cc | |
parent | a2b7f569715640f97f6761f2cf49b455ef71fb29 (diff) |
* fhandler_termios.cc (fhandler_termios::line_edit): Use special case '%0c'
handling to print non-printable characters using hex notation.
* smallprint.cc (__small_vsprintf): Semi-reimplement printing of non-printable
characters in hex but only when padding is specified.
* dcrt0.cc (dll_crt0_0): Remove tty_list initialization.
* shared.cc (memory_init): Initialize tty_list here.
* path.cc (path_conv::check): Remove unneeded parentheses from if check.
Diffstat (limited to 'winsup/cygwin/fhandler_termios.cc')
-rw-r--r-- | winsup/cygwin/fhandler_termios.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/fhandler_termios.cc b/winsup/cygwin/fhandler_termios.cc index 690f08fa2..18afacf1d 100644 --- a/winsup/cygwin/fhandler_termios.cc +++ b/winsup/cygwin/fhandler_termios.cc @@ -237,7 +237,7 @@ fhandler_termios::line_edit (const char *rptr, int nread, termios& ti) { c = *rptr++; - termios_printf ("char %c", c); + paranoid_printf ("char %0c", c); /* Check for special chars */ |