makemime or getopt32 bug?

Johannes Stezenbach js at sig21.net
Fri Oct 28 17:13:52 UTC 2011


On Fri, Oct 28, 2011 at 06:40:07PM +0200, Denys Vlasenko wrote:
> On Wed, Oct 26, 2011 at 12:01 PM, Johannes Stezenbach <js at sig21.net> wrote:
> >
> > 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
> 
> Fix:
> 
> http://git.busybox.net/busybox/commit/?id=83e34ac4b574fabd54a2d1a03063b263338ef03d

Ah, I didn't get how this opt_complementary thing works and "a" still
needs the colon.

Thanks
Johannes


More information about the busybox mailing list