aboutsummaryrefslogtreecommitdiff
path: root/docs/cgi
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2025-12-03 11:17:59 +0200
committerRon Yorston <rmy@pobox.com>2026-01-06 15:02:17 +0000
commit80429823757163f4855eb90d0004ad6eae55bd3f (patch)
tree6ff530744e23e8dd8c5f7cb4e0596b1b920e64cc /docs/cgi
parent78417c202393af53b78c1bc2268555bb26bf04d7 (diff)
downloadbusybox-w32-80429823757163f4855eb90d0004ad6eae55bd3f.tar.gz
busybox-w32-80429823757163f4855eb90d0004ad6eae55bd3f.tar.bz2
busybox-w32-80429823757163f4855eb90d0004ad6eae55bd3f.zip
md5/sha1sum: Honor the -b flag in the output
The output of md5sum/sha1sum contains a character to indicate what mode was used to read the file - '*' for binary, and ' ' for text or where binary is insignificant. This flag character makes a difference for the ffmpeg testsuite. This testsuite contains a number of reference files (e.g. [1]), containing the expected md5sum output for those files, which is checked verbatim. By making busybox's md5sum honor this flag in the output, ffmpeg's testsuite can run successfully on top of busybox. The flag is only partially implemented; in coreutils md5sum, a later "-t" option overrides an earlier "-b" option. Here, just check if a "-b" option was specified or not. Neither flag affects how the files actually are read. [1] https://code.ffmpeg.org/FFmpeg/FFmpeg/src/commit/894da5ca7d742e4429ffb2af534fcda0103ef593/tests/ref/acodec/flac Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'docs/cgi')
0 files changed, 0 insertions, 0 deletions