diff options
author | Juan Cespedes <cespedes@debian.org> | 1998-03-13 19:31:29 +0100 |
---|---|---|
committer | Juan Cespedes <cespedes@debian.org> | 1998-03-13 19:31:29 +0100 |
commit | 81690ef1a83d7a093daaebc1a87cdb9ec6f74589 (patch) | |
tree | b2efb63e291b09443028ea5b238d9313348c79ee /display_args.c | |
parent | 1fe93d5b55ad2b8d4009a63e343db19cc1f21bb0 (diff) | |
download | ltrace-81690ef1a83d7a093daaebc1a87cdb9ec6f74589.tar.gz |
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
Diffstat (limited to 'display_args.c')
-rw-r--r-- | display_args.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 @@ static int display_char(char what) 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); } |