mmh
12 years agoConvert scan() to the new world format API.
Ken Hornstein [Mon, 19 Nov 2012 18:48:16 +0000 (13:48 -0500)]
Convert scan() to the new world format API.

12 years agoChange fmt_findcasecmp() to fmt_findcasecomp(). The new name is more
Ken Hornstein [Mon, 19 Nov 2012 18:47:46 +0000 (13:47 -0500)]
Change fmt_findcasecmp() to fmt_findcasecomp().  The new name is more
consistent.

12 years agoChange API a bit.
Ken Hornstein [Mon, 19 Nov 2012 17:23:16 +0000 (12:23 -0500)]
Change API a bit.

Rename fmt_addcomp() to fmt_addcomptext().
Create new function fmt_addcompentry().

12 years agoRemove unused variable.
Ken Hornstein [Mon, 19 Nov 2012 17:22:26 +0000 (12:22 -0500)]
Remove unused variable.

12 years agoFinished work on rcvdist to convert to new world format API.
Ken Hornstein [Sat, 17 Nov 2012 04:56:26 +0000 (23:56 -0500)]
Finished work on rcvdist to convert to new world format API.

12 years agoMore (and hopefully for now) the final cleanup for mhl.
Ken Hornstein [Sat, 17 Nov 2012 04:41:10 +0000 (23:41 -0500)]
More (and hopefully for now) the final cleanup for mhl.

12 years agoBasic support for the new world API; seems to work!
Ken Hornstein [Sat, 17 Nov 2012 04:22:23 +0000 (23:22 -0500)]
Basic support for the new world API; seems to work!

12 years agoAdd missing functions for manipulating component text.
Ken Hornstein [Sat, 17 Nov 2012 04:21:54 +0000 (23:21 -0500)]
Add missing functions for manipulating component text.

12 years agoFix up documentation a bit.
Ken Hornstein [Sat, 17 Nov 2012 04:20:28 +0000 (23:20 -0500)]
Fix up documentation a bit.

12 years agoPartial work for mhl; still more stuff to do.
Ken Hornstein [Fri, 16 Nov 2012 02:47:59 +0000 (21:47 -0500)]
Partial work for mhl; still more stuff to do.

12 years agoFix missing argument to fmt_free().
Ken Hornstein [Fri, 16 Nov 2012 02:47:36 +0000 (21:47 -0500)]
Fix missing argument to fmt_free().

12 years agoBeginnings of conversion of code to new format interface.
Ken Hornstein [Thu, 15 Nov 2012 20:53:24 +0000 (15:53 -0500)]
Beginnings of conversion of code to new format interface.

12 years agoUpdate documentation to match code change.
Ken Hornstein [Thu, 15 Nov 2012 20:50:46 +0000 (15:50 -0500)]
Update documentation to match code change.

12 years agoFix a few bugs:
Ken Hornstein [Thu, 15 Nov 2012 19:21:20 +0000 (14:21 -0500)]
Fix a few bugs:

Make sure to add a ref when adding to the hash table.
Forgot the increment the format array inside of fmt_free().
Marked an allocated string when doing FT_LIT.

12 years agoAdd some comments to explain how format loop support was supposed to work.
Ken Hornstein [Thu, 15 Nov 2012 18:30:30 +0000 (13:30 -0500)]
Add some comments to explain how format loop support was supposed to work.

12 years agoAdd refcounting to struct comp.
Ken Hornstein [Thu, 15 Nov 2012 16:05:55 +0000 (11:05 -0500)]
Add refcounting to struct comp.
Move CHASH and FINDCOMP into fmt_compile.c to make private.

12 years agoBeginnings of the changes to fmt_compile for memory rework.
Ken Hornstein [Thu, 15 Nov 2012 14:19:36 +0000 (09:19 -0500)]
Beginnings of the changes to fmt_compile for memory rework.

12 years agoUpdate with new functions and comments describing them.
Ken Hornstein [Thu, 15 Nov 2012 14:18:11 +0000 (09:18 -0500)]
Update with new functions and comments describing them.

12 years agoRemoved support for zip from sendfiles. I added it as part of the
David Levine [Wed, 14 Nov 2012 14:47:14 +0000 (08:47 -0600)]
Removed support for zip from sendfiles.  I added it as part of the
sendfiles rewrite, f8baa5a34335fc0fc8ccabfabc601d0af73ab769, a few
weeks ago.  But because sendfiles fed zip from standard input, zip
would use Zip64 extensions.  That would require unzip 6.0 or later
to extract, according to the zip man page.  But current MacOS X
uses unzip 5.52, so it broke there.

12 years ago1) Don't bother checking stderr output from sendfiles because tar's
David Levine [Wed, 14 Nov 2012 04:35:57 +0000 (22:35 -0600)]
1) Don't bother checking stderr output from sendfiles because tar's
   output format isn't standardized.
2) Added -c to uncompress.

12 years agoUpdated scan.highlighted to feed an expression to %(zputlit).
David Levine [Wed, 14 Nov 2012 04:32:22 +0000 (22:32 -0600)]
Updated scan.highlighted to feed an expression to %(zputlit).

12 years agoMake sure we stick to POSIX-sed only. I _think_ this portable enough to
Ken Hornstein [Wed, 14 Nov 2012 03:23:02 +0000 (22:23 -0500)]
Make sure we stick to POSIX-sed only.  I _think_ this portable enough to
work everywhere.

12 years agoChange %(putlit) and %(zputlit) to take TF_EXPR instead of TF_STR. This
Ken Hornstein [Tue, 13 Nov 2012 23:53:55 +0000 (18:53 -0500)]
Change %(putlit) and %(zputlit) to take TF_EXPR instead of TF_STR.  This
was originally my fault; TF_STR means a string literal as an argument, but
the documentation (and the code) really means for it to take an expression.

12 years agoUpdated test-scan to correspond to commit
David Levine [Fri, 9 Nov 2012 21:02:53 +0000 (15:02 -0600)]
Updated test-scan to correspond to commit
112b90c43391644f24559f5aa58752214de0e8a5.

12 years agoAdded ml script to docs/contrib.
Paul Fox [Fri, 9 Nov 2012 20:53:21 +0000 (14:53 -0600)]
Added ml script to docs/contrib.

12 years agoRefer to just "root" in slocal man page.
David Levine [Fri, 9 Nov 2012 20:39:59 +0000 (14:39 -0600)]
Refer to just "root" in slocal man page.

12 years agoAdded ml script to docs/contrib.
Paul Fox [Fri, 9 Nov 2012 20:37:59 +0000 (14:37 -0600)]
Added ml script to docs/contrib.

12 years agoIn scan.highlighted, set black background on the colorized lines
David Levine [Wed, 7 Nov 2012 22:48:05 +0000 (16:48 -0600)]
In scan.highlighted, set black background on the colorized lines
to enhance visibility if the user has a light background.

12 years agoRemoved note from BUGS section of several man pages saying
David Levine [Wed, 7 Nov 2012 00:43:42 +0000 (18:43 -0600)]
Removed note from BUGS section of several man pages saying
that command line arguments must be quoted for protection from
the shell.  That's not a bug, and has nothing to do with nmh.

Changed "back-quoted" to "backquoted" for consistency in a few
man pages.

12 years agoFixed typo in mhn.man.
David Levine [Wed, 7 Nov 2012 00:42:45 +0000 (18:42 -0600)]
Fixed typo in mhn.man.

12 years agoFixed typo in mh-format man page description of zputlit.
David Levine [Mon, 5 Nov 2012 19:10:16 +0000 (13:10 -0600)]
Fixed typo in mh-format man page description of zputlit.

12 years agoAdded application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
David Levine [Mon, 5 Nov 2012 17:25:33 +0000 (11:25 -0600)]
Added application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
for .xlsx files.

12 years agoAdded format support for zputlit function escape. It requires
David Levine [Mon, 5 Nov 2012 02:58:47 +0000 (20:58 -0600)]
Added format support for zputlit function escape.  It requires
that the str contents have zero display width, such as for
terminal escape sequences.

12 years agonmh.7 isn't the place to advise people how to change their $PATH.
Lyndon Nerenberg [Sun, 4 Nov 2012 02:22:49 +0000 (19:22 -0700)]
nmh.7 isn't the place to advise people how to change their $PATH.

12 years agoFixed comparison to be signed instead of unsigned.
David Levine [Sat, 3 Nov 2012 13:13:34 +0000 (08:13 -0500)]
Fixed comparison to be signed instead of unsigned.

12 years agoAdded description of "all" range abbreviation.
David Levine [Sat, 3 Nov 2012 12:37:40 +0000 (07:37 -0500)]
Added description of "all" range abbreviation.

12 years agoAdded argument to fmt_scan() to specify the buffer size.
David Levine [Sat, 3 Nov 2012 03:45:07 +0000 (22:45 -0500)]
Added argument to fmt_scan() to specify the buffer size.

12 years agoUpdated date on sortm(1) man page.
David Levine [Mon, 29 Oct 2012 03:35:45 +0000 (22:35 -0500)]
Updated date on sortm(1) man page.

12 years agoUpdated build-nmh-cygwin for release of Cygwin nmh 1.5-2. To use:
David Levine [Sun, 28 Oct 2012 18:21:46 +0000 (13:21 -0500)]
Updated build-nmh-cygwin for release of Cygwin nmh 1.5-2.  To use:
1) Change VERSION to 1.5-2.
2) make dist
3) Symlink build-nmh-cygwin to nmh-1.5-2 and run that with "all".

12 years agoFixed typo reported by Ralph.
David Levine [Sat, 27 Oct 2012 17:36:29 +0000 (12:36 -0500)]
Fixed typo reported by Ralph.

I also should have mentioned in the commit message for
sortm(1) -check/-nocheck that Norm proposed their addition.

12 years agoIn test-post-common.sh and test-mhmail, wait for fakesmtp to start
David Levine [Sat, 27 Oct 2012 17:18:45 +0000 (12:18 -0500)]
In test-post-common.sh and test-mhmail, wait for fakesmtp to start
for up to 40 seconds.  10 seconds wasn't long enough when I leaned
on my machine.  Also, print out a message if exiting due to that
timeout.

12 years agoAdded -check/-nocheck switches to sortm(1). Also removed obsolete
David Levine [Sat, 27 Oct 2012 17:14:01 +0000 (12:14 -0500)]
Added -check/-nocheck switches to sortm(1).  Also removed obsolete
note in the BUGS portion of its man page about how it sorts messages
that are missing or have an invalid Date: field.  It actually sorts
them using their file modification times.

12 years agoFixed typo in Cygwin section of MACHINES.
David Levine [Wed, 24 Oct 2012 00:18:20 +0000 (19:18 -0500)]
Fixed typo in Cygwin section of MACHINES.

12 years agoCyrus SASL 2.1.25 introduced the sasl_callback_ft prototype,
David Levine [Wed, 24 Oct 2012 00:16:56 +0000 (19:16 -0500)]
Cyrus SASL 2.1.25 introduced the sasl_callback_ft prototype,
which has an explicit void parameter list, according to best
practice.  So we need to cast to avoid compile warnings.
And provide a sasl_callback_ft prototype for earlier versions.

12 years agoClarify that manpage references use the .IR macro everywhere.
Lyndon Nerenberg [Sun, 21 Oct 2012 19:39:43 +0000 (12:39 -0700)]
Clarify that manpage references use the .IR macro everywhere.

12 years agoFix one last missed %nmhdate% substitution.
Lyndon Nerenberg [Sun, 21 Oct 2012 19:38:40 +0000 (12:38 -0700)]
Fix one last missed %nmhdate% substitution.

Remove empty CONTEXT section.

12 years agoRemove %nmhdate% substitution from man.sed. It's no longer used.
Lyndon Nerenberg [Sun, 21 Oct 2012 19:37:49 +0000 (12:37 -0700)]
Remove %nmhdate% substitution from man.sed.  It's no longer used.

12 years agoMerge branch 'master' of ssh://git.sv.gnu.org/srv/git/nmh
Lyndon Nerenberg [Sun, 21 Oct 2012 19:33:21 +0000 (12:33 -0700)]
Merge branch 'master' of ssh://git.sv.gnu.org/srv/git/nmh

12 years agoCorrected date in sendfiles.man
David Levine [Sun, 21 Oct 2012 17:02:40 +0000 (12:02 -0500)]
Corrected date in sendfiles.man

12 years agoUpdated sendfiles(1):
David Levine [Sun, 21 Oct 2012 14:52:46 +0000 (09:52 -0500)]
Updated sendfiles(1):
1) Added -from switch.
2) sendfiles will now construct a From address, using the sender's
   localmbox, if the user does not specify it with -from or the PERSON
   environment variable.
3) Added support for bzip2, lzma, and zip compression methods.  Added
   a new switch to select the method:  -compress <method>.  Because
   support for the old -compress with was broken (it did not use
   -c with compress/uncompress) and it was undocumented, it has
   been replaced.  Retained old -gzip and -none switches for backward
   compatibility even though they were undocumented.
4) Allow the recipient argument to be preceded by the optional -to
   switch iff the subject argument is preceded by the optional
   -subject switch.  Allow the delay value to be specified using the
   optional -delay switch.
5) Added -version and -help switches.
6) All switches can now be abbreviated.

/etc/sendfiles no longer needs to be configured.  It's easier to
support make distcheck by having it figure out its path at runtime.

In viamail, set postproc to post in the same directory as itself, if
invoked with a full path.  This allows it to support make distcheck.
viamail does not read the profile so its postproc is otherwise
hard-coded at compile time.

Added test-sendfiles.

12 years agoUpdate the manpage style guide.
Lyndon Nerenberg [Sat, 20 Oct 2012 23:51:01 +0000 (16:51 -0700)]
Update the manpage style guide.

12 years agoMerge branch 'master' of ssh://git.sv.gnu.org/srv/git/nmh
Lyndon Nerenberg [Sat, 20 Oct 2012 22:02:16 +0000 (15:02 -0700)]
Merge branch 'master' of ssh://git.sv.gnu.org/srv/git/nmh

12 years agoRationalize .TH manpage macro invocations.
Lyndon Nerenberg [Sat, 20 Oct 2012 21:42:32 +0000 (14:42 -0700)]
Rationalize .TH manpage macro invocations.

This patch addresses the following issues with .TH macro usage:

  .TH COMP %manext1% "%nmhdate%" MH.6.8 [%nmhverion%]

1) "MH.6.8" is no longer relevant.

2) %nmhdate% is a hardwired value that only gets updated along with
   %nmhversion% and is therefore redundant.

This patch nukes the MH.6.8 tag, and replaces the hardwired
%nmhdate% field with the latest date the associated manpage has
been updated.  I pulled the dates - as best I could - from the
git logs.

Going forward, it is incumbent on developers to update the
manpage date stamps as they update the pages themselves.

12 years agoCleaned up a couple of shell variables.
David Levine [Sat, 20 Oct 2012 21:40:06 +0000 (16:40 -0500)]
Cleaned up a couple of shell variables.

12 years agoFixed the trap to work with posh.
David Levine [Sat, 20 Oct 2012 21:39:25 +0000 (16:39 -0500)]
Fixed the trap to work with posh.

12 years agoFixed printf's in test suite.
David Levine [Sat, 20 Oct 2012 15:41:43 +0000 (10:41 -0500)]
Fixed printf's in test suite.

12 years agoFixed the trap in mhmail.
David Levine [Sat, 20 Oct 2012 12:44:34 +0000 (07:44 -0500)]
Fixed the trap in mhmail.

12 years agoCleaned up uip/mhmail. Added chmod +x of spost in configure.ac.
David Levine [Fri, 19 Oct 2012 19:23:17 +0000 (14:23 -0500)]
Cleaned up uip/mhmail.  Added chmod +x of spost in configure.ac.

12 years agoManpage cross-reference cleanups: convert '.BR cmd (section)' to '.IR cmd (section)'
Lyndon Nerenberg [Wed, 17 Oct 2012 03:18:03 +0000 (20:18 -0700)]
Manpage cross-reference cleanups:  convert '.BR cmd (section)' to '.IR cmd (section)'
throughout the text.

12 years agoA couple more manpage typo cleanups.
Lyndon Nerenberg [Wed, 17 Oct 2012 02:48:02 +0000 (19:48 -0700)]
A couple more manpage typo cleanups.

12 years agoTypo.
Lyndon Nerenberg [Wed, 17 Oct 2012 02:45:38 +0000 (19:45 -0700)]
Typo.

12 years agoManpage SEE ALSO cleanup.
Lyndon Nerenberg [Wed, 17 Oct 2012 02:39:37 +0000 (19:39 -0700)]
Manpage SEE ALSO cleanup.

Convert to '.IR cmd (section)' format for manpage references.

Fixed a couple of inline '.BR cmd (section)' instances as well.

Removed HISTORY from new(1); this stuff doesn't belong in manpages.

12 years agoElide spurious empty lines in manpage source files.
Lyndon Nerenberg [Wed, 17 Oct 2012 01:20:18 +0000 (18:20 -0700)]
Elide spurious empty lines in manpage source files.

12 years agoEnsure the .TH macro is the first line of the manpage source files. Some
Lyndon Nerenberg [Wed, 17 Oct 2012 00:29:30 +0000 (17:29 -0700)]
Ensure the .TH macro is the first line of the manpage source files. Some
versions of man(1) get upset if .TH doesn't come first.

12 years agoUpdate the manpage authors guide, primarily for .TP, but also fixes
Lyndon Nerenberg [Wed, 17 Oct 2012 00:08:17 +0000 (17:08 -0700)]
Update the manpage authors guide, primarily for .TP, but also fixes
a couple of other incorrect style recommendations.

These updates are incomplete ... more to follow.

12 years agoMerge branch 'master' of ssh://git.sv.gnu.org/srv/git/nmh
Lyndon Nerenberg [Tue, 16 Oct 2012 23:40:17 +0000 (16:40 -0700)]
Merge branch 'master' of ssh://git.sv.gnu.org/srv/git/nmh

12 years agoIncorporate Paul Fox's changes that group the commands by functional groups.
Lyndon Nerenberg [Tue, 16 Oct 2012 23:32:48 +0000 (16:32 -0700)]
Incorporate Paul Fox's changes that group the commands by functional groups.

Move the "generated code" warning comment below the .TH macro to work around some buggy
man(1) implementations.

Removed all the .RS/.RE indenting and replaced the use of .fc and tab indenting
with .TP macros.

Move the BUGS section below SEE ALSO to follow the usual section ordering convention.

Fixed up some italic vs. bold usage.

Use '.IR foo (section)' in the SEE ALSO section.

Removed some irrelevant text, along with a small amount of word-smithing.

12 years agoUnset PAGER in test/common.sh so that make distcheck passes.
David Levine [Tue, 16 Oct 2012 19:53:04 +0000 (14:53 -0500)]
Unset PAGER in test/common.sh so that make distcheck passes.

12 years agoMerge branch 'master' of ssh://git.sv.gnu.org/srv/git/nmh
Lyndon Nerenberg [Tue, 16 Oct 2012 19:39:59 +0000 (12:39 -0700)]
Merge branch 'master' of ssh://git.sv.gnu.org/srv/git/nmh

12 years agoAdd new make targets 'man' and 'cleanman' to build and clean just
Lyndon Nerenberg [Tue, 16 Oct 2012 19:36:30 +0000 (12:36 -0700)]
Add new make targets 'man' and 'cleanman' to build and clean just
the man/ sub-directory.  I also removed the '@' supressors for the
internal manpage targets.  There's no net benefit to hiding this stuff.

12 years agoCleaned up some printf's.
David Levine [Tue, 16 Oct 2012 18:27:32 +0000 (13:27 -0500)]
Cleaned up some printf's.

12 years agoUpdated sendfiles(1) man page to reflect upcoming code update.
David Levine [Tue, 16 Oct 2012 18:23:43 +0000 (13:23 -0500)]
Updated sendfiles(1) man page to reflect upcoming code update.

12 years agoSome version of man(1) barf if the first line of the manpage is not
Lyndon Nerenberg [Tue, 16 Oct 2012 18:12:27 +0000 (11:12 -0700)]
Some version of man(1) barf if the first line of the manpage is not
the .TH macro.  Re-order the generated mh-chart.man so that the 'auto-generated'
comment appears after the .TH macro.

12 years agoSlightly reformat the FINDCOMP macro to quell a clang warning about
Lyndon Nerenberg [Tue, 16 Oct 2012 00:08:29 +0000 (17:08 -0700)]
Slightly reformat the FINDCOMP macro to quell a clang warning about
an empty for()-loop body.

12 years agoautomake 1.12 generates some (apparently) harmless warnings, but the build
Lyndon Nerenberg [Tue, 16 Oct 2012 00:06:40 +0000 (17:06 -0700)]
automake 1.12 generates some (apparently) harmless warnings, but the build
fails becuase we invoke automake with -Werror.  Remove -Werror from the
automake options until the autotools gurus can patch things up.

12 years agoMerge branch 'master' of ssh://git.sv.gnu.org/srv/git/nmh
Lyndon Nerenberg [Mon, 15 Oct 2012 22:22:39 +0000 (15:22 -0700)]
Merge branch 'master' of ssh://git.sv.gnu.org/srv/git/nmh

12 years agoAllow $PAGER to override the compiled-in default pager command.
Lyndon Nerenberg [Mon, 15 Oct 2012 22:21:48 +0000 (15:21 -0700)]
Allow $PAGER to override the compiled-in default pager command.

12 years agoRemoved unused function seek_home().
David Levine [Mon, 15 Oct 2012 02:13:05 +0000 (21:13 -0500)]
Removed unused function seek_home().

12 years agoThe first alias contained in a blind list is now expanded. The
David Levine [Mon, 15 Oct 2012 00:27:17 +0000 (19:27 -0500)]
The first alias contained in a blind list is now expanded.  The
mh-alias(5) man page was updated to show that blind lists must not
be terminated with, or contain, a trailing semicolon [Bug #15604].

12 years agoChanged error message to say that blind lists aren't
David Levine [Mon, 15 Oct 2012 00:02:43 +0000 (19:02 -0500)]
Changed error message to say that blind lists aren't
compatible with sendmail/pipe.

12 years agoFixed "mark -sequence cur -delete all" to work for cur as
Ralph Corderoy [Sun, 14 Oct 2012 23:59:06 +0000 (18:59 -0500)]
Fixed "mark -sequence cur -delete all" to work for cur as
well as any other sequence, to allow clearing of the current
message indication.

12 years agoDon't allow blind aliases with sendmail/pipe mts. Before this change,
David Levine [Sat, 13 Oct 2012 23:00:39 +0000 (18:00 -0500)]
Don't allow blind aliases with sendmail/pipe mts.  Before this change,
they would be fed to sendmail, which would reject them anyway.  This
change catches that in post and presents a more helpful error message
to the user (at the "What now?" prompt, if used).

A possible future enhancement might be, with sendmail/pipe, to expand
out blind aliases and put the addresses in Bcc: header fields, but
then the recipients would get messages with the Blind-Carbon-Copy
indication.  (Note that Dcc isn't supported with sendmail/pipe,
either.)

Just for information:  old spost fed the addresses of blind aliases to
sendmail, making them visible to all recipients.  Oops.

12 years agoRemoved potential buffer overflow in ali.c by replacing array of
David Levine [Sat, 13 Oct 2012 14:56:08 +0000 (09:56 -0500)]
Removed potential buffer overflow in ali.c by replacing array of
hard-coded maximum size with dynamically-sized array.

12 years agoFixed sortm(1) verbose message and man page to reflect that with
David Levine [Fri, 12 Oct 2012 04:00:43 +0000 (23:00 -0500)]
Fixed sortm(1) verbose message and man page to reflect that with
-limit 0, the sort is only on the text field.

12 years agoAdded -noall/-all switches to sortm(1).
David Levine [Fri, 12 Oct 2012 02:48:42 +0000 (21:48 -0500)]
Added -noall/-all switches to sortm(1).

12 years agoFixed typo in mh-alias man page.
David Levine [Mon, 8 Oct 2012 03:55:33 +0000 (22:55 -0500)]
Fixed typo in mh-alias man page.

12 years agoAdded newline to "send" that's piped to dist. Old 2.6 Linux
David Levine [Sun, 7 Oct 2012 16:25:01 +0000 (11:25 -0500)]
Added newline to "send" that's piped to dist.  Old 2.6 Linux
needs it.

12 years agoAdded test-anno, test-dist, test-msgchk, and test-rcvtty.
David Levine [Sun, 7 Oct 2012 15:31:12 +0000 (10:31 -0500)]
Added test-anno, test-dist, test-msgchk, and test-rcvtty.

12 years agoChanged nmh-fcc to fcc. See etc/forwcomps. Another catch by the
David Levine [Sun, 7 Oct 2012 15:27:31 +0000 (10:27 -0500)]
Changed nmh-fcc to fcc.  See etc/forwcomps.  Another catch by the
test suite!

12 years agoUpdates to test/common.sh.in:
David Levine [Sun, 7 Oct 2012 15:18:54 +0000 (10:18 -0500)]
Updates to test/common.sh.in:
1) Added function check_for_hard_links.  Moved this code out of
   test-refile so that other tests can use it.
2) Added mmdfldir and mmdflfil settings to the mts.conf for tests, to
   support test-msgchk.

12 years agoRemoved double quotes around case arguments in test scripts.
David Levine [Sun, 23 Sep 2012 14:02:18 +0000 (09:02 -0500)]
Removed double quotes around case arguments in test scripts.

12 years agoWhen determining the path of the script inside mhmail, handle case
David Levine [Sun, 23 Sep 2012 14:00:11 +0000 (09:00 -0500)]
When determining the path of the script inside mhmail, handle case
where $0 is just the script name, without any directory.  Bourne
shell does that if the script is found using PATH.

12 years agoDisabled echo of rm -f lines in Makefile to quiet builds and
David Levine [Wed, 19 Sep 2012 03:18:21 +0000 (22:18 -0500)]
Disabled echo of rm -f lines in Makefile to quiet builds and
installs a bit.

12 years agoReplaced spost with script that exec's post -mts sendmail/pipe.
David Levine [Wed, 19 Sep 2012 03:00:00 +0000 (22:00 -0500)]
Replaced spost with script that exec's post -mts sendmail/pipe.

12 years agoRemoved mhmail.c because it was no longer needed and could get in
David Levine [Tue, 18 Sep 2012 00:42:27 +0000 (19:42 -0500)]
Removed mhmail.c because it was no longer needed and could get in
the way of make if its timestamp was newer than that of the mhmail
script.  Thanks to Johan Viklund for reporting this.

12 years agoFor the mhstore -clobber test, cd to the Mail subdirectory so that
David Levine [Mon, 17 Sep 2012 04:12:19 +0000 (23:12 -0500)]
For the mhstore -clobber test, cd to the Mail subdirectory so that
the stored files will get cleaned up by the exit trap in common.sh.

12 years agoMerge branch 'master' of ssh://git.sv.gnu.org/srv/git/nmh
Lyndon Nerenberg [Sun, 16 Sep 2012 21:39:27 +0000 (14:39 -0700)]
Merge branch 'master' of ssh://git.sv.gnu.org/srv/git/nmh

12 years agoFix a comment typo.
Lyndon Nerenberg [Sun, 16 Sep 2012 21:38:54 +0000 (14:38 -0700)]
Fix a comment typo.

12 years agoWith mhstore -clobber auto/suffix, when looking for a new filename,
David Levine [Sun, 16 Sep 2012 18:54:23 +0000 (13:54 -0500)]
With mhstore -clobber auto/suffix, when looking for a new filename,
actually open(2) the file with O_CREAT | O_EXCL to avoid the race
condition when figuring out the filename first and opening it later.

12 years agoAdded "-d --" to invocation of ls when figuring out what files
David Levine [Sun, 16 Sep 2012 17:45:12 +0000 (12:45 -0500)]
Added "-d --" to invocation of ls when figuring out what files
to attach in whatnow.