]> git.ipfire.org Git - thirdparty/coreutils.git/commit
od: check sign bit more often
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 28 Jun 2025 22:04:30 +0000 (15:04 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 29 Jun 2025 04:00:41 +0000 (21:00 -0700)
commit984dcc37f2e821e20f747d387f1e9d6a2a31f448
treef5d7c03eb76abdb6c74eb59137b40ecc75eb812c
parent9aab4fb287e4e0b0778337ed9c5316a153993f1c
od: check sign bit more often

* src/od.c (read_char, dump_strings, main):
Instead of testing for an exact negative number,
just look at the sign bit.  This is a very minor tweak.
src/od.c