← Commit list

2c6f56321

Denys Vlasenko
Denys Vlasenko
2018-12-11
SUCCESS Duration: 153s

Subject

bc: tweak comment

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

miscutils/bc.c+2 -1
@@ -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;
}