commit ea986ea50489969a0c4201a0c4e56efeef214914
Author:     FRIGN <d...@frign.de>
AuthorDate: Fri Oct 2 15:43:17 2015 +0200
Commit:     sin <s...@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
@@ -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);

Reply via email to