summaryrefslogtreecommitdiffstats
path: root/src/xxd/xxd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xxd/xxd.c')
-rw-r--r--src/xxd/xxd.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/xxd/xxd.c b/src/xxd/xxd.c
index f57d78634d..42bcdaad70 100644
--- a/src/xxd/xxd.c
+++ b/src/xxd/xxd.c
@@ -275,8 +275,11 @@ long base_off;
if (c == '\r') /* Doze style input file? */
continue;
+#if 0 /* this doesn't work when there is normal text after the hex codes in
+ the last line that looks like hex */
if (c == ' ' || c == '\n' || c == '\t') /* allow multiple spaces */
continue;
+#endif
n3 = n2;
n2 = n1;