From: markus schnalke Date: Sat, 5 May 2012 09:43:24 +0000 (+0200) Subject: mhmail: For mailx(1) compat: A period alone on a line means EOF. X-Git-Tag: mmh-thesis-end~44 X-Git-Url: http://git.marmaro.de/?a=commitdiff_plain;h=aeca8a417f58825dc5c5c3fbd9d958251d6763fe;hp=aeca8a417f58825dc5c5c3fbd9d958251d6763fe;p=mmh mhmail: For mailx(1) compat: A period alone on a line means EOF. Also renamed the -body switch to -bodytext because its argument is the body text and not a file containing the body text. The rename should clarify this. After all, typing `-body' results in the same as typing `-bodytext' or only `-b'. Now, fgets() is used instead of fread(), thus not allowing null-bytes in the input anymore. This should be no restriction. ---