*
* Licensed under GPLv2, see file LICENSE in this source tree.
*/
+//config:config MAKEMIME
+//config: bool "makemime (5.4 kb)"
+//config: default y
+//config: help
+//config: Create MIME-formatted messages.
+
+//applet:IF_MAKEMIME(APPLET(makemime, BB_DIR_BIN, BB_SUID_DROP))
//kbuild:lib-$(CONFIG_MAKEMIME) += makemime.o mail.o
, G.opt_charset
, bb_get_last_path_component_strip(*argv)
);
- encode_base64(*argv++, (const char *)stdin, "");
+ printfile_base64(*argv++);
}
// put multipart footer