]> diplodocus.org Git - nmh/log
nmh
11 years agocast isspace() arg to unsigned char in previous commit
Paul Fox [Mon, 1 Dec 2014 18:32:26 +0000 (13:32 -0500)]
cast isspace() arg to unsigned char in previous commit

11 years agohandle extraneous trailing ';' characters that are followed by whitespace
Paul Fox [Mon, 1 Dec 2014 13:57:44 +0000 (08:57 -0500)]
handle extraneous trailing ';' characters that are followed by whitespace

11 years agomhfixmsg now removes an extraneous trailing semicolon from header
David Levine [Mon, 1 Dec 2014 03:35:19 +0000 (21:35 -0600)]
mhfixmsg now removes an extraneous trailing semicolon from header
parameter lists.

11 years agoUse Nmh-Attach for attach header field name, and accept Attach.
David Levine [Sun, 23 Nov 2014 01:00:32 +0000 (19:00 -0600)]
Use Nmh-Attach for attach header field name, and accept Attach.

11 years agoHave to check for missing type parameter in message/related part
David Levine [Sun, 23 Nov 2014 00:55:39 +0000 (18:55 -0600)]
Have to check for missing type parameter in message/related part
even though it's required according to RFC 2387 Sec. 3.1.

11 years agoExpanded explanation of mhfixmsg return status in its man page.
David Levine [Sun, 23 Nov 2014 00:54:48 +0000 (18:54 -0600)]
Expanded explanation of mhfixmsg return status in its man page.

11 years agoLook at type of parent multipart/related when determining whether
David Levine [Fri, 21 Nov 2014 04:28:28 +0000 (22:28 -0600)]
Look at type of parent multipart/related when determining whether
a non-plain text part already has a text/plain sibling.

11 years agoAdded support for multipart/related to MIME parser.
David Levine [Fri, 21 Nov 2014 04:27:58 +0000 (22:27 -0600)]
Added support for multipart/related to MIME parser.

11 years agoAdded some checks to mhfixmsg.c to avoid dereferecing null pointers
David Levine [Fri, 21 Nov 2014 02:25:14 +0000 (20:25 -0600)]
Added some checks to mhfixmsg.c to avoid dereferecing null pointers
after a failed transformation.

11 years agoFixed double fclose() in InitMultiPart() and leaks introduced in
David Levine [Fri, 21 Nov 2014 01:48:58 +0000 (19:48 -0600)]
Fixed double fclose() in InitMultiPart() and leaks introduced in
commit 5be8db81.

11 years agoprevent spurious errors when requesting specific message parts
Paul Fox [Thu, 20 Nov 2014 20:41:34 +0000 (15:41 -0500)]
prevent spurious errors when requesting specific message parts

no one should be reporting NOTOK for failure to display parts that
weren't actually requested.  failure should be reserved for parts that
we really attempted to display.

(this fix is an extension of c9794733.)

11 years agoUpdated simple integration example in mhfixmsg(1) man page
David Levine [Thu, 20 Nov 2014 03:04:33 +0000 (21:04 -0600)]
Updated simple integration example in mhfixmsg(1) man page
and added return status values.

11 years agoUpdated test-mhfixmsg to support -[no]changecur.
David Levine [Thu, 20 Nov 2014 02:17:45 +0000 (20:17 -0600)]
Updated test-mhfixmsg to support -[no]changecur.

11 years agoAdded -[no]changecur switches to mhfixmsg(1).
David Levine [Thu, 20 Nov 2014 02:13:01 +0000 (20:13 -0600)]
Added -[no]changecur switches to mhfixmsg(1).

11 years agoUpdated test-repl to compare with new -help message.
David Levine [Mon, 17 Nov 2014 00:13:47 +0000 (18:13 -0600)]
Updated test-repl to compare with new -help message.

11 years agoFixed repl help message to show "-[no]cc all|to|cc|me" instead of
David Levine [Sun, 16 Nov 2014 23:14:32 +0000 (17:14 -0600)]
Fixed repl help message to show "-[no]cc all|to|cc|me" instead of
different options for -cc and -nocc.

11 years agoFixed leak in content_charset(): if get_param() found the charset,
David Levine [Sun, 16 Nov 2014 23:10:52 +0000 (17:10 -0600)]
Fixed leak in content_charset():  if get_param() found the charset,
it returns a copy.

11 years agoMoved mhstore declarations from uip/mhn.c, uip/mhstore.c, and
David Levine [Sat, 15 Nov 2014 16:20:42 +0000 (10:20 -0600)]
Moved mhstore declarations from uip/mhn.c, uip/mhstore.c, and
uip/mhstoresbr.c to h/mhparse.h.

11 years agoRemoved "If this draft originated on the local host, then" phrase
David Levine [Sat, 15 Nov 2014 14:40:36 +0000 (08:40 -0600)]
Removed "If this draft originated on the local host, then" phrase
from mh-alias man page.  Alias resolution applies no matter where
the draft originated.

11 years agoChanged content_charset() to not cache, so the user can always, and
David Levine [Sat, 8 Nov 2014 05:08:13 +0000 (23:08 -0600)]
Changed content_charset() to not cache, so the user can always, and
should, free the return value.

11 years agoCleaned up leaks from calls to content_charset() in mhfixmsg.
David Levine [Sat, 8 Nov 2014 04:46:17 +0000 (22:46 -0600)]
Cleaned up leaks from calls to content_charset() in mhfixmsg.

11 years agoAdded deallocation of cts to freects_done().
David Levine [Sat, 8 Nov 2014 04:42:34 +0000 (22:42 -0600)]
Added deallocation of cts to freects_done().

11 years agoFixed repl(1) man page to show "msg" instead of "msgs" because
David Levine [Wed, 5 Nov 2014 03:47:13 +0000 (21:47 -0600)]
Fixed repl(1) man page to show "msg" instead of "msgs" because
it only allows reply to one message.

11 years agoFixed mlistfree() so that it doesn't dereference a free'd list node
David Levine [Tue, 4 Nov 2014 23:04:30 +0000 (17:04 -0600)]
Fixed mlistfree() so that it doesn't dereference a free'd list node
in order to find the next node.

11 years agoFixed commit 6cc9e85e73ff6f6c67ae6e645d184bbf57ecc2f0 to properly
David Levine [Tue, 4 Nov 2014 23:00:28 +0000 (17:00 -0600)]
Fixed commit 6cc9e85e73ff6f6c67ae6e645d184bbf57ecc2f0 to properly
return other than the first mbox/address if there's a match in
getmymbox/getmyaddr.

11 years agoFixed memory management in mhstore. The main problem was a double
David Levine [Thu, 30 Oct 2014 02:27:55 +0000 (21:27 -0500)]
Fixed memory management in mhstore.  The main problem was a double
free when both -file and -outfile switches were used on a MIME
message.

11 years agoAdded initial "MH-Profile-Version: 1.0\n" line to newly created
David Levine [Thu, 30 Oct 2014 00:37:18 +0000 (19:37 -0500)]
Added initial "MH-Profile-Version: 1.0\n" line to newly created
profiles.  The main purpose of this first line is to fool file(1).
Without it, if the first line of the profile is Path:, file 5.19
reports its type as message/news.  With it, it reports the type as
text/plain.

11 years agoRenamed getmymbox mh-format escape function to getmyaddr, and
David Levine [Tue, 28 Oct 2014 02:20:07 +0000 (21:20 -0500)]
Renamed getmymbox mh-format escape function to getmyaddr, and
added new getmymbox that returns the user's address with any
personal name.

11 years agoAdded getmymbox function escape.
David Levine [Sun, 26 Oct 2014 15:41:04 +0000 (10:41 -0500)]
Added getmymbox function escape.

11 years agoFixed memory leak in do_name() when multiple dates are parsed.
David Levine [Sun, 26 Oct 2014 01:41:55 +0000 (20:41 -0500)]
Fixed memory leak in do_name() when multiple dates are parsed.

11 years agoAdded free_fs(), corresponding to new_fs().
David Levine [Sun, 26 Oct 2014 01:38:20 +0000 (20:38 -0500)]
Added free_fs(), corresponding to new_fs().

11 years agoFixed dst format escape to return 1 instead of 16, to agree with its
David Levine [Sat, 25 Oct 2014 23:54:50 +0000 (18:54 -0500)]
Fixed dst format escape to return 1 instead of 16, to agree with its
documentation.

11 years agoAdded mhstore-store-text/html formatting string to mhn.defaults.
David Levine [Sat, 25 Oct 2014 04:25:58 +0000 (23:25 -0500)]
Added mhstore-store-text/html formatting string to mhn.defaults.

11 years agoFixed typo in mhstore man page.
David Levine [Sat, 25 Oct 2014 04:19:54 +0000 (23:19 -0500)]
Fixed typo in mhstore man page.

11 years agoReworked charstring_buffer_copy() to not use strdup() so that
David Levine [Sat, 25 Oct 2014 03:22:47 +0000 (22:22 -0500)]
Reworked charstring_buffer_copy() to not use strdup() so that
charstrings with null bytes can be supported.  Added
charstring_append_cstring().

11 years agoAdded mh_xcalloc().
David Levine [Sat, 11 Oct 2014 14:22:52 +0000 (09:22 -0500)]
Added mh_xcalloc().

11 years agoThe units of the zone format escape are minutes, not hours.
David Levine [Sat, 11 Oct 2014 14:17:14 +0000 (09:17 -0500)]
The units of the zone format escape are minutes, not hours.

11 years agoMerge branch 'master' of ssh://git.sv.gnu.org/srv/git/nmh
Lyndon Nerenberg [Thu, 9 Oct 2014 02:13:19 +0000 (19:13 -0700)]
Merge branch 'master' of ssh://git.sv.gnu.org/srv/git/nmh

11 years agono-op to force check the buildbots.
Lyndon Nerenberg [Thu, 9 Oct 2014 02:12:28 +0000 (19:12 -0700)]
no-op to force check the buildbots.

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

11 years agomhn.defaults: make fetch less agressive on FreeBSD.
Lyndon Nerenberg [Sun, 5 Oct 2014 19:28:56 +0000 (12:28 -0700)]
mhn.defaults: make fetch less agressive on FreeBSD.

Drop the -a flag to fetch.  Its retry logic has a bug where it will
go into an endless loop when trying to re-fetch an object behind
an https:// link when it is unable to validate the X.509 certificate
chain.

11 years agoUse "mhparam etcdir" instead of hard-coded etc in build_nmh.
David Levine [Sun, 5 Oct 2014 15:18:25 +0000 (10:18 -0500)]
Use "mhparam etcdir" instead of hard-coded etc in build_nmh.

11 years agoClean atags file as part of maintainer-clean.
Lyndon Nerenberg [Sun, 5 Oct 2014 08:50:59 +0000 (01:50 -0700)]
Clean atags file as part of maintainer-clean.

11 years agoAdd a missing option to mhn fetch command for FreeBSD.
Lyndon Nerenberg [Sun, 5 Oct 2014 08:27:56 +0000 (01:27 -0700)]
Add a missing option to mhn fetch command for FreeBSD.

I *always* forget the '-o -' to redirect to stdout :-P

11 years agoOn FreeBSD, use fetch(1) to retrieve external content through URLs.
Lyndon Nerenberg [Sun, 5 Oct 2014 08:20:56 +0000 (01:20 -0700)]
On FreeBSD, use fetch(1) to retrieve external content through URLs.

fetch(1) is part of the base system, so it's guaranteed to always be there.
And it is more likely to have been configured for any local site
customizations (local caches, proxies, etc).

11 years agoIf building from a non-master git branch, include the branch name in the version...
Lyndon Nerenberg [Sun, 5 Oct 2014 07:26:11 +0000 (00:26 -0700)]
If building from a non-master git branch, include the branch name in the version string.

11 years agoNew locations for config files and support binaries, and smarter default for install...
Lyndon Nerenberg [Sun, 5 Oct 2014 05:49:01 +0000 (22:49 -0700)]
New locations for config files and support binaries, and smarter default for install root directory.

The default locations for config files and back-end executables has
changed.

Config files have moved from ${sysconfdir} to ${sysconfdir}/nmh, and
the back-end programs from ${libdir} to ${libexecdir}/nmh.

The only user-visible change is the addition of a new mhparam(1)
component 'libexecdir', which replaces the previous 'libdir'.  User
scripts invoking 'mhparam libdir' will need an update.  'libdir'
has been kept around for the time being, to give people a chance
to update their scripts.  It returns the same value as 'libexecdir'.
'libdir' has been marked deprecated in the mhparam(1) manpage and
the release notes; it will be removed in a couple of releases.

In conjunction with this change there was an opportunity to do a
bit of Makefile cleanup.  The old 'auxexec' construct has been
replaced with a new scheme that leverages automake's templating.
The auxexec_* references have been replaced with nmhlibexec_* forms,
and a corresponding nmhlibexecdir variable defined as ${libexecdir}/nmh.

Likewise, etcdir has been replaced with nmhetcdir.

These name changes have percolated downstream to some extent, primarily
in the man pages and test scripts.

Finally, configure has been made a bit smarter about setting the
default ${prefix}.  If it finds an existing nmh installation, it
will set the default ${prefix} to match, falling back to /usr/local/nmh.
configure looks for an existing installation by searching $PATH for
a viable mhparam binary.

11 years agoFixed commit 2adafe760a9c45b417727a3f5d9481de26471a8b to not
David Levine [Sun, 5 Oct 2014 03:43:21 +0000 (22:43 -0500)]
Fixed commit 2adafe760a9c45b417727a3f5d9481de26471a8b to not
try to allocate a charstring_t of length INT_MAX with -width 0.

11 years agoSimplified test-mhl-flags a bit.
David Levine [Sun, 5 Oct 2014 03:17:08 +0000 (22:17 -0500)]
Simplified test-mhl-flags a bit.

11 years agoAdd a 'guide' file for acme(1).
Lyndon Nerenberg [Thu, 2 Oct 2014 00:20:38 +0000 (17:20 -0700)]
Add a 'guide' file for acme(1).

If we ever find more than one acme user working on the source,
the single-guide-file premise might need a review.

Ultimately, there should be a way for the configure script to
search for and import a personal guide file from the developer's
$HOME or some such.  The next person to come along can figure
that out.

11 years agogit: ignore top-level tags files
Lyndon Nerenberg [Wed, 1 Oct 2014 22:36:25 +0000 (15:36 -0700)]
git: ignore top-level tags files

atags is the output from a ctags variant that generates its
output in a format recognized by Plan 9's acme editor.
(ftp://orthanc.ca/unix/atags/ for details.)

11 years agoFreeBSD packages destination directory fixup.
Lyndon Nerenberg [Tue, 30 Sep 2014 05:42:28 +0000 (22:42 -0700)]
FreeBSD packages destination directory fixup.

If the ports collection is not installed, assume ports/packages
install under /usr/local.

Also, when querying <bsd.port.mk>, use the value of the $(LOCALBASE)
macro. ($(PREFIX) is for port-specific overrides of $(LOCALBASE).)

11 years agoFor FreeBSD builds, also search the ports tree for includes and libs.
Lyndon Nerenberg [Mon, 29 Sep 2014 22:52:18 +0000 (15:52 -0700)]
For FreeBSD builds, also search the ports tree for includes and libs.

11 years agoAdded checks of return value of fwrite() calls where missing.
David Levine [Mon, 15 Sep 2014 01:24:24 +0000 (20:24 -0500)]
Added checks of return value of fwrite() calls where missing.

11 years agoFixed formatting of rtrim/nortrim in mhl man page.
David Levine [Mon, 15 Sep 2014 00:31:43 +0000 (19:31 -0500)]
Fixed formatting of rtrim/nortrim in mhl man page.

11 years agoAn "rtrim" flag has been added to mhl to remove any trailing
David Levine [Mon, 15 Sep 2014 00:14:10 +0000 (19:14 -0500)]
An "rtrim" flag has been added to mhl to remove any trailing
whitespace from filtered text lines.  A corresponding "nortrim" flag
has also been added.

11 years agoIf a component has trailing whitespace, e.g., body:component="> ",
David Levine [Mon, 15 Sep 2014 00:04:21 +0000 (19:04 -0500)]
If a component has trailing whitespace, e.g., body:component="> ",
mhl now trims that whitespace off when filtering blank text lines.

11 years agoFixed all anomalies detected by clang static analyzer (with
David Levine [Sat, 13 Sep 2014 03:12:33 +0000 (22:12 -0500)]
Fixed all anomalies detected by clang static analyzer (with
default checkers on Linux).  One was notable:  there was a break
missing from a switch case in fmt_scan.c, which caused the result
of the sday function escape to be garbage.

11 years agoFix typo in man page
Ken Hornstein [Fri, 12 Sep 2014 19:06:52 +0000 (15:06 -0400)]
Fix typo in man page

11 years agoOn some platforms, -D_FORTIFY_SOURCE=2 warns about ignoring the
David Levine [Sun, 7 Sep 2014 14:56:21 +0000 (09:56 -0500)]
On some platforms, -D_FORTIFY_SOURCE=2 warns about ignoring the
return value from mbtowc() even when it is called to reset the
shift state.  So wrap that in an if statement with a null body.

11 years agoAdded -D_FORTIFY_SOURCE=2 now that the build is clean with it.
David Levine [Sun, 7 Sep 2014 14:18:20 +0000 (09:18 -0500)]
Added -D_FORTIFY_SOURCE=2 now that the build is clean with it.
Removed -Wno-unused-result because it shold no longer be necessary.
Adjusting all settings of CPPFLAGS to have consistent form.

11 years agoAdded a couple of new directories and a note about valgrind
David Levine [Sun, 7 Sep 2014 01:26:42 +0000 (20:26 -0500)]
Added a couple of new directories and a note about valgrind
warnings from debuginfo to README.developers.

11 years agoCheck return values of system calls in uip/ and test/ .c files, found
David Levine [Sat, 6 Sep 2014 13:00:52 +0000 (08:00 -0500)]
Check return values of system calls in uip/ and test/ .c files, found
with gcc's -D_FORTIFY_SOURCE=2.

11 years agoQuote "$SEARCHPATH" in mhn.defaults.sh to allow spaces, etc., in
David Levine [Sat, 6 Sep 2014 02:18:28 +0000 (21:18 -0500)]
Quote "$SEARCHPATH" in mhn.defaults.sh to allow spaces, etc., in
PATH components.

11 years agoDoubled size of buffers used by m_getfld(), scan, and fmttest to
David Levine [Tue, 2 Sep 2014 02:09:04 +0000 (21:09 -0500)]
Doubled size of buffers used by m_getfld(), scan, and fmttest to
8192, on any platform, so that -width 0 and -outsize max are
likely to include at least some part of the body of each message.

11 years agoFixed typo in mh-profile.man.
David Levine [Tue, 2 Sep 2014 01:27:33 +0000 (20:27 -0500)]
Fixed typo in mh-profile.man.

11 years agoDon't let scan() use too large a width (BUFSIZ for now) to prevent
David Levine [Tue, 2 Sep 2014 01:14:52 +0000 (20:14 -0500)]
Don't let scan() use too large a width (BUFSIZ for now) to prevent
allocating a huge output buffer.

11 years agoA value of 0 for the width switch of scan(1), inc(1), ap(1), dp(1),
David Levine [Sun, 31 Aug 2014 20:40:57 +0000 (15:40 -0500)]
A value of 0 for the width switch of scan(1), inc(1), ap(1), dp(1),
fmttest(1), and mhl(1) now means as many characters as the format
engine can produce [Bug #15274].  That amount is limited by internal
buffers.

11 years agoFixed read of body in fmttest to limit size to that of rbuf, if
David Levine [Sun, 31 Aug 2014 20:39:47 +0000 (15:39 -0500)]
Fixed read of body in fmttest to limit size to that of rbuf, if
smaller than outwidth, to avoid overrunning it.

11 years agofmt_scan() no longer subtracts 1 from the width. This has the effect
David Levine [Fri, 29 Aug 2014 13:50:51 +0000 (08:50 -0500)]
fmt_scan() no longer subtracts 1 from the width.  This has the effect
of no longer counting the trailing newline in the output of scan(1),
inc(1), and the other programs that rely on it.

11 years agoVery very rough cut at trying to parse email addresses with Bison.
Ken Hornstein [Fri, 29 Aug 2014 02:29:21 +0000 (22:29 -0400)]
Very very rough cut at trying to parse email addresses with Bison.

11 years agoCheck return values of system calls in several sbr .c files, found
David Levine [Tue, 26 Aug 2014 03:06:11 +0000 (22:06 -0500)]
Check return values of system calls in several sbr .c files, found
with gcc's -D_FORTIFY_SOURCE=2.  Updated checks added previously to
mhfixmsg.c to be consistent.

11 years agoMoved reverse_alternative_parts() from mhfixmsg.c to mhparse.c
David Levine [Tue, 26 Aug 2014 01:49:39 +0000 (20:49 -0500)]
Moved reverse_alternative_parts() from mhfixmsg.c to mhparse.c
and added declaration to mhparse.h.

11 years agoRemoved msh relics from scansbr.c, including a global.
David Levine [Tue, 26 Aug 2014 00:50:23 +0000 (19:50 -0500)]
Removed msh relics from scansbr.c, including a global.

11 years agoAdded size_t cast of another MB_CUR_MAX to silence the compiler
David Levine [Tue, 26 Aug 2014 00:29:34 +0000 (19:29 -0500)]
Added size_t cast of another MB_CUR_MAX to silence the compiler
on FreeBSD 9.

11 years agoAdded cast of MB_CUR_MAX to size_t to silence compiler warning on
David Levine [Mon, 25 Aug 2014 02:46:34 +0000 (21:46 -0500)]
Added cast of MB_CUR_MAX to size_t to silence compiler warning on
FreeBSD.

11 years agoDynamically allocate space for the output of fmt_scan(), using
David Levine [Mon, 25 Aug 2014 02:19:10 +0000 (21:19 -0500)]
Dynamically allocate space for the output of fmt_scan(), using
charstring_t, so a fixed sized output buffer is no longer needed.
Also got rid of scanl global.

11 years agoAdded const to last argument of trace_cb signature, it'll be
David Levine [Sun, 24 Aug 2014 17:06:40 +0000 (12:06 -0500)]
Added const to last argument of trace_cb signature, it'll be
needed for use with charstring.

11 years agoAdded charstring "class".
David Levine [Sun, 24 Aug 2014 13:23:55 +0000 (08:23 -0500)]
Added charstring "class".

11 years agoRefer to RFC 2046 instead of 1521 in mhlist.man.
David Levine [Wed, 20 Aug 2014 12:53:56 +0000 (07:53 -0500)]
Refer to RFC 2046 instead of 1521 in mhlist.man.

11 years agoChanged dist_contrib_DATA to dist_contrib_SCRIPTS so that all
David Levine [Tue, 19 Aug 2014 01:47:03 +0000 (20:47 -0500)]
Changed dist_contrib_DATA to dist_contrib_SCRIPTS so that all
of the scripts will be installed with execute permissions.

11 years agoUpdated mhfixmsg(1) man page to refer to mh-mkstemp(1) instead of
David Levine [Tue, 19 Aug 2014 01:36:00 +0000 (20:36 -0500)]
Updated mhfixmsg(1) man page to refer to mh-mkstemp(1) instead of
mktemp.

11 years agoChecked return value of write() calls in mhfixmsg.c,
David Levine [Sun, 17 Aug 2014 02:01:26 +0000 (21:01 -0500)]
Checked return value of write() calls in mhfixmsg.c,
found with gcc's -D_FORTIFY_SOURCE=2.

11 years agoRemoved h/msh, hopefully the last msh relic.
David Levine [Sat, 16 Aug 2014 02:00:57 +0000 (21:00 -0500)]
Removed h/msh, hopefully the last msh relic.

11 years agoncurses package is required to run all of test suite on Linux and Cygwin.
David Levine [Sat, 9 Aug 2014 14:20:31 +0000 (09:20 -0500)]
ncurses package is required to run all of test suite on Linux and Cygwin.

11 years agoPrint information about the compiler toolchain on Darwin and FreeBSD.
Lyndon Nerenberg [Fri, 8 Aug 2014 21:32:54 +0000 (14:32 -0700)]
Print information about the compiler toolchain on Darwin and FreeBSD.

11 years agoAdd new build tool: tools/showbuildenv
Lyndon Nerenberg [Thu, 7 Aug 2014 00:48:18 +0000 (17:48 -0700)]
Add new build tool: tools/showbuildenv

This prints some basic information about the build environment.
It's intended use is to print some information about the specific
build environment for each of the builds in the buildbot cluster.
In particular, the patch level of the OS, and the versions of
3rd-party packages installed on the system, compiler versions, etc.

11 years agoRemoved second argument from m_Eom() in m_getfld.c because
David Levine [Mon, 4 Aug 2014 03:08:23 +0000 (22:08 -0500)]
Removed second argument from m_Eom() in m_getfld.c because
it was unused.

11 years agoHere's a better fix to m_Eom() in m_getfld.c than commit
David Levine [Mon, 4 Aug 2014 02:05:03 +0000 (21:05 -0500)]
Here's a better fix to m_Eom() in m_getfld.c than commit
d2520ac7054ad75d60342606bf13c821305d958c.  The comparison
of the return value of Getc() with EOF must be as an
integer, not a char.

11 years agoRemoved eom_action from m_getfld.c because it was only used by
David Levine [Mon, 4 Aug 2014 02:01:16 +0000 (21:01 -0500)]
Removed eom_action from m_getfld.c because it was only used by
m_eomsbr(), which was removed by commit
68e8c25f906e7353269502d2292c8e99aa8c6605.

11 years agoRemoved mhlsbr(). It was only used by msh, too.
David Levine [Mon, 4 Aug 2014 01:35:07 +0000 (20:35 -0500)]
Removed mhlsbr().  It was only used by msh, too.

11 years agoRemoved m_eomsbr() from m_getfld.c, and its scan_eom_action()
David Levine [Mon, 4 Aug 2014 01:10:45 +0000 (20:10 -0500)]
Removed m_eomsbr() from m_getfld.c, and its scan_eom_action()
wrapper.  It was only used by msh, which was removed by commit
e6917522a770cf2dba9997ca047977bc55fac061.

11 years agoAdded -debug switch to pick(1) and deprecated $MHPDEBUG.
David Levine [Sun, 3 Aug 2014 12:53:15 +0000 (07:53 -0500)]
Added -debug switch to pick(1) and deprecated $MHPDEBUG.

11 years agoFixed refile(1) -retainsequences when the source and destination
David Levine [Sun, 3 Aug 2014 02:37:34 +0000 (21:37 -0500)]
Fixed refile(1) -retainsequences when the source and destination
folders are the same.

11 years agoSeparated out list of programs that are required to build from a
David Levine [Sun, 27 Jul 2014 13:32:13 +0000 (08:32 -0500)]
Separated out list of programs that are required to build from a
source code snapshot from those that are required to build from a
distribution.

11 years agoFixed sed usage in flex fixup to not use -s (or -e, because
David Levine [Thu, 24 Jul 2014 18:10:23 +0000 (13:10 -0500)]
Fixed sed usage in flex fixup to not use -s (or -e, because
even that's not needed).

11 years agoRemoved "true" from end of flex fixups. I don't know why it was
David Levine [Thu, 24 Jul 2014 02:20:34 +0000 (21:20 -0500)]
Removed "true" from end of flex fixups.  I don't know why it was
there.

11 years agoApply flex fixup to dtimep.c with flex 2.5.37 as well as 2.5.36.
David Levine [Thu, 24 Jul 2014 02:10:47 +0000 (21:10 -0500)]
Apply flex fixup to dtimep.c with flex 2.5.37 as well as 2.5.36.

11 years agoWhen mhparam(1) is going to output the value for spoollocking,
David Levine [Wed, 23 Jul 2014 02:50:30 +0000 (21:50 -0500)]
When mhparam(1) is going to output the value for spoollocking,
call mts_init() first in case it was set in mts.conf.

11 years agoUpdated test-spoollocking to restore mts.conf when it's finished
David Levine [Wed, 23 Jul 2014 02:17:54 +0000 (21:17 -0500)]
Updated test-spoollocking to restore mts.conf when it's finished
(successfully) so as to not upset subsequent tests.  Also fixed
removal of existing spoollocking option each time through.