__small_printf format for strace.
2004-12-05 Bas van Gompel <cygwin-patch@bavag.tmfweb.nl>
+ * fhandler.cc (fhandler_base::read): Remove superfluous check in
+ __small_printf format for strace.
+
+2004-12-05 Bas van Gompel <cygwin-patch@bavag.tmfweb.nl>
+
* fhandler.cc (fhandler_base::read): Don't debug_printf garbage when
copied_chars is zero.
for (int i = 0; i < copied_chars && i < 16; ++i)
{
unsigned char c = ((unsigned char *) ptr)[i];
- /* >= 33 so space prints in hex */
- __small_sprintf (p, c >= 33 && c <= 127 ? " %c" : " %p", c);
+ __small_sprintf (p, " %c", c);
p += strlen (p);
}
*p = '\0';