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;
|
||||
for (p = (unsigned char *)s; *p && n; p++) {
|
||||
if (*p == '\\')
|
||||
fputs("\\\\", journal);
|
||||
else if (isprint(*p))
|
||||
fprintf(journal, "\\\\");
|
||||
else if (isprint(*p) || *p == '\t')
|
||||
putc(*p, journal);
|
||||
else
|
||||
fprintf(journal, "\\%03o", *p);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue