makemime or getopt32 bug?
Johannes Stezenbach
js at sig21.net
Wed Oct 26 10:01:13 UTC 2011
Hi,
it seems the -a option to makemime (add header) does not work:
$ busybox makemime -c "text/plain" -a "Subject: mail test" /tmp/testmail
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="2089340718-1939522785-50604445"
--2089340718-1939522785-50604445
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline; filename="Subject: mail test"
Content-Transfer-Encoding: base64
makemime: can't open 'Subject: mail test': No such file or directory
I briefly looked at the code and I think the bug must be in getopt32?
I'm not sure however. I tested the current git
version (ec447c7f01acb0e3abd9daa52a1b616be3f39484) on x86.
Of course this is easily worked around but I thought I should
report it.
Thanks,
Johannes
More information about the busybox
mailing list