Commit f04d1ae0
made journal escape '\t' again, fix
This commit is contained in:
parent
05fc6523d5
commit
0d16b832d7
1 changed files with 2 additions and 2 deletions
|
@ -110,8 +110,8 @@ journal_entry_pr(char *s, size_t n)
|
||||||
return;
|
return;
|
||||||
for (p = (unsigned char *)s; *p && n; p++) {
|
for (p = (unsigned char *)s; *p && n; p++) {
|
||||||
if (*p == '\\')
|
if (*p == '\\')
|
||||||
fputs("\\\\", journal);
|
fprintf(journal, "\\\\");
|
||||||
else if (isprint(*p))
|
else if (isprint(*p) || *p == '\t')
|
||||||
putc(*p, journal);
|
putc(*p, journal);
|
||||||
else
|
else
|
||||||
fprintf(journal, "\\%03o", *p);
|
fprintf(journal, "\\%03o", *p);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue