dc: make 4 % 0 emit error messgaes and set result to 0
authorDenys Vlasenko <vda.linux@googlemail.com>
Thu, 16 May 2019 07:40:36 +0000 (09:40 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Thu, 16 May 2019 07:40:36 +0000 (09:40 +0200)
commit1113961dde21ce73c1543ca466913d9e17d06c1b
tree2956a47d072fd613c05d2a31f4f363addc64e8f5
parentabe248b20880d4d3831ba0a188f69d4a8126498a
dc: make 4 % 0 emit error messgaes and set result to 0

function                                             old     new   delta
mod                                                  105     136     +31

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
miscutils/dc.c