Version 0.2.5
* After a successful execve(), library calls are now logged
* Enhanced displaying of non-printable chars
* Added some functions to /etc/ltrace.conf
diff --git a/display_args.c b/display_args.c
index dde6e6d..b3ce31e 100644
--- a/display_args.c
+++ b/display_args.c
@@ -61,10 +61,11 @@
case '\r': return fprintf(output, "\\r");
case '\n': return fprintf(output, "\\n");
case '\t': return fprintf(output, "\\t");
+ case '\b': return fprintf(output, "\\b");
case '\\': return fprintf(output, "\\");
default:
if ((what<32) || (what>126)) {
- return fprintf(output, "\\%03o", what);
+ return fprintf(output, "\\%03o", (unsigned char)what);
} else {
return fprintf(output, "%c", what);
}