[Bug 14241] uudecode doesn't recognise the special decode_pathname /dev/stdout

bugzilla at busybox.net bugzilla at busybox.net
Sat Dec 25 01:03:50 UTC 2021


https://bugs.busybox.net/show_bug.cgi?id=14241

--- Comment #8 from Christoph Anton Mitterer <calestyo at scientia.org> ---
I should perhaps add one thing:

IMO it's okay to make features configurable, but only if the tool in question
fails kinda gracefully if it was disabled.
"Gracefully" in the sense, that the failure is not expected by POSIX, but still
detectable by checking the exit status

So for example:
if busybox' tr supports disabling character classes, fine, but only if tr then
fails with some non-zero exit status whenever it encounters such character
class.

The same would go here:
If busybox' uuencode was compiled without support for the symbol "/dev/stdout"
it should then fail whnever that string is used.

Otherwise one cannot reliably use it, when one cannot know how it was compiled.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the busybox-cvs mailing list