2017-01-10
2017-01-10 21:43:54 by Martin Nilsson <nilsson@fastmail.com>
-
1a6b47a9c5513796c75c20b715aeefe0c80ad988
(3 lines)
(+2/-1)
[
Show
| Annotate
]
Branch: 8.1
Use isprint to decide what characters to escape in debug.
1440: Inside #if defined(PIKE_DEBUG)
case '\b': fprintf(stderr,"\\b"); max-=2; break;
default:
- if(isidchar(c) || c==' ' || isgraph(c))
+ if(isprint(c))
{
putc(c,stderr);
max--;