mmh
12 years agoSwitch from using RETSIGTYPE via autoconf to void, since POSIX says that's
Ken Hornstein [Mon, 9 Jan 2012 18:26:59 +0000 (13:26 -0500)]
Switch from using RETSIGTYPE via autoconf to void, since POSIX says that's
type to use for a signal handler.

12 years agoRemoved unused bcmp, bcopy, bcpy, and bzero #defines.
David Levine [Sun, 8 Jan 2012 23:58:11 +0000 (17:58 -0600)]
Removed unused bcmp, bcopy, bcpy, and bzero #defines.

12 years agogcc -Wempty-body warned that the check of the result from the call to parse_mime...
David Levine [Sun, 8 Jan 2012 19:46:47 +0000 (13:46 -0600)]
gcc -Wempty-body warned that the check of the result from the call to parse_mime() was ignored.  It has been that way since the beginning of history and was probably of no consequence, but fixed anyway.

12 years agoRemoved traces of bboards and bbc from mh-profile and msh man pages. Added see also...
David Levine [Sun, 8 Jan 2012 16:51:05 +0000 (10:51 -0600)]
Removed traces of bboards and bbc from mh-profile and msh man pages.  Added see also of msh to packf man page.

12 years agoWrapped #include of config.h with #ifdef HAVE_CONFIG_H, just in case someone ever...
David Levine [Sun, 8 Jan 2012 16:34:31 +0000 (10:34 -0600)]
Wrapped #include of config.h with #ifdef HAVE_CONFIG_H, just in case someone ever wants to build without using configure.

12 years agoRemoved hard-coded -I.. and -I../.. from INCLUDES, it was redundant given -I$(top_src...
David Levine [Sun, 8 Jan 2012 16:27:15 +0000 (10:27 -0600)]
Removed hard-coded -I.. and -I../.. from INCLUDES, it was redundant given -I$(top_srcdir).

12 years agoAdded Content-Description header with the filename of the attachment, with attachform...
David Levine [Sat, 7 Jan 2012 16:03:35 +0000 (10:03 -0600)]
Added Content-Description header with the filename of the attachment, with attachformats 1 and 2. This seems to be common practice now and gives mhlist something useful to display.

12 years agoAdded note about fileproc and mhlproc mh-profile entries.
David Levine [Sat, 7 Jan 2012 15:53:36 +0000 (09:53 -0600)]
Added note about fileproc and mhlproc mh-profile entries.

12 years agoAdded removal of autom4te.cache directory to mostlyclean-local.
David Levine [Sat, 7 Jan 2012 15:19:59 +0000 (09:19 -0600)]
Added removal of autom4te.cache directory to mostlyclean-local.

12 years agoQuoted argument to AC_LINK_IFELSE to silence authoheader warnings.
David Levine [Sat, 7 Jan 2012 15:17:34 +0000 (09:17 -0600)]
Quoted argument to AC_LINK_IFELSE to silence authoheader warnings.

12 years agoMerge branch 'fileproc_mhlproc_to_post'
David Levine [Sat, 7 Jan 2012 14:22:24 +0000 (08:22 -0600)]
Merge branch 'fileproc_mhlproc_to_post'

12 years agoMove definition of LINK to mh header file, and garbage collect ATTVIBUG code.
Ken Hornstein [Fri, 6 Jan 2012 19:40:31 +0000 (14:40 -0500)]
Move definition of LINK to mh header file, and garbage collect ATTVIBUG code.

12 years agoHardcode the defaults for Msg-Protect and Folder-Protect. Also fix the
Ken Hornstein [Fri, 6 Jan 2012 19:18:46 +0000 (14:18 -0500)]
Hardcode the defaults for Msg-Protect and Folder-Protect.  Also fix the
documentation (had the wrong value for the default for Msg-Protect).

12 years agoHuh, apparantly I got rid of any support for POPSERVICE over a year
Ken Hornstein [Fri, 6 Jan 2012 19:12:13 +0000 (14:12 -0500)]
Huh, apparantly I got rid of any support for POPSERVICE over a year
ago!  Good riddance, I say.

12 years agoGarbage collect all of the builtin ftp client support.
Ken Hornstein [Fri, 6 Jan 2012 15:48:03 +0000 (10:48 -0500)]
Garbage collect all of the builtin ftp client support.

12 years agoGarbage-collect MHRC (and make it the default).
Ken Hornstein [Fri, 6 Jan 2012 15:37:38 +0000 (10:37 -0500)]
Garbage-collect MHRC (and make it the default).

12 years agoGarbage-collect SLOCAL_MBOX (and make it the default).
Ken Hornstein [Fri, 6 Jan 2012 15:36:21 +0000 (10:36 -0500)]
Garbage-collect SLOCAL_MBOX (and make it the default).

12 years agoGarbage-collect RPATHS support.
Ken Hornstein [Fri, 6 Jan 2012 15:35:16 +0000 (10:35 -0500)]
Garbage-collect RPATHS support.

12 years agoHuh, turns out this define hasn't worked in forever ... the original
Ken Hornstein [Fri, 6 Jan 2012 15:29:35 +0000 (10:29 -0500)]
Huh, turns out this define hasn't worked in forever ... the original
changes were made to the lexer output, and silently vanished a decade
ago when code was reorganized from zotnet to sbr!

12 years agoRemove last vestiges of #ifdef BANG
Ken Hornstein [Fri, 6 Jan 2012 15:22:44 +0000 (10:22 -0500)]
Remove last vestiges of #ifdef BANG

12 years agoRemove DBMPWD, make it the default.
Ken Hornstein [Fri, 6 Jan 2012 15:21:17 +0000 (10:21 -0500)]
Remove DBMPWD, make it the default.

12 years agoAdded datarootdir definitions to silence warnings from configure.
David Levine [Fri, 6 Jan 2012 14:55:39 +0000 (08:55 -0600)]
Added datarootdir definitions to silence warnings from configure.

12 years agoFixed trivial compile warnings.
David Levine [Fri, 6 Jan 2012 03:36:51 +0000 (21:36 -0600)]
Fixed trivial compile warnings.

12 years agoNot sure why we're checking for st_blksize; it's required by POSIX and
Ken Hornstein [Fri, 6 Jan 2012 03:13:08 +0000 (22:13 -0500)]
Not sure why we're checking for st_blksize; it's required by POSIX and
we're not even using the define!

12 years agoSwitch the use of LOCKDIR in acconfig.h to --enable-lockdir.
Ken Hornstein [Fri, 6 Jan 2012 03:08:23 +0000 (22:08 -0500)]
Switch the use of LOCKDIR in acconfig.h to --enable-lockdir.

12 years agoMerge branch 'master', remote-tracking branch 'origin'
David Levine [Fri, 6 Jan 2012 03:00:58 +0000 (21:00 -0600)]
Merge branch 'master', remote-tracking branch 'origin'

12 years agoGarbage collect all of the old UCI #ifdef'd code.
Ken Hornstein [Thu, 5 Jan 2012 18:39:47 +0000 (13:39 -0500)]
Garbage collect all of the old UCI #ifdef'd code.

12 years agoUpdate this with mh-e changes.
Ken Hornstein [Thu, 5 Jan 2012 17:26:48 +0000 (12:26 -0500)]
Update this with mh-e changes.

12 years agoFeed fileproc and mhlproc from rcvdist, send, and whatnow to post.
David Levine [Thu, 5 Jan 2012 17:14:56 +0000 (11:14 -0600)]
Feed fileproc and mhlproc from rcvdist, send, and whatnow to post.

12 years agoFeed fileproc and mhlproc from rcvdist, send, and whatnow to post.
David Levine [Thu, 5 Jan 2012 03:05:45 +0000 (21:05 -0600)]
Feed fileproc and mhlproc from rcvdist, send, and whatnow to post.

12 years agoBring in all of the mh-e support that is actually used to be compiled by
Ken Hornstein [Thu, 5 Jan 2012 17:05:43 +0000 (12:05 -0500)]
Bring in all of the mh-e support that is actually used to be compiled by
default, and garbage collect the stuff that is not used.

12 years agoFeed fileproc and mhlproc from rcvdist, send, whatnow, and whom to post.
David Levine [Thu, 5 Jan 2012 03:05:45 +0000 (21:05 -0600)]
Feed fileproc and mhlproc from rcvdist, send, whatnow, and whom to post.

12 years agoWhoops, for right now we do need those signal function checks.
Ken Hornstein [Wed, 4 Jan 2012 03:28:44 +0000 (22:28 -0500)]
Whoops, for right now we do need those signal function checks.

12 years agoSwitch to standard autoconf macro for checking d_type field in struct dirent.
Ken Hornstein [Wed, 4 Jan 2012 03:21:07 +0000 (22:21 -0500)]
Switch to standard autoconf macro for checking d_type field in struct dirent.

12 years agoRemove #ifdef around use of sigsetjmp().
Lyndon Nerenberg [Mon, 26 Dec 2011 17:19:35 +0000 (09:19 -0800)]
Remove #ifdef around use of sigsetjmp().

12 years agoRemove overrides for 'broken' stat macros.
Lyndon Nerenberg [Mon, 26 Dec 2011 03:17:58 +0000 (19:17 -0800)]
Remove overrides for 'broken' stat macros.
Remove redundant SEEK_* macro definitions.

12 years agoInclude <stdio.h> for snprintf() prototype.
Lyndon Nerenberg [Mon, 26 Dec 2011 01:20:26 +0000 (17:20 -0800)]
Include <stdio.h> for snprintf() prototype.

12 years agoNuke directory processing conditionals; use dirent.h.
Lyndon Nerenberg [Sun, 25 Dec 2011 20:23:41 +0000 (12:23 -0800)]
Nuke directory processing conditionals; use dirent.h.

12 years agoAdd back missing include of <sys/wait.h>
Lyndon Nerenberg [Sun, 25 Dec 2011 20:16:08 +0000 (12:16 -0800)]
Add back missing include of <sys/wait.h>

12 years agoClean up process wait to use POSIX waitpid() interface.
Lyndon Nerenberg [Sun, 25 Dec 2011 20:09:21 +0000 (12:09 -0800)]
Clean up process wait to use POSIX waitpid() interface.

12 years agoNo longer check for the mkstemp() function in the mkstemp library.
Ken Hornstein [Wed, 4 Jan 2012 03:01:07 +0000 (22:01 -0500)]
No longer check for the mkstemp() function in the mkstemp library.

12 years agoMake use of mkstemp() unconditional (vs. mktemp().
Lyndon Nerenberg [Sun, 25 Dec 2011 19:58:38 +0000 (11:58 -0800)]
Make use of mkstemp() unconditional (vs. mktemp().

This patch also removes the m_scratch() and m_tmpfil() functions.
They have been deprecated for a while, and are no longer used in any of
the code base.

12 years agoRemove compatibility functions that are always provided by the
Lyndon Nerenberg [Sun, 25 Dec 2011 19:28:07 +0000 (11:28 -0800)]
Remove compatibility functions that are always provided by the
POSIX host environment.

12 years agoGet rid of checking for vfork(), since we no longer use.
Ken Hornstein [Wed, 4 Jan 2012 02:54:07 +0000 (21:54 -0500)]
Get rid of checking for vfork(), since we no longer use.

12 years agoReplace <arpa/ftp.h> with "h/arpa_ftp.h".
Lyndon Nerenberg [Sun, 25 Dec 2011 02:18:22 +0000 (18:18 -0800)]
Replace <arpa/ftp.h> with "h/arpa_ftp.h".

12 years agoImport non-Posix <arpa/ftp.h> for uip/ftpsbr.c.
Lyndon Nerenberg [Sun, 25 Dec 2011 02:17:10 +0000 (18:17 -0800)]
Import non-Posix <arpa/ftp.h> for uip/ftpsbr.c.

12 years agoRemove HAVE_ARPA_FTP_H and arpa/ftp.h references.
Lyndon Nerenberg [Sun, 25 Dec 2011 02:15:06 +0000 (18:15 -0800)]
Remove HAVE_ARPA_FTP_H and arpa/ftp.h references.

12 years agoRemove autoconf ospeed checks
Ken Hornstein [Wed, 4 Jan 2012 02:38:07 +0000 (21:38 -0500)]
Remove autoconf ospeed checks

12 years agoIgnore OSPEED/ospeed in termcap. Nothing current should need this.
Lyndon Nerenberg [Sun, 25 Dec 2011 00:38:47 +0000 (16:38 -0800)]
Ignore OSPEED/ospeed in termcap. Nothing current should need this.

12 years agoNo longer check for termio.h or termios.h
Ken Hornstein [Wed, 4 Jan 2012 02:12:11 +0000 (21:12 -0500)]
No longer check for termio.h or termios.h

12 years agoCollapse termio/termios/sgtty terminal interface code down to
Lyndon Nerenberg [Sun, 25 Dec 2011 00:15:22 +0000 (16:15 -0800)]
Collapse termio/termios/sgtty terminal interface code down to
the Posix termios interface.

12 years agoUpdate configure file for removal of POSIX-mandated header files.
Ken Hornstein [Wed, 4 Jan 2012 02:06:45 +0000 (21:06 -0500)]
Update configure file for removal of POSIX-mandated header files.

12 years agoEliminate '#ifdef HAVE_FOO' for Posix-mandated FOOs.
Lyndon Nerenberg [Sat, 24 Dec 2011 23:40:48 +0000 (15:40 -0800)]
Eliminate '#ifdef HAVE_FOO' for Posix-mandated FOOs.

12 years agoNo longer need to check for the existance of sys/utsname.h
Ken Hornstein [Wed, 4 Jan 2012 01:27:45 +0000 (20:27 -0500)]
No longer need to check for the existance of sys/utsname.h

12 years agoDeprecate uname() in favour of (Posix) gethostname().
Lyndon Nerenberg [Sat, 24 Dec 2011 23:30:53 +0000 (15:30 -0800)]
Deprecate uname() in favour of (Posix) gethostname().

12 years agoSigh. I put the documentation about the -tls switch in the long description,
Ken Hornstein [Wed, 4 Jan 2012 01:20:26 +0000 (20:20 -0500)]
Sigh.  I put the documentation about the -tls switch in the long description,
but not in the command summary.

12 years agoUpdated pending-release-notes
Ken Hornstein [Tue, 3 Jan 2012 21:30:50 +0000 (16:30 -0500)]
Updated pending-release-notes

12 years agoAdded note about cpio failing to unpack an nmh tarball.
David Levine [Tue, 3 Jan 2012 21:16:29 +0000 (15:16 -0600)]
Added note about cpio failing to unpack an nmh tarball.

12 years agoSwitch to using buffered I/O when doing TLS (but only for output).
Ken Hornstein [Tue, 3 Jan 2012 20:17:54 +0000 (15:17 -0500)]
Switch to using buffered I/O when doing TLS (but only for output).

12 years agoUpdated these files since we've finally got 1.4 out the door.
Ken Hornstein [Tue, 3 Jan 2012 15:36:14 +0000 (10:36 -0500)]
Updated these files since we've finally got 1.4 out the door.

12 years agoMoved #endif so that lockit () is only declared with DOT_LOCKING, to avoid compile...
David Levine [Wed, 28 Dec 2011 04:41:24 +0000 (22:41 -0600)]
Moved #endif so that lockit () is only declared with DOT_LOCKING, to avoid compile warning without it.

12 years agoReworked nmh.spec to support rpmbuild from source RPM.
David Levine [Wed, 28 Dec 2011 04:38:52 +0000 (22:38 -0600)]
Reworked nmh.spec to support rpmbuild from source RPM.

12 years agoRemoved unused vmh.c and wmh.c.
David Levine [Sun, 25 Dec 2011 21:00:49 +0000 (15:00 -0600)]
Removed unused vmh.c and wmh.c.

12 years agoChanged second argument of calls to part_ok() and type_ok() from
David Levine [Sun, 25 Dec 2011 02:28:50 +0000 (20:28 -0600)]
Changed second argument of calls to part_ok() and type_ok() from
0 to 1, to match what store_multi() in mhstoresbr.c does.

A test case is below.  Without this fix, the following command:

  mhshow -part 1.1 -form mhl.null

produced no output.  mhlist showed a part 1.1:

 msg part  type/subtype              size description
1231       multipart/mixed            276
     1     multipart/related          107
     1.1   text/plain                  29

and "mhstore -part 1.1" properly stored it.  With this
fix, mhshow behaves properly and shows the part.

Analogous behavior happened with -type text/plain.

test case:

MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="NextPart_001"
Content-class: urn:content-classes:message
Date: Thu, 19 May 2011 00:00:00 -0000
From: sender@example.com
To: recipient@example.com

This is a multi-part message in MIME format.

--NextPart_001
Content-Type: multipart/related;
type="multipart/alternative";
boundary="NextPart_002"

--NextPart_002
Content-Type: text/plain;
charset="utf-8"

This is the text/plain part.

--NextPart_002--

--NextPart_001--

12 years agoReplaced cvs with git references. I'm not sure about the cgit
David Levine [Sun, 25 Dec 2011 01:36:32 +0000 (19:36 -0600)]
Replaced cvs with git references.  I'm not sure about the cgit
URL at the very end.  Also removed mention of source directories
that were deprecated and removed long ago.

12 years agoAdded --with-rpmdir configure option so that user can set location of RPM build root.
David Levine [Sat, 24 Dec 2011 15:59:45 +0000 (09:59 -0600)]
Added --with-rpmdir configure option so that user can set location of RPM build root.

12 years agoAdded comments about source of description, etc.
David Levine [Wed, 14 Dec 2011 00:33:07 +0000 (18:33 -0600)]
Added comments about source of description, etc.

12 years agoReplaced use of GNU make shell function with backticks. These were
David Levine [Tue, 13 Dec 2011 04:50:06 +0000 (22:50 -0600)]
Replaced use of GNU make shell function with backticks.  These were
for the rpm target, which would most likely only be build on Linux.
So they probably would have been OK, but just in case.

12 years agoThe docs/Makefile install target didn't do anything before. Added
David Levine [Tue, 13 Dec 2011 04:25:52 +0000 (22:25 -0600)]
The docs/Makefile install target didn't do anything before.  Added
the files that go into doc to it, and removed them from nmh.spec.
nmh.spec should now require zero maintenance.

12 years agoAdded RPM/ so that git status doesn't mention that it's an untracked file.
David Levine [Tue, 13 Dec 2011 03:45:17 +0000 (21:45 -0600)]
Added RPM/ so that git status doesn't mention that it's an untracked file.

12 years agoMerge branch 'master' of git.sv.nongnu.org:/srv/git/nmh
David Levine [Tue, 13 Dec 2011 03:37:47 +0000 (21:37 -0600)]
Merge branch 'master' of git.sv.nongnu.org:/srv/git/nmh

12 years agoMoved version number from nmh.spec to Makefile.in, to minimize
David Levine [Tue, 13 Dec 2011 03:35:52 +0000 (21:35 -0600)]
Moved version number from nmh.spec to Makefile.in, to minimize
maintenance for nmh.spec.

12 years agoMake sure to not reset hghnum (in the Maildir code) if we are incorporating
Ken Hornstein [Mon, 12 Dec 2011 17:59:42 +0000 (12:59 -0500)]
Make sure to not reset hghnum (in the Maildir code) if we are incorporating
mail from a POP mailbox.

12 years agoAdded first cut at nmh.spec, along with rpm: target in Makefile.in.
David Levine [Sun, 11 Dec 2011 23:03:56 +0000 (17:03 -0600)]
Added first cut at nmh.spec, along with rpm: target in Makefile.in.

12 years agoRemoved netdb.h because we no longer distribute it.
David Levine [Sun, 11 Dec 2011 19:44:50 +0000 (13:44 -0600)]
Removed netdb.h because we no longer distribute it.

12 years agoRemoved unused local variables to eliminate warnings from gcc 4.6.2.
David Levine [Sun, 11 Dec 2011 16:24:20 +0000 (10:24 -0600)]
Removed unused local variables to eliminate warnings from gcc 4.6.2.

12 years agoMake sure to ignore the nmh dist file.
Ken Hornstein [Wed, 7 Dec 2011 17:00:26 +0000 (12:00 -0500)]
Make sure to ignore the nmh dist file.

12 years agoSince we're now moving past 1.4, bump this.
Ken Hornstein [Wed, 7 Dec 2011 16:36:53 +0000 (11:36 -0500)]
Since we're now moving past 1.4, bump this.

12 years agoAdd support to inc for incorporting email from Maildir dropboxes.
David Malone [Wed, 7 Dec 2011 15:19:40 +0000 (10:19 -0500)]
Add support to inc for incorporting email from Maildir dropboxes.

Add missing #include for <sys/socket.h> to bring in definitions of PF_UNSPEC.

Signed-off-by: Ken Hornstein <kenh@pobox.com>

13 years agoWhoops, user & port were in the wrong order so msgchk didn't work for POP mmh-start
Ken Hornstein [Wed, 13 Apr 2011 14:50:49 +0000 (10:50 -0400)]
Whoops, user & port were in the wrong order so msgchk didn't work for POP
connections.

13 years agoUpdated the developer README with a few notes about the git conversion.
Ken Hornstein [Tue, 22 Feb 2011 01:44:30 +0000 (20:44 -0500)]
Updated the developer README with a few notes about the git conversion.

Signed-off-by: Ken Hornstein <kenh@pobox.com>

13 years agoSigned-off-by: Ken Hornstein <kenh@pobox.com>
Paul Vixie [Mon, 7 Feb 2011 19:13:54 +0000 (14:13 -0500)]
Signed-off-by: Ken Hornstein <kenh@pobox.com>

More documentation about the hooks support.

13 years agoClean up code in inc.c
Peter Maydell [Tue, 21 Dec 2010 16:50:24 +0000 (16:50 +0000)]
Clean up code in inc.c

Clean up the confusing use of a variable 'i' in inc.c.
The case where it was being used as 'an error occurred
which means we should not truncate the mailspool' is now
called 'incerr' and merged with the equivalent 'p' variable
used in the POP-specific code. Cases where it was being
used as a random temporary are still called 'i' but now
declared with a much more restricted scope.
This fixes a compilation warning for some compilers.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>

13 years agoSuppress tsort diagnostic waffle
Peter Maydell [Mon, 20 Dec 2010 21:13:32 +0000 (21:13 +0000)]
Suppress tsort diagnostic waffle

tsort produces waffle to standard error if it detects loops in its input.
For our purposes in ordering object files this is harmless, so just send
it all to /dev/null.

Signed-off-by: Peter Maydell <pmaydell@chiark.greenend.org.uk>

13 years agoFix unused-function warnings in lex output
Peter Maydell [Mon, 20 Dec 2010 21:13:32 +0000 (21:13 +0000)]
Fix unused-function warnings in lex output

Fix the unused-function warnings in the output of lex. In particular, we
silence a warning about yyunput being static but unused by exposing it as
a global function. This costs us a few hundred bytes in the binary but
the other available solutions are flex-specific or more complicated.
YY_NO_UNPUT used to silence this but no longer works in recent flex.
On the other hand YY_NO_INPUT does work to silence warnings about input().

Signed-off-by: Peter Maydell <pmaydell@chiark.greenend.org.uk>

13 years agoFix used-uninitialised warning in fmt_rfc2047.c
Peter Maydell [Mon, 20 Dec 2010 21:13:32 +0000 (21:13 +0000)]
Fix used-uninitialised warning in fmt_rfc2047.c

Fix a used-uninitialised warning in fmt_rfc2047.c.
I don't think it can actually be used uninitialised, but the
code is too complicated for the compiler to realise this.

Signed-off-by: Peter Maydell <pmaydell@chiark.greenend.org.uk>

13 years agoFix used-uninitialised warning in new.c
Peter Maydell [Mon, 20 Dec 2010 21:13:32 +0000 (21:13 +0000)]
Fix used-uninitialised warning in new.c

Fix a used-uninitialised warning in new.c by having the check_folders()
routine return first=last=NULL for empty folder lists. This is a more
sensible API anyway. (It would not actually have been possible for
the code to try to use last while it was uninitialised, as it happens.)

Signed-off-by: Peter Maydell <pmaydell@chiark.greenend.org.uk>

13 years agoFix crash if fnext/fprev are given an empty folder list
Peter Maydell [Mon, 20 Dec 2010 21:13:32 +0000 (21:13 +0000)]
Fix crash if fnext/fprev are given an empty folder list

Add a check for a NULL pointer, which stops fnext/fprev
from segfaulting if given an empty folder list (for example
via 'fnext -folders emptyfile').

Signed-off-by: Peter Maydell <pmaydell@chiark.greenend.org.uk>

13 years agoFix warning in sbr/folder_addmsg.c by code cleanup
Peter Maydell [Mon, 20 Dec 2010 19:54:43 +0000 (19:54 +0000)]
Fix warning in sbr/folder_addmsg.c by code cleanup

Clean up some rather oddly written code in folder_addmsg()
so it is easier to understand for both humans and for the
compiler (and the compiler thus stops complaining about an
uninitialised variable).

Signed-off-by: Peter Maydell <pmaydell@chiark.greenend.org.uk>

13 years agoFix so this compiles without SASL support.
Ken Hornstein [Thu, 16 Dec 2010 18:20:31 +0000 (13:20 -0500)]
Fix so this compiles without SASL support.

Damn you, Oliver Kiddle, for finding all of the bugs I add to nmh!

13 years agoAll of the arguments to AC_ARG_ENABLE need to be quoted, otherwise the
Ken Hornstein [Thu, 16 Dec 2010 18:11:17 +0000 (13:11 -0500)]
All of the arguments to AC_ARG_ENABLE need to be quoted, otherwise the
last action doesn't make it into the configure script.

13 years agoMake sure we ignore config.h.in~
Ken Hornstein [Thu, 16 Dec 2010 18:02:32 +0000 (13:02 -0500)]
Make sure we ignore config.h.in~

13 years agofix typo and clarify two sentences in mhpath man page
Markus Schnalke [Thu, 16 Dec 2010 00:36:43 +0000 (01:36 +0100)]
fix typo and clarify two sentences in mhpath man page

13 years agoimprove mhparam man page
Markus Schnalke [Thu, 16 Dec 2010 00:25:11 +0000 (01:25 +0100)]
improve mhparam man page

13 years agofix badly formatted code found by Markus Schnalke
Oliver Kiddle [Thu, 16 Dec 2010 00:23:16 +0000 (01:23 +0100)]
fix badly formatted code found by Markus Schnalke

13 years agopropagate and check return status of close() in slocal
Scott Snyder [Wed, 15 Dec 2010 21:17:52 +0000 (22:17 +0100)]
propagate and check return status of close() in slocal

13 years agodocument msg parameter to folder
Markus Schnalke [Wed, 15 Dec 2010 21:02:30 +0000 (22:02 +0100)]
document msg parameter to folder

13 years agoswitches need to be renumbered following removal of some switches so,
Oliver Kiddle [Tue, 14 Dec 2010 17:04:01 +0000 (18:04 +0100)]
switches need to be renumbered following removal of some switches so,
e.g. inc -version was not working

13 years agoMassive garbage collection. Remove functionality for APOP, RPOP,
Ken Hornstein [Thu, 9 Dec 2010 20:29:29 +0000 (15:29 -0500)]
Massive garbage collection.  Remove functionality for APOP, RPOP,
all NNTP support (including bboards) and MPOP.

13 years ago * uip/whatnowsbr.c: enforce requirement of at least one file
David Levine [Wed, 8 Dec 2010 20:36:36 +0000 (14:36 -0600)]
* uip/whatnowsbr.c: enforce requirement of at least one file
  argument to attach command.