bc: tweak comment
authorDenys Vlasenko <vda.linux@googlemail.com>
Tue, 11 Dec 2018 20:21:14 +0000 (21:21 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Tue, 11 Dec 2018 20:21:14 +0000 (21:21 +0100)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
miscutils/bc.c

index 9f05cad0ce734f382ac612497836c20069818075..143bb64b18e6a19b64f1386e1e8ace3d5936eb95 100644 (file)
@@ -5586,8 +5586,9 @@ static char *bc_program_name(char *code, size_t *bgn)
 static void bc_program_printString(const char *str)
 {
 #if ENABLE_DC
-       // Huh? Example when this happens?
        if (!str[0]) {
+               // Example: echo '[]ap' | dc
+               // should print two bytes: 0x00, 0x0A
                bb_putchar('\0');
                return;
        }