]> diplodocus.org Git - nmh/log
nmh
11 years agoFix to commit b828fcb1695393007a75c41d32b2173c296be9d7: a couple
David Levine [Fri, 9 May 2014 23:58:11 +0000 (18:58 -0500)]
Fix to commit b828fcb1695393007a75c41d32b2173c296be9d7:  a couple
of commas were missing from the added line.

11 years agoadd new sample files for mhbuild tests to Makefile.am
Paul Fox [Thu, 8 May 2014 18:25:14 +0000 (14:25 -0400)]
add new sample files for mhbuild tests to Makefile.am

11 years agoadd new test for 'mhbuild -check'
Paul Fox [Thu, 8 May 2014 16:42:10 +0000 (12:42 -0400)]
add new test for 'mhbuild -check'

11 years agoeliminate use of fgets() from calculate_digest() in mhbuildsbr.c
Paul Fox [Thu, 8 May 2014 15:31:56 +0000 (11:31 -0400)]
eliminate use of fgets() from calculate_digest() in mhbuildsbr.c

11 years agoeliminate use of fgets() in mhbuild.c
Paul Fox [Thu, 8 May 2014 14:57:40 +0000 (10:57 -0400)]
eliminate use of fgets() in mhbuild.c

use getline() instead, which is more tolerant of NULs in the input.
also cleaned up error and file cleanup paths a bit.

11 years agoeliminate use of fgets() in mhparse.c
Paul Fox [Thu, 8 May 2014 14:51:30 +0000 (10:51 -0400)]
eliminate use of fgets() in mhparse.c

use getline() instead, which is more tolerant of NULs in the input.

11 years agoadd new test for NUL bytes embedded in text/plain parts
Paul Fox [Wed, 7 May 2014 23:43:04 +0000 (19:43 -0400)]
add new test for NUL bytes embedded in text/plain parts

such parts should be encoded with quoted-printable

11 years agoadd new test for attachment containing NULs
Paul Fox [Wed, 7 May 2014 20:57:14 +0000 (16:57 -0400)]
add new test for attachment containing NULs

11 years agoclean up whitespace in mhbuildsbr.c
Paul Fox [Wed, 7 May 2014 23:41:39 +0000 (19:41 -0400)]
clean up whitespace in mhbuildsbr.c

lots of space-follows-tabs, and trailing whitespace.
no code changes.

11 years agomake scan_content() work correctly with content containing NULs
Paul Fox [Wed, 7 May 2014 23:36:56 +0000 (19:36 -0400)]
make scan_content() work correctly with content containing NULs

switched from fgets to getline for unambiguous reads in the face of
NUL bytes.  added a checkfornuls flag, and use it to cause the correct
encoding when content-types of application or text contain NULs.

11 years agomake writeQuoted() work correctly with content containing NULs
Paul Fox [Wed, 7 May 2014 23:34:33 +0000 (19:34 -0400)]
make writeQuoted() work correctly with content containing NULs

11 years agoTreat unknown top-level content types as "application" types, instead
Ken Hornstein [Thu, 8 May 2014 16:37:50 +0000 (12:37 -0400)]
Treat unknown top-level content types as "application" types, instead
of generating an "unknown content type 0" error.

11 years agoFixed test-charset to pass without iconv.
David Levine [Thu, 8 May 2014 02:16:46 +0000 (21:16 -0500)]
Fixed test-charset to pass without iconv.

11 years agoMoved norm_charmap() declaration from h/prototypes.h to
David Levine [Thu, 8 May 2014 02:14:45 +0000 (21:14 -0500)]
Moved norm_charmap() declaration from h/prototypes.h to
sbr/check_charset.c.  That's the only place where it's used and
we want to keep it that way.

11 years agoAdd a doxygen config file.
Lyndon Nerenberg [Wed, 7 May 2014 19:33:56 +0000 (12:33 -0700)]
Add a doxygen config file.

Sends its output to docs/doxygen/... (see docs/doxygen/html/index.html after
you run doxygen).

Requires graphviz, for the dependency graphs.

11 years agoRevert "Increment VERSION on the head to 1.7+dev."
Lyndon Nerenberg [Wed, 7 May 2014 19:09:21 +0000 (12:09 -0700)]
Revert "Increment VERSION on the head to 1.7+dev."

This reverts commit 6cce62edaae4cc28ac42a1a796ff18f183407788.

11 years agoAdd a 'tools' subdirectory. This is a home for developer-oriented
Lyndon Nerenberg [Wed, 7 May 2014 19:07:03 +0000 (12:07 -0700)]
Add a 'tools' subdirectory.  This is a home for developer-oriented
scripts and such which can't be run from the Makefile(s) due to
system dependencies.

11 years agoIncrement VERSION on the head to 1.7+dev.
Lyndon Nerenberg [Wed, 7 May 2014 18:49:10 +0000 (11:49 -0700)]
Increment VERSION on the head to 1.7+dev.

11 years agoScrub *.plist (Clang Static Analyzer) files when cleaning.
Lyndon Nerenberg [Wed, 7 May 2014 18:44:05 +0000 (11:44 -0700)]
Scrub *.plist (Clang Static Analyzer) files when cleaning.

11 years agoGit: ingore *.plist files (generated by the Clang Static Analyzer).
Lyndon Nerenberg [Wed, 7 May 2014 18:43:09 +0000 (11:43 -0700)]
Git: ingore *.plist files (generated by the Clang Static Analyzer).

11 years agoremove binaries unintentionally committed
Paul Fox [Wed, 7 May 2014 16:10:35 +0000 (12:10 -0400)]
remove binaries unintentionally committed

oops.

11 years agomodify tests for the new mhshow mime part marker format
Paul Fox [Tue, 6 May 2014 02:41:43 +0000 (22:41 -0400)]
modify tests for the new mhshow mime part marker format

also added a couple of Content-Description headers to better
test the marker format.

11 years agomodify mhshow marker format to include the size of the part
Paul Fox [Wed, 7 May 2014 14:19:56 +0000 (10:19 -0400)]
modify mhshow marker format to include the size of the part

11 years agoadd "%(units)" function, to express numbers with SI units
Paul Fox [Tue, 6 May 2014 21:28:18 +0000 (17:28 -0400)]
add "%(units)" function, to express numbers with SI units

i.e., 1510 --> 1.5K, 15780000 --> 15.8M  etc.  useful with %(size),
as in %(units(size)).

11 years agomake the %(size) function useful in mhshow marker line formats
Paul Fox [Tue, 6 May 2014 15:54:52 +0000 (11:54 -0400)]
make the %(size) function useful in mhshow marker line formats

normally %(size) returns the size of the message.  in mhshow
marker lines, it returns the size of the (decoded, if necessary) part.

11 years agoDocument these functions a bit better.
Ken Hornstein [Wed, 7 May 2014 02:41:34 +0000 (22:41 -0400)]
Document these functions a bit better.

11 years agoRemoved obsolete comment.
David Levine [Mon, 5 May 2014 03:30:45 +0000 (22:30 -0500)]
Removed obsolete comment.

11 years agoFixed typo in comment in sbr/readconfig.c.
David Levine [Sun, 4 May 2014 14:25:49 +0000 (09:25 -0500)]
Fixed typo in comment in sbr/readconfig.c.

11 years agoReplaced use of norm_charmap() in mhshow and mhfixmsg with
David Levine [Mon, 5 May 2014 02:51:52 +0000 (21:51 -0500)]
Replaced use of norm_charmap() in mhshow and mhfixmsg with
case-insensitive string comparison against the charset name.
norm_charmap() is intended for use with result of nl_langinfo(),
and didn't add much value here.

11 years agoIn mhshow, copy result of call to norm_charmap() and get_charset()
David Levine [Sun, 4 May 2014 14:03:33 +0000 (09:03 -0500)]
In mhshow, copy result of call to norm_charmap() and get_charset()
because they return a static buffer.  Thanks to Alexander Zangerl
for tracking this down, when using an ISO-8859-1 locale.

11 years agomhshow: apply marker form to all part separators
Paul Fox [Thu, 24 Apr 2014 01:44:54 +0000 (21:44 -0400)]
mhshow:  apply marker form to all part separators

the mhshow "-markform" format is now used for all part separators, not
just those being left out.  the format now overloads the %(unseen)
function to indicate that the content of the part being marked has
been suppressed.  the built-in default and example formats both make
use of this function.

11 years agomhshow: suppress error for undisplayable parts, if they're not wanted
Paul Fox [Sat, 26 Apr 2014 14:45:47 +0000 (10:45 -0400)]
mhshow: suppress error for undisplayable parts, if they're not wanted

consider this message:

   1       multipart/mixed          1113K
     1     multipart/alternative      292
     1.1   text/html                   66
     1.2   text/plain                  49
     2     image/jpeg                823K

if this is displayed using "mshow -part 2", in the presence of an
MHSHOW variable which _only_ describes a rule for displaying images,
then we don't want to get an error about how nothing in part 1 was
displayable.

11 years agoman pages: clarify how profiles entries are searched
Paul Fox [Tue, 22 Apr 2014 16:23:01 +0000 (12:23 -0400)]
man pages: clarify how profiles entries are searched

(cherry picked from commit d7b59eb68168ead6a81ca40cf8aa5cccbf86c649)

11 years agoFix minor typo in NEWS file. Pointed out by Norman Shapiro.
Ken Hornstein [Tue, 22 Apr 2014 03:00:47 +0000 (23:00 -0400)]
Fix minor typo in NEWS file.  Pointed out by Norman Shapiro.

11 years agoAdded yet another NDBM (gdbm, actually) header/lib pair, for Ralph's
David Levine [Tue, 22 Apr 2014 00:00:45 +0000 (19:00 -0500)]
Added yet another NDBM (gdbm, actually) header/lib pair, for Ralph's
platform.

11 years agoAdded mhfixmsg to nmh man page.
David Levine [Mon, 21 Apr 2014 18:00:00 +0000 (13:00 -0500)]
Added mhfixmsg to nmh man page.

11 years agomhshow.man: fix an incorrect 'mhn' reference
Paul Fox [Sun, 20 Apr 2014 23:01:48 +0000 (19:01 -0400)]
mhshow.man: fix an incorrect 'mhn' reference

11 years agoDocumentation improvements, from Ralph Corderoy.
Ken Hornstein [Sun, 20 Apr 2014 22:28:21 +0000 (18:28 -0400)]
Documentation improvements, from Ralph Corderoy.

11 years agoMove clsfolds() before the call to context_save(); that is required
Ken Hornstein [Sun, 20 Apr 2014 22:08:47 +0000 (18:08 -0400)]
Move clsfolds() before the call to context_save(); that is required
when using private sequences, since seq_save() only moves the sequence
information into the context structure; a subsequent call to context_save()
is required to actually write out the context file.

12 years agoSigh. Of course I find another bug after I release RC2. Make sure to
Ken Hornstein [Sun, 20 Apr 2014 04:02:26 +0000 (00:02 -0400)]
Sigh.  Of course I find another bug after I release RC2.  Make sure to
initialize the enclosing CT structure when creating a message/external-body
part.

12 years agoRemove support for a "*" in alias files (which would add everyone in
Ken Hornstein [Fri, 18 Apr 2014 14:57:27 +0000 (10:57 -0400)]
Remove support for a "*" in alias files (which would add everyone in
the password file to the alias).

12 years agoRemove msh(1).
Ken Hornstein [Fri, 18 Apr 2014 14:44:19 +0000 (10:44 -0400)]
Remove msh(1).

12 years agoRemove mhtest(8).
Ken Hornstein [Fri, 18 Apr 2014 14:03:27 +0000 (10:03 -0400)]
Remove mhtest(8).

12 years agoRemove conflict(8).
Ken Hornstein [Fri, 18 Apr 2014 13:30:22 +0000 (09:30 -0400)]
Remove conflict(8).

12 years agoRemove -queue support to post; it is now officially obsolete.
Ken Hornstein [Fri, 18 Apr 2014 13:20:42 +0000 (09:20 -0400)]
Remove -queue support to post; it is now officially obsolete.

12 years agoFix the same problem in scan that was fixed in commit
Ken Hornstein [Fri, 18 Apr 2014 12:43:37 +0000 (08:43 -0400)]
Fix the same problem in scan that was fixed in commit
9eb9b47593181a3bf987eeaa0398ab5330ec12f8, but fix it for Maildir
support.  Patch from Eric Gillespie.

12 years agoUnset MAILDROP in test/common.sh so that it doesn't confuse
David Levine [Fri, 18 Apr 2014 00:55:19 +0000 (19:55 -0500)]
Unset MAILDROP in test/common.sh so that it doesn't confuse
test/inc/test-msgchk.

12 years agoSigh. Mention that we have to do both a "git push" and a "git push --tags".
Ken Hornstein [Wed, 16 Apr 2014 15:46:55 +0000 (11:46 -0400)]
Sigh.  Mention that we have to do both a "git push" and a "git push --tags".

12 years agoMention release branchpoint tagging.
Ken Hornstein [Wed, 16 Apr 2014 15:44:48 +0000 (11:44 -0400)]
Mention release branchpoint tagging.

12 years agoFixed popsbr.c to look like its nmh 1.5 version, except it now
David Levine [Wed, 16 Apr 2014 02:57:30 +0000 (21:57 -0500)]
Fixed popsbr.c to look like its nmh 1.5 version, except it now
uses nmh_get_credentials() instead of ruserpass() directly.  Also,
added checks of return values of nmh_get_credentials() to smtp.c.

12 years agoConsistently refer to $HOME/.mh_profile and mh-profile(5) in
David Levine [Wed, 16 Apr 2014 02:10:41 +0000 (21:10 -0500)]
Consistently refer to $HOME/.mh_profile and mh-profile(5) in
the man pages.

12 years agoReworked retrieval of username and password with SMTP and sasl so
David Levine [Wed, 16 Apr 2014 01:58:32 +0000 (20:58 -0500)]
Reworked retrieval of username and password with SMTP and sasl so
that if getusername() and no password are accepted by the mechanism,
then the user need not provide them.

12 years agodocs/contrib/ml: add a runtime check for known bash-ism
Paul Fox [Wed, 16 Apr 2014 01:39:38 +0000 (21:39 -0400)]
docs/contrib/ml: add a runtime check for known bash-ism

i'm leaving the #! line as /bin/bash, because that's how i wrote
and tested.  but with this change i think the script will still
function correctly on a wide variety of shells.

12 years agoIt turns out that due to the changes to m_getfld() to support file
Ken Hornstein [Tue, 15 Apr 2014 01:32:41 +0000 (21:32 -0400)]
It turns out that due to the changes to m_getfld() to support file
position tracking, this broke the scan output from inc(1) when POPing
more than one message at a time.  Since a new filehandle was being
passed to each call to scan(), it made the most sense to simply
discard the m_getfld() state for each call to scan() when doing POP.

12 years agoreplyfilter: flesh out the configuration instructions
Paul Fox [Mon, 14 Apr 2014 16:29:39 +0000 (12:29 -0400)]
replyfilter: flesh out the configuration instructions

12 years agoUpdating release notes for new release.
Ken Hornstein [Mon, 14 Apr 2014 15:58:54 +0000 (11:58 -0400)]
Updating release notes for new release.

12 years agoUpdate for post-1.6.
Ken Hornstein [Mon, 14 Apr 2014 13:57:59 +0000 (09:57 -0400)]
Update for post-1.6.

12 years agoUpdate these a bit.
Ken Hornstein [Mon, 14 Apr 2014 03:09:54 +0000 (23:09 -0400)]
Update these a bit.

12 years agoAdd README-iCalendar to the distribution.
Ken Hornstein [Mon, 14 Apr 2014 03:07:45 +0000 (23:07 -0400)]
Add README-iCalendar to the distribution.

12 years agoUpdate developer documentation to match reality.
Ken Hornstein [Mon, 14 Apr 2014 03:02:57 +0000 (23:02 -0400)]
Update developer documentation to match reality.

12 years agoIf attaching a "message" content type, scan the content to see if it
Ken Hornstein [Mon, 14 Apr 2014 02:37:53 +0000 (22:37 -0400)]
If attaching a "message" content type, scan the content to see if it
has 8bit characters and set the CTE on the enclosing MIME headers
appropriately.

12 years agoCreate a default CTE so routines in mhparse.c are happy.
Ken Hornstein [Mon, 14 Apr 2014 02:36:34 +0000 (22:36 -0400)]
Create a default CTE so routines in mhparse.c are happy.

12 years agoMake sure the draft filename ends up in the MIME structure, so error
Ken Hornstein [Mon, 14 Apr 2014 02:17:23 +0000 (22:17 -0400)]
Make sure the draft filename ends up in the MIME structure, so error
messages have the proper name in them.

12 years agoadd rmf(1) and folder(1) to one another's SEE ALSO sections
Paul Fox [Sun, 13 Apr 2014 20:18:07 +0000 (16:18 -0400)]
add rmf(1) and folder(1) to one another's SEE ALSO sections

12 years agoIf mhfixmsg's call to convert_charset() fails, output why.
David Levine [Sun, 13 Apr 2014 20:13:21 +0000 (15:13 -0500)]
If mhfixmsg's call to convert_charset() fails, output why.

12 years agoIf c_termproc is set, include a default display command so the charset
Ken Hornstein [Sun, 13 Apr 2014 17:11:00 +0000 (13:11 -0400)]
If c_termproc is set, include a default display command so the charset
conversion pipeline will work correctly.

12 years agoFixed showproc for RFC 822 messages. Thanks to Mikhail for
David Levine [Fri, 11 Apr 2014 22:20:02 +0000 (17:20 -0500)]
Fixed showproc for RFC 822 messages.  Thanks to Mikhail for
pointing this out.

12 years agomhshow: properly report the name of a failing display program
Paul Fox [Fri, 11 Apr 2014 19:55:54 +0000 (15:55 -0400)]
mhshow: properly report the name of a failing display program

otherwise it's not clear what didn't work.

12 years agoIf -[no]concat is given to show(1), have it use showmimeproc instead
David Levine [Fri, 11 Apr 2014 02:21:28 +0000 (21:21 -0500)]
If -[no]concat is given to show(1), have it use showmimeproc instead
of showproc and pass those switches along.  This way, show won't pass
them to mhl, which doesn't accept them.

12 years agoMerge branch 'master' of ssh://git.sv.gnu.org/srv/git/nmh
Lyndon Nerenberg [Fri, 11 Apr 2014 01:49:18 +0000 (18:49 -0700)]
Merge branch 'master' of ssh://git.sv.gnu.org/srv/git/nmh

12 years agoAdd a note about devel/autotools as a pre-req for building on FreeBSD.
Lyndon Nerenberg [Fri, 11 Apr 2014 01:47:43 +0000 (18:47 -0700)]
Add a note about devel/autotools as a pre-req for building on FreeBSD.

Be a bit more specific about the versions of some OSes we build
in the buildbot cluster.

12 years agoUse a dynamically-allocated buffer for character set conversion, and
Ken Hornstein [Fri, 11 Apr 2014 01:45:14 +0000 (21:45 -0400)]
Use a dynamically-allocated buffer for character set conversion, and
resize it if we get E2BIG.  Also create a test that exercises this
particular problem.

12 years agoDon't clobber "cp"; use dp instead.
Ken Hornstein [Thu, 10 Apr 2014 22:58:39 +0000 (18:58 -0400)]
Don't clobber "cp"; use dp instead.

12 years agoFix bug in error message when reporting character set conversion failure.
Ken Hornstein [Thu, 10 Apr 2014 18:09:18 +0000 (14:09 -0400)]
Fix bug in error message when reporting character set conversion failure.

12 years agoA bad cut-and-paste job made -noinlineonly not work. Patch from
Ken Hornstein [Thu, 10 Apr 2014 16:29:28 +0000 (12:29 -0400)]
A bad cut-and-paste job made -noinlineonly not work.  Patch from
M. Levinson.

12 years agoFix test for inlineonly.
Ken Hornstein [Thu, 10 Apr 2014 16:28:01 +0000 (12:28 -0400)]
Fix test for inlineonly.

12 years agoAdded -dump to w3m and elinks invocations in mhn.defaults.
David Levine [Thu, 10 Apr 2014 12:52:41 +0000 (07:52 -0500)]
Added -dump to w3m and elinks invocations in mhn.defaults.

12 years agoWhen lkfopendata() fails, seqfile is being freed too soon.
Lyndon Nerenberg [Thu, 10 Apr 2014 11:10:34 +0000 (04:10 -0700)]
When lkfopendata() fails, seqfile is being freed too soon.

12 years agoI missed one spot in getln() where the new quoting flag needs to be cleared.
Lyndon Nerenberg [Thu, 10 Apr 2014 11:00:18 +0000 (04:00 -0700)]
I missed one spot in getln() where the new quoting flag needs to be cleared.

12 years agoIf getln() sees a newline as its first character, it incorrectly
Lyndon Nerenberg [Thu, 10 Apr 2014 10:52:17 +0000 (03:52 -0700)]
If getln() sees a newline as its first character, it incorrectly
references a character one byte before the start of its input
buffer.

12 years agoClang's static analyzer reports a potential NULL pointer deref.
Lyndon Nerenberg [Thu, 10 Apr 2014 10:07:16 +0000 (03:07 -0700)]
Clang's static analyzer reports a potential NULL pointer deref.
This is a "shouldn't happen" case, so I have added an assert
to quell the warning, and catch the failure in the off chance
we do get here with last == NULL.

12 years agoRemove dead initialization of fp in main().
Lyndon Nerenberg [Thu, 10 Apr 2014 09:43:36 +0000 (02:43 -0700)]
Remove dead initialization of fp in main().

12 years agoAdded -dump (and -child) to lynx invocation when it's used in
David Levine [Thu, 10 Apr 2014 03:04:58 +0000 (22:04 -0500)]
Added -dump (and -child) to lynx invocation when it's used in
mhshow-show-text/html.

12 years agoFormatting fix, from Mikhail <mp39590@gmail.com>.
Ken Hornstein [Thu, 10 Apr 2014 01:05:07 +0000 (21:05 -0400)]
Formatting fix, from Mikhail <mp39590@gmail.com>.

12 years agoMerge remote-tracking branch 'origin/fix-locking'
David Levine [Thu, 10 Apr 2014 00:19:26 +0000 (19:19 -0500)]
Merge remote-tracking branch 'origin/fix-locking'

12 years agoThe size reported by mhshow test-charset is different with and
David Levine [Wed, 9 Apr 2014 21:32:56 +0000 (16:32 -0500)]
The size reported by mhshow test-charset is different with and
without iconv, so determine it at runtime.

12 years agoUse *ct->c_ceclosefnx() instead of clsoe_encoding() in show_content_aux().
David Levine [Wed, 9 Apr 2014 21:31:06 +0000 (16:31 -0500)]
Use *ct->c_ceclosefnx() instead of clsoe_encoding() in show_content_aux().

12 years agoMerge branch 'mhshow-fixup'
Ken Hornstein [Wed, 9 Apr 2014 20:25:08 +0000 (16:25 -0400)]
Merge branch 'mhshow-fixup'

12 years agoDocument and distribute mhshow.marker
Ken Hornstein [Wed, 9 Apr 2014 20:24:34 +0000 (16:24 -0400)]
Document and distribute mhshow.marker

12 years agoDocument the changes made to mhshow.
Ken Hornstein [Wed, 9 Apr 2014 20:16:18 +0000 (16:16 -0400)]
Document the changes made to mhshow.

12 years agoChange from "concat" to "concatsw" so we don't conflict with the
Ken Hornstein [Wed, 9 Apr 2014 18:53:00 +0000 (14:53 -0400)]
Change from "concat" to "concatsw" so we don't conflict with the
function concat().

12 years agoAdd new flags for -concat/-noconcat, -inlineonly/-noinlineonly, and
Ken Hornstein [Wed, 9 Apr 2014 17:30:42 +0000 (13:30 -0400)]
Add new flags for -concat/-noconcat, -inlineonly/-noinlineonly, and
-textonly/-notextonly;

12 years agoChange things so we only supply a form filename; most programs don't do
Ken Hornstein [Wed, 9 Apr 2014 17:15:28 +0000 (13:15 -0400)]
Change things so we only supply a form filename; most programs don't do
both, and this isn't work the extra hassle.

12 years agoNow only display text and inline content by default.
Ken Hornstein [Wed, 9 Apr 2014 15:29:32 +0000 (11:29 -0400)]
Now only display text and inline content by default.
Use mh-format(5) to display marker text for skipped content.

12 years agolkopen_dot() would block forever if another process held a lock
David Levine [Wed, 9 Apr 2014 02:34:20 +0000 (21:34 -0500)]
lkopen_dot() would block forever if another process held a lock
forever.  Changed it to only retry for 60 seconds, like the other
lkopen's.  And have it indicate that it failed to acquire the lock.

12 years agoInstead of relying on errno to determine if locking failed, pass
David Levine [Sun, 6 Apr 2014 18:55:27 +0000 (13:55 -0500)]
Instead of relying on errno to determine if locking failed, pass
back explicit indication in int * argument to lk(f)opendata() and
lkopenspool().

12 years agoDon't ignore return value of lkfopendata(), most notably of
David Levine [Sun, 6 Apr 2014 16:12:14 +0000 (11:12 -0500)]
Don't ignore return value of lkfopendata(), most notably of
seq_read() in folder_read().  Increased LOCK_RETRIES from 5 to 60.

12 years agoUpdate context and sequences before showing messages in mhn(1),
David Levine [Sat, 5 Apr 2014 01:05:51 +0000 (20:05 -0500)]
Update context and sequences before showing messages in mhn(1),
just like in mhshow(1).

12 years agoMoving closer to fixing mhshow completely. Includes fix from David Levine
Ken Hornstein [Thu, 3 Apr 2014 22:12:56 +0000 (18:12 -0400)]
Moving closer to fixing mhshow completely.  Includes fix from David Levine
for a slight bug in charset conversion.

12 years agoStart of changes for mhshow; compiles, but does nothing (yet).
Ken Hornstein [Wed, 26 Mar 2014 02:41:13 +0000 (22:41 -0400)]
Start of changes for mhshow; compiles, but does nothing (yet).