[hackers] [sbase] Match \v as escaped character || FRIGN

From: <git_AT_suckless.org>
Date: Fri, 2 Oct 2015 15:48:25 +0200 (CEST)

commit ea986ea50489969a0c4201a0c4e56efeef214914
Author: FRIGN <dev_AT_frign.de>
AuthorDate: Fri Oct 2 15:43:17 2015 +0200
Commit: sin <sin_AT_2f30.org>
CommitDate: Fri Oct 2 14:48:21 2015 +0100

    Match \v as escaped character
    
    Thanks Greg for noticing this!

diff --git a/od.c b/od.c
index 9521605..31f8179 100644
--- a/od.c
+++ b/od.c
_AT_@ -56,7 +56,7 @@ printchar(FILE *f, unsigned char c)
                 }
                 break;
         case 'c':
- if (strchr("\a\b\t\n\b\f\r\0", c)) {
+ if (strchr("\a\b\t\n\v\f\r\0", c)) {
                         fprintf(f, "%3s ", escdict[c]);
                 } else {
                         fprintf(f, "%3c ", c);
Received on Fri Oct 02 2015 - 15:48:25 CEST

This archive was generated by hypermail 2.3.0 : Fri Oct 02 2015 - 16:00:18 CEST