]> diplodocus.org Git - nmh/log
nmh
8 years agouip/dropsbr.c: Fix buffer overrun in mbx_copy().
Ralph Corderoy [Thu, 20 Apr 2017 13:27:46 +0000 (14:27 +0100)]
uip/dropsbr.c: Fix buffer overrun in mbx_copy().

The overrun occurs frequently, but typically zeroes a byte of a
character pointer on the stack that's not yet been used.
Caused by 28610ff9a604a75ae0c383be03aa19415ddb1965 appending a NUL after
the bytes stored by read(2).

9 years agoh/mime.h: Delete unused isatom(c) macro.
Ralph Corderoy [Tue, 18 Apr 2017 14:37:54 +0000 (15:37 +0100)]
h/mime.h: Delete unused isatom(c) macro.

9 years agoman/*.man: Fix some multi-word .B invocations.
Ralph Corderoy [Tue, 18 Apr 2017 11:54:28 +0000 (12:54 +0100)]
man/*.man: Fix some multi-word .B invocations.

Some needed to be .B for the first word, but .I for the second, or just
plain text for the rest of the words that should be on their own line.
Others were just plain wrong and became .IR for a man-page reference.
Then the .TP macro uses an input trap so only a single following line of
source is used and this prevents a two-line `.B .I', so use embedded
font escapes instead.

9 years agoman/*.man: Use italic for emphasis, not bold or SHOUTING.
Ralph Corderoy [Tue, 18 Apr 2017 00:14:57 +0000 (01:14 +0100)]
man/*.man: Use italic for emphasis, not bold or SHOUTING.

When reading a body of text, italic is sufficient to add emphasis to
what's already being read.  Bold draws the eye to the word on the page
and is more useful for keywords, concepts, etc.  Some `.B' remain that
should probably be `.I', but they looked to have other problems so I
left them out of this pass.

9 years agoREADME.manpages: `user ID', not `user-id'.
Ralph Corderoy [Mon, 17 Apr 2017 23:27:35 +0000 (00:27 +0100)]
README.manpages: `user ID', not `user-id'.

9 years agoman/*.man: Replace minus sign with hyphen: `\-' with `-'.
Ralph Corderoy [Mon, 17 Apr 2017 23:24:07 +0000 (00:24 +0100)]
man/*.man: Replace minus sign with hyphen: `\-' with `-'.

Conservatively changed many of the troff minus-signs, `\-', with a troff
hyphen, `-'.  Where it wasn't quickly obviously, I left it unchanged.
There were also cases that shouldn't be either minus sign or hyphen.
Those were changed to hyphen and still need to be fixed properly.

9 years agoREADME.manpages: It's a `From header', not a `From: header'.
Ralph Corderoy [Mon, 17 Apr 2017 22:36:28 +0000 (23:36 +0100)]
README.manpages: It's a `From header', not a `From: header'.

9 years agoUse stat(3) instead of lstat(3), to dereference symbolic links.
David Levine [Mon, 17 Apr 2017 22:06:05 +0000 (18:06 -0400)]
Use stat(3) instead of lstat(3), to dereference symbolic links.

Fix to commit 4318012376e06229307c0ed4f62a00faae9edc63.

9 years agoDon't ignore bit 5 of a char when comparing alias names.
Ralph Corderoy [Mon, 17 Apr 2017 13:53:28 +0000 (14:53 +0100)]
Don't ignore bit 5 of a char when comparing alias names.

It's a crude method of ignoring case, but makes `^' equal to `~'.
Use tolower(3) instead.
http://lists.nongnu.org/archive/html/nmh-workers/2017-03/msg00050.html

9 years agoman/mh-profile.man: Note MHTMPDIR is deprecated.
Ralph Corderoy [Mon, 17 Apr 2017 13:34:14 +0000 (14:34 +0100)]
man/mh-profile.man: Note MHTMPDIR is deprecated.

In future, only TMPDIR and /tmp will be used, e.g. not `mhpath +'.

9 years agoREADME.manpages: Add `Common errors and subjective conventions'.
Ralph Corderoy [Mon, 17 Apr 2017 13:06:36 +0000 (14:06 +0100)]
README.manpages: Add `Common errors and subjective conventions'.

Based partly on recent mailing-list posts about Larry's patches.

9 years agoREADME.manpages: Add question to guide update of .TH's date.
Ralph Corderoy [Mon, 17 Apr 2017 12:32:47 +0000 (13:32 +0100)]
README.manpages: Add question to guide update of .TH's date.

9 years agoREADME.manpages: Clarify that man-page source is ASCII.
Ralph Corderoy [Mon, 17 Apr 2017 12:29:38 +0000 (13:29 +0100)]
README.manpages: Clarify that man-page source is ASCII.

9 years agoFix post's die() to save errno before unlink(2)ing.
Ralph Corderoy [Mon, 17 Apr 2017 11:10:35 +0000 (12:10 +0100)]
Fix post's die() to save errno before unlink(2)ing.

9 years agoAllow advertise() to assume strerror(3) won't fail.
Ralph Corderoy [Mon, 17 Apr 2017 10:50:39 +0000 (11:50 +0100)]
Allow advertise() to assume strerror(3) won't fail.

The code already assumes that elsewhere when it calls strerror().

9 years agoChange admonish(NULL, "foo") to inform("foo, continuing...").
Ralph Corderoy [Mon, 17 Apr 2017 10:42:39 +0000 (11:42 +0100)]
Change admonish(NULL, "foo") to inform("foo, continuing...").

Removes more uses of the ad... functions with unneeded parameters.
Puts the "continuing" at the call site rather than the reader having to
remember it's being magically appended.  (Some calls were passing
"foo\n" that would result in "foo\n, continuing...\n" appearing.)

9 years agoDon't store getname()'s return value during flushing.
Ralph Corderoy [Mon, 17 Apr 2017 10:13:36 +0000 (11:13 +0100)]
Don't store getname()'s return value during flushing.

`cp' after the loop is overwritten before being read.
Not storing the return value makes it clear it's not used.

9 years agoImprove function comments for the ad... diagnostic functions.
Ralph Corderoy [Mon, 17 Apr 2017 10:06:12 +0000 (11:06 +0100)]
Improve function comments for the ad... diagnostic functions.

Give the resulting layout of parameters that appears on stderr.

9 years agoFix bug in advertise("", "", "foo", ap).
Ralph Corderoy [Mon, 17 Apr 2017 09:57:54 +0000 (10:57 +0100)]
Fix bug in advertise("", "", "foo", ap).

A non-NULL but empty `what' would result in "fooerrno\n" without
separation.  Improve the function's comment to try and make it obvious
how its out of order parameters appear.

9 years agoReplace advise(NULL, fmt, ...) with inform(fmt, ...).
Ralph Corderoy [Mon, 17 Apr 2017 09:42:09 +0000 (10:42 +0100)]
Replace advise(NULL, fmt, ...) with inform(fmt, ...).

9 years agoAdd inform() to provide an equivalent to advise(NULL, ...).
Ralph Corderoy [Mon, 17 Apr 2017 09:16:51 +0000 (10:16 +0100)]
Add inform() to provide an equivalent to advise(NULL, ...).

A small step in clearing up the confusing ad... names of the diagnostic
routines.  `inform' isn't great, but err(3) nabs `warn' already.

9 years agoReplace add(nonnull, NULL) with mh_xstrdup(nonnull).
Ralph Corderoy [Sun, 16 Apr 2017 22:49:00 +0000 (23:49 +0100)]
Replace add(nonnull, NULL) with mh_xstrdup(nonnull).

Only a few cases where it's obvious that the first parameter will not be
NULL.

9 years agouip/aliasbr.c: Add FIXME to prove test of add()'s return value.
Ralph Corderoy [Sun, 16 Apr 2017 22:36:07 +0000 (23:36 +0100)]
uip/aliasbr.c: Add FIXME to prove test of add()'s return value.

add() always returns true so perhaps some other test is intended
instead.

9 years agoman/*.man: Replace \(ru with an underscore, e.g. .mh_profile.
Ralph Corderoy [Sun, 16 Apr 2017 22:25:32 +0000 (23:25 +0100)]
man/*.man: Replace \(ru with an underscore, e.g. .mh_profile.

The character is an underscore, and that's what's wanted.
\(ru gives a "rule", which draws as a thick baseline in PDFs;
not a character at all.
Other devices map \(ru onto underscore, e.g. ASCII,
but an underscore should be used in the first place.

9 years agoReplace some strdup() with mh_xstrdup().
Ralph Corderoy [Sun, 16 Apr 2017 13:01:42 +0000 (14:01 +0100)]
Replace some strdup() with mh_xstrdup().

(This is an old patch I had stashed.)
Some surrounding `if...adios()' are removed too, but most of the
strdup() calls weren't being checked for success, thus their
replacement.

9 years agoRemove unneeded `\&' from man pages.
Ralph Corderoy [Sat, 15 Apr 2017 23:35:11 +0000 (00:35 +0100)]
Remove unneeded `\&' from man pages.

The zero-width character is used before a command character that is
intended to be literal but may end up at the start of a line.
Similarly, it's used after an end-of-sentence character when it may end
up at the end of the line but isn't the end of a sentence.
Remove the other cases because they're noise that confuses the issue of
when `\&' should be used.

9 years agoAlter mh-chart(7)'s NAME to be lowercase.
Ralph Corderoy [Sat, 15 Apr 2017 23:34:01 +0000 (00:34 +0100)]
Alter mh-chart(7)'s NAME to be lowercase.

And mention the commands' options.

9 years agoman/*.man: No need for empty comment to be comments.
Ralph Corderoy [Sat, 15 Apr 2017 19:14:42 +0000 (20:14 +0100)]
man/*.man: No need for empty comment to be comments.

A line that's just a `.' suffices.

9 years agoEnsure .TH is the first line of a man page.
Ralph Corderoy [Sat, 15 Apr 2017 19:11:33 +0000 (20:11 +0100)]
Ensure .TH is the first line of a man page.

9 years agoFix errors in man-page NAME sections.
Ralph Corderoy [Sat, 15 Apr 2017 18:17:31 +0000 (19:17 +0100)]
Fix errors in man-page NAME sections.

man/fmttest.man didn't have a NAME section, but a FMTTEST one.
And it broke lexgrog(1) by splitting the section over multiple lines and
using `.IR'.  Re-write to use inline escapes.
man/rcvtty.man had two spaces before the `\-'.

9 years agoSwitch date to yyyy-mm-dd in generated mh-chart.man.
Ralph Corderoy [Sat, 15 Apr 2017 14:29:02 +0000 (15:29 +0100)]
Switch date to yyyy-mm-dd in generated mh-chart.man.

It's still today's date, but improving on that seems non-trivial.

9 years agoSpecify yyyy-mm-dd date format for a man page's .TH date.
Ralph Corderoy [Sat, 15 Apr 2017 13:48:02 +0000 (14:48 +0100)]
Specify yyyy-mm-dd date format for a man page's .TH date.

9 years agoUse `Unix', not `UNIX', in man pages.
Ralph Corderoy [Sat, 15 Apr 2017 13:36:51 +0000 (14:36 +0100)]
Use `Unix', not `UNIX', in man pages.

"...in deference to dmr's wishes."
    — http://catb.org/jargon/html/U/Unix.html

9 years agoFix forward-reference and `news.*' in mh-alias(5)'s example.
Ralph Corderoy [Sat, 15 Apr 2017 13:25:12 +0000 (14:25 +0100)]
Fix forward-reference and `news.*' in mh-alias(5)'s example.

Spotted by Bob Carragher.
The example's forward reference was made a backward one, and `news.*'
explanation removed, in ff3060cefb460cce2174058eefff38b6e11ee2f1.

9 years agoSet man-page date to last significant change, UTC.
Ralph Corderoy [Sat, 15 Apr 2017 10:31:22 +0000 (11:31 +0100)]
Set man-page date to last significant change, UTC.

9 years agoWind man-page date back to last significant change, UTC.
Ralph Corderoy [Sat, 15 Apr 2017 12:26:42 +0000 (13:26 +0100)]
Wind man-page date back to last significant change, UTC.

9 years agoWind man-page date back to the earliest git revision, UTC.
Ralph Corderoy [Fri, 14 Apr 2017 17:34:43 +0000 (18:34 +0100)]
Wind man-page date back to the earliest git revision, UTC.

No significant changes since then, and I can't find an earlier reference
date.

9 years agoConvert, already correct, man-page date to UTC.
Ralph Corderoy [Sat, 15 Apr 2017 12:21:07 +0000 (13:21 +0100)]
Convert, already correct, man-page date to UTC.

9 years agoConvert, already correct, man-page date to yyyy-mm-dd format.
Ralph Corderoy [Fri, 14 Apr 2017 22:49:21 +0000 (23:49 +0100)]
Convert, already correct, man-page date to yyyy-mm-dd format.

9 years agoRemove trailing spaces from lines in man pages.
Ralph Corderoy [Fri, 14 Apr 2017 14:55:47 +0000 (15:55 +0100)]
Remove trailing spaces from lines in man pages.

9 years agoEscape literal leading full stop in man/new.man.
Ralph Corderoy [Fri, 14 Apr 2017 14:51:58 +0000 (15:51 +0100)]
Escape literal leading full stop in man/new.man.

Error made in 5e32ede8e40251bf02f35b864e32a86e91599b3f.

9 years agoEditing of man/rmm.man.
Larry Hynes [Fri, 24 Mar 2017 23:20:07 +0000 (23:20 +0000)]
Editing of man/rmm.man.

- formatting, mostly
- don't make NOT bold

9 years agoEditing of man/rmf.man.
Larry Hynes [Fri, 24 Mar 2017 23:09:32 +0000 (23:09 +0000)]
Editing of man/rmf.man.

- delete trailing whitespace
- remove some \- things
- some formatting
- sort SEE ALSO

9 years agoEditing of man/repl.com.
Larry Hynes [Fri, 24 Mar 2017 23:02:00 +0000 (23:02 +0000)]
Editing of man/repl.com.

- unashamedly add nmh to .SH NAME
- replace the delightfully baroque 'may be used to produce a reply
  to an existing message' with 'may be used to reply to a message'.
- remove some \- objects
- deflower 'repl uses a reply template to guide its actions'
- remove multiple instances of 'replied\-to', with 'replied to'
- change 'tab\-stop' to 'tab stop'
- some formatting
- replace .B mhbuild with .IR mhbuild (1)
- replace whatnow with .B whatnow

9 years agoEditing of man/refile.man.
Larry Hynes [Fri, 24 Mar 2017 19:05:21 +0000 (19:05 +0000)]
Editing of man/refile.man.

- some formatting
- change .B mh\-sequence (5) to .IR mh\-sequence (5)

9 years agoEditing of man/rcvstore.man.
Larry Hynes [Fri, 24 Mar 2017 18:54:52 +0000 (18:54 +0000)]
Editing of man/rcvstore.man.

- delete some \- things
- some formatting
- change protection to mode, in line with inc.man
- Uncapitalize .SS Locking and \-unseen
- sort SEE ALSO

9 years agoEditing of man/prompter.man.
Larry Hynes [Fri, 24 Mar 2017 18:21:58 +0000 (18:21 +0000)]
Editing of man/prompter.man.

- remove some \- items; quite a few, actually
- put .B prompter on a line by itself, a number of times
- some formatting

9 years agoEditing of man/prev.man.
Larry Hynes [Fri, 24 Mar 2017 17:54:58 +0000 (17:54 +0000)]
Editing of man/prev.man.

- Delete trailing whitespace

9 years agoEditing of man/post.man.
Larry Hynes [Fri, 24 Mar 2017 17:52:22 +0000 (17:52 +0000)]
Editing of man/post.man.

- Delete trailing whitespace
- Change inline mh-profile(5) refs to .IR mh-profile (5)
- Some formatting
- Change take to read
- Say 'all message drafts' instead of 'all message draft'

9 years agoEditing of man/pick.man.
Larry Hynes [Fri, 24 Mar 2017 17:35:37 +0000 (17:35 +0000)]
Editing of man/pick.man.

- Some formatting
- Delete trailing whitespace
- Change complimentary to complementary, because English
- delete some \- things

9 years agoEditing of man/packf.man.
Larry Hynes [Fri, 24 Mar 2017 17:21:19 +0000 (17:21 +0000)]
Editing of man/packf.man.

9 years agoEditing of man/next.man.
Larry Hynes [Fri, 24 Mar 2017 17:08:00 +0000 (17:08 +0000)]
Editing of man/next.man.

- Delete trailing whitespace

9 years agoEditing of man/rcvtty.man.
Larry Hynes [Fri, 24 Mar 2017 01:19:47 +0000 (01:19 +0000)]
Editing of man/rcvtty.man.

- Add missing 'command'
- Some formatting
- Remove a \-, the mark that dare not speak its name
- Use 'switches' instead of 'options'
- Sort SEE ALSO programs

9 years agoEditing of man/mhfixmsg.man.
Larry Hynes [Fri, 24 Mar 2017 00:54:05 +0000 (00:54 +0000)]
Editing of man/mhfixmsg.man.

- 8bit -> 8-bit, nbit -> n-bit, except in flags and error msgs
- Add nmh to .SH NAME
- Formatting
- use .B for -outfile
- use .IR for mh-profile (5)
- sort SEE ALSO programs

9 years agoEditing of man/mhstore.man.
Larry Hynes [Thu, 23 Mar 2017 22:52:46 +0000 (22:52 +0000)]
Editing of man/mhstore.man.

- store -> stored
- some formatting

9 years agoEditing of man/mhshow.man.
Larry Hynes [Thu, 23 Mar 2017 22:08:44 +0000 (22:08 +0000)]
Editing of man/mhshow.man.

- Add some stray s's
- Some formatting
- Remove an \- object (I now pronounce \- as uh-unh; it's easier this way)
- Use alternative instead of alternate

9 years agoEditing of man/mhpath.man.
Larry Hynes [Thu, 23 Mar 2017 21:07:49 +0000 (21:07 +0000)]
Editing of man/mhpath.man.

- Add some commas
- Some formatting
- Delete empty .PP

9 years agoEditing of man/mhparam.man.
Larry Hynes [Thu, 23 Mar 2017 20:24:19 +0000 (20:24 +0000)]
Editing of man/mhparam.man.

- Add some commas
- Some formatting
- Delete 'just'

9 years agoEditing of man/mhmail.man.
Larry Hynes [Thu, 23 Mar 2017 20:11:10 +0000 (20:11 +0000)]
Editing of man/mhmail.man.

- Add reference to nmh in .SH NAME
- Delete empty .PP
- Remove a few 'various'es
- Some formatting
- SEE ALSO in alphabetical order

9 years agoEditing of man/mhlist.man.
Larry Hynes [Thu, 23 Mar 2017 18:12:46 +0000 (18:12 +0000)]
Editing of man/mhlist.man.

- Make clear that -headers is the default
- Some formatting

9 years agoEditing of man/mhl.man.
Larry Hynes [Thu, 23 Mar 2017 17:31:12 +0000 (17:31 +0000)]
Editing of man/mhl.man.

- Refer to environment variables (in text) without preceding $
- Don't put environment variables in bold (as per most other pages)
- Some better formatting

9 years agoEditing of man/mhical.man.
Larry Hynes [Thu, 23 Mar 2017 17:05:26 +0000 (17:05 +0000)]
Editing of man/mhical.man.

- Don't use capitalised .SH, when uncapitalised .SS will do
- Remove some early .SH/.SS to improve narrative
- Delete superfluous .fi

It could be argued that each of the (now) .SSs, which have been
demoted from .SHs, are unnecessary or, at least, not in line with
the other man pages . Demotion may suffice, for now.

9 years agoEditing of man/mhbuild.man.
Larry Hynes [Thu, 23 Mar 2017 14:15:46 +0000 (14:15 +0000)]
Editing of man/mhbuild.man.

- EDTIOR -> EDITOR
- remove some \- things
- formatting
- use 8-bit, like 7-bit

9 years agoEditing of man/mh-tailor.man.
Larry Hynes [Thu, 23 Mar 2017 01:49:06 +0000 (01:49 +0000)]
Editing of man/mh-tailor.man.

- Straighten up some formatting
- Don't escape hyphens unecessarily
- Pluralise message (so that outgoing messages...)

9 years agoEditing of man/mh-sequence.man.
Larry Hynes [Thu, 23 Mar 2017 01:29:20 +0000 (01:29 +0000)]
Editing of man/mh-sequence.man.

- Don't escape hyphens unecessarily
- Remove duplicate 'when' (when when)
- Straighten up some formatting
- Bring RFC reference into line (don't hyphenate)

9 years agoEditing of man/mh-profile.man.
Larry Hynes [Thu, 23 Mar 2017 00:46:53 +0000 (00:46 +0000)]
Editing of man/mh-profile.man.

- Clean up some formatting
- Replace an .sp with a .PP
- Remove a couple of empty .PPs and .REs
- Make the good English, yes please

9 years agoEditing of man/mh-mime.man.
Larry Hynes [Wed, 22 Mar 2017 22:57:13 +0000 (22:57 +0000)]
Editing of man/mh-mime.man.

- Clean up .SH NAME to one line without .IR nmh (7) on it
- Don't use escaped hyphens when not necessary
- Clean up some formatting
- Use 'Attach:' consistently (instead of 'Attach')

9 years agoEditing of man/mh-mail.man.
Larry Hynes [Tue, 21 Mar 2017 22:56:39 +0000 (22:56 +0000)]
Editing of man/mh-mail.man.

I think we can rise above ourselves, and delete 'antiquated'.

9 years agoEditing of man/mh-folders.man.
Larry Hynes [Tue, 21 Mar 2017 22:35:50 +0000 (22:35 +0000)]
Editing of man/mh-folders.man.

9 years agoEditing of man/mh-draft.man.
Larry Hynes [Tue, 21 Mar 2017 19:54:56 +0000 (19:54 +0000)]
Editing of man/mh-draft.man.

9 years agoEditing of man/new.man.
Larry Hynes [Tue, 21 Mar 2017 01:48:34 +0000 (01:48 +0000)]
Editing of man/new.man.

9 years agoMention `nmh' in man-page NAME section for apropos(1).
Larry Hynes [Tue, 21 Mar 2017 01:31:52 +0000 (01:31 +0000)]
Mention `nmh' in man-page NAME section for apropos(1).

9 years agoReplace `maildrop' with `mail drop' in man pages.
Larry Hynes [Sun, 19 Mar 2017 23:40:59 +0000 (23:40 +0000)]
Replace `maildrop' with `mail drop' in man pages.

9 years agoReview inc.man.
Larry Hynes [Sun, 19 Mar 2017 14:51:30 +0000 (14:51 +0000)]
Review inc.man.

First cut at a cleanup of inc.man, including: maildrop -> mail drop;
Ralph's mode/octal suggestion, with a change (by me) to refer to
chmod(1).

9 years agoAttempt to fix test-ap on fbsd-10 build host.
David Levine [Sun, 2 Apr 2017 13:26:17 +0000 (09:26 -0400)]
Attempt to fix test-ap on fbsd-10 build host.

9 years agoCheck for sufficient room for multi-column character.
David Levine [Sat, 1 Apr 2017 22:53:26 +0000 (18:53 -0400)]
Check for sufficient room for multi-column character.

Fix to commit 92128dacf8d5db02379e8f872dc50d31c6aaa55f.  The sympton,
reported by Valdis, was overrun of scan -width.

9 years agoEscaped repl, in case the user has it as a shell alias.
David Levine [Sat, 25 Mar 2017 11:47:53 +0000 (07:47 -0400)]
Escaped repl, in case the user has it as a shell alias.

9 years agoAdded etc/rmmproc.messageid.
David Levine [Sat, 25 Mar 2017 11:46:45 +0000 (07:46 -0400)]
Added etc/rmmproc.messageid.

9 years agoFix free(3) of unmalloc()'d string in whatnow's refile.
Ralph Corderoy [Wed, 22 Mar 2017 14:47:18 +0000 (14:47 +0000)]
Fix free(3) of unmalloc()'d string in whatnow's refile.

`ref +foo' at comp(1)'s whatnow prompt was trying to free "+foo".
Take a copy of the string so the later free works.
Tom Rodman reported the problem to nmh-workers.
Bug introduced in 3b6be5607a251a3a793e97382e251ce66ea2bca0.

9 years agoWork around flex 2.6.3 bug by conditionally #undef yywrap.
Ralph Corderoy [Wed, 22 Mar 2017 10:51:34 +0000 (10:51 +0000)]
Work around flex 2.6.3 bug by conditionally #undef yywrap.

There's no sign on https://github.com/westes/flex/issues/162 that they
will release a new flex with the fix soon.

9 years agoCleanup of .SH NAME sections.
Larry Hynes [Tue, 21 Mar 2017 16:49:12 +0000 (12:49 -0400)]
Cleanup of .SH NAME sections.

9 years agoFixed forw.man to pass test-manpages.
Larry Hynes [Sat, 18 Mar 2017 13:49:06 +0000 (13:49 +0000)]
Fixed forw.man to pass test-manpages.

9 years agoAdded test case for commit 4318012376e06229307c0ed4f62a00faae9edc63.
David Levine [Sat, 18 Mar 2017 20:53:15 +0000 (16:53 -0400)]
Added test case for commit 4318012376e06229307c0ed4f62a00faae9edc63.

9 years agoDon't let parse_mime() try to parse a directory.
David Levine [Sat, 18 Mar 2017 13:49:31 +0000 (09:49 -0400)]
Don't let parse_mime() try to parse a directory.

9 years agoCleanup to forw(1) man page.
Larry Hynes [Fri, 17 Mar 2017 16:36:06 +0000 (12:36 -0400)]
Cleanup to forw(1) man page.

9 years agoAdded /* FALLTHRU */ comments where gcc 7 noticed their need.
David Levine [Mon, 27 Feb 2017 03:50:42 +0000 (22:50 -0500)]
Added /* FALLTHRU */ comments where gcc 7 noticed their need.

And replaced similar comments to be consistent.  Used that comment
because it satisfies gcc -Wimplicit-fallthrough=4.

9 years agoSeparate out backquote expression to please Heirloom shell.
David Levine [Sun, 26 Feb 2017 19:07:38 +0000 (14:07 -0500)]
Separate out backquote expression to please Heirloom shell.

9 years agoTweaked to work with Heirloom shell.
David Levine [Sun, 26 Feb 2017 18:41:34 +0000 (13:41 -0500)]
Tweaked to work with Heirloom shell.

Shell parameter expansion ending in space needs it to be quoted.

9 years agoEcho CFLAGS in configure line, and only include if set.
David Levine [Tue, 21 Feb 2017 15:31:57 +0000 (10:31 -0500)]
Echo CFLAGS in configure line, and only include if set.

9 years agoChange "servers" mts.conf entry to only support a single SMTP server.
Ken Hornstein [Sun, 19 Feb 2017 22:05:12 +0000 (17:05 -0500)]
Change "servers" mts.conf entry to only support a single SMTP server.
As part of this change, fix SMTP code so the chosen SMTP server is
configured correctly for the netsec code.

9 years agoReworked handling of multiple, space separated, smtp servers.
David Levine [Sun, 19 Feb 2017 19:05:25 +0000 (14:05 -0500)]
Reworked handling of multiple, space separated, smtp servers.

9 years agoSuppress getcanon exit status check.
David Levine [Sun, 19 Feb 2017 19:00:04 +0000 (14:00 -0500)]
Suppress getcanon exit status check.

To allow tests to run when the local hostname doesn't resolve.

9 years agoSupport mhparam -debug along with -all.
David Levine [Sun, 19 Feb 2017 18:58:20 +0000 (13:58 -0500)]
Support mhparam -debug along with -all.

Fix to commit 234c9cc4829d86589a079ace49cfa5bc251ef62c.

9 years agoLimit mhparam's exit status to 120 missing components.
Ralph Corderoy [Sat, 18 Feb 2017 14:47:56 +0000 (14:47 +0000)]
Limit mhparam's exit status to 120 missing components.

Otherwise, 126 and 127 would clash with bash and zsh's use.
Higher than 127 would look like signals.  And 256 would wrap
to a falsely succesful zero.

9 years agomhfixmsg: Use folder name to open second message of a sequence.
Ralph Corderoy [Tue, 17 Jan 2017 12:54:02 +0000 (12:54 +0000)]
mhfixmsg: Use folder name to open second message of a sequence.

`mhfixmsg foo' where foo was sequence of more than one message would
sucessfully process the lowest numbered message of the sequence, but
fail to open(2) the second one as the folder was missing from the path.
For example, /home/ralph/mail/inbox/1 was used to open the first, but
/home/ralph/mail/2 was attempted for the second.  I guess this was
because a static array was being trampled during the first's processing,
though didn't try too hard to find where.  Making a copy of it fixed the
problem.

9 years agoRemove unused test file.
David Levine [Sat, 14 Jan 2017 15:57:09 +0000 (10:57 -0500)]
Remove unused test file.

9 years agoAdded delay for output file to be closed.
David Levine [Sat, 14 Jan 2017 15:51:40 +0000 (10:51 -0500)]
Added delay for output file to be closed.

9 years agoFixed references to --with-cyrus-sasl, and --without-, in comments.
David Levine [Sat, 14 Jan 2017 15:16:22 +0000 (10:16 -0500)]
Fixed references to --with-cyrus-sasl, and --without-, in comments.

9 years agoMake sure we always generate a Content-ID header for message/external-body
Ken Hornstein [Thu, 12 Jan 2017 02:37:52 +0000 (21:37 -0500)]
Make sure we always generate a Content-ID header for message/external-body
entities, as required by RFC 2045.

9 years agoFixed permissions on test script.
David Levine [Thu, 12 Jan 2017 02:32:20 +0000 (21:32 -0500)]
Fixed permissions on test script.

Fix to commit 77fff244ad1bb1e746c78bedc87659400e2c6535.