dcantrell / bsdutils

Alternative to GNU coreutils using software from FreeBSD
Other
169 stars 9 forks source link

fix hexdump(1) output #33

Closed q66 closed 2 years ago

q66 commented 2 years ago

The 'q' length modifier is not a part of standard C, and at least on musl it results in nothing being printed. Replace with the safe 'll' and modify the (u_)quad_t types to use long long or unsigned long long as necessary.

dcantrell commented 2 years ago

Nice find, thanks.