mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-21 00:07:36 +08:00
* fhandler.cc (fhandler_base::read): Don't debug_printf garbage when
copied_chars is zero.
This commit is contained in:
parent
e9efc27020
commit
8b6d072355
@ -1,3 +1,8 @@
|
||||
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.
|
||||
|
||||
2004-12-03 Christopher Faylor <cgf@timesys.com>
|
||||
|
||||
* environ.cc (environ_init): Alloc space for TERM if it is not set,
|
||||
|
@ -758,6 +758,7 @@ fhandler_base::read (void *in_ptr, size_t& len)
|
||||
__small_sprintf (p, c >= 33 && c <= 127 ? " %c" : " %p", c);
|
||||
p += strlen (p);
|
||||
}
|
||||
*p = '\0';
|
||||
debug_printf ("read %d bytes (%s%s)", copied_chars, buf,
|
||||
copied_chars > 16 ? " ..." : "");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user