od: remove bug-for-bug compat (because the bug was fixed in coreuitls)
authorDenis Vlasenko <vda.linux@googlemail.com>
Sun, 17 Dec 2006 19:21:13 +0000 (19:21 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Sun, 17 Dec 2006 19:21:13 +0000 (19:21 -0000)
coreutils/od_bloaty.c

index 9f1a582efe01847e0f32abfda35d6d1a60116f19..bd9f92536428c3da28761bcefa9e5b8720680a57 100644 (file)
@@ -866,8 +866,7 @@ format_address_paren(off_t address, char c)
 {
        putchar('(');
        format_address_std(address, ')');
-       /* BUG in coreutils 5.2.1! must be "if (c) putchar(c);" */
-       putchar(c);
+       if (c) putchar(c);
 }
 
 static void