mmh
12 years agoRemoved unsupported format and check switches, and commented out unused macro HMNG.
David Levine [Thu, 12 Jan 2012 04:36:20 +0000 (22:36 -0600)]
Removed unsupported format and check switches, and commented out unused macro HMNG.

12 years agoRemoved, or added use of, unused macros to prevent warnings from gcc -Wunused-macros.
David Levine [Thu, 12 Jan 2012 04:33:45 +0000 (22:33 -0600)]
Removed, or added use of, unused macros to prevent warnings from gcc -Wunused-macros.

12 years agoRemoved or protected some unused macros.
David Levine [Wed, 11 Jan 2012 23:06:44 +0000 (17:06 -0600)]
Removed or protected some unused macros.

12 years agoRemoved unused global zones and local z form dtimezone ().
David Levine [Wed, 11 Jan 2012 22:52:17 +0000 (16:52 -0600)]
Removed unused global zones and local z form dtimezone ().

12 years agoAdded #include <grp.h>. It's needed on Linux, should be harmless on others.
David Levine [Wed, 11 Jan 2012 22:45:53 +0000 (16:45 -0600)]
Added #include <grp.h>.  It's needed on Linux, should be harmless on others.

12 years agoCompletely remove the use of TIME_WITH_SYS_TIME (I removed the autoconf
Ken Hornstein [Wed, 11 Jan 2012 20:04:39 +0000 (15:04 -0500)]
Completely remove the use of TIME_WITH_SYS_TIME (I removed the autoconf
test but never removed the code, and this caused some problems on systems
that needed some prototypes in <time.h>).

12 years agoIgnore a.out.DSYM (this file sometims shows up when using the debugger)
Ken Hornstein [Wed, 11 Jan 2012 19:52:23 +0000 (14:52 -0500)]
Ignore a.out.DSYM (this file sometims shows up when using the debugger)

12 years agoFix two errors in the conversion to m_mktemp2():
Ken Hornstein [Wed, 11 Jan 2012 19:48:45 +0000 (14:48 -0500)]
Fix two errors in the conversion to m_mktemp2():

- There was an off-by-one error that prevented the temporary file
  from being created in the same directory as the message it was being
  linked to.
- When using "dist", the assumption was that the temporary file would not
  exist when m_scratch was called (it wanted to link() to the name).  This
  was solved by simply unlink()ing the temporary file after it was created.

12 years agoMerge branch 'master' of git.sv.nongnu.org:/srv/git/nmh
Ken Hornstein [Mon, 9 Jan 2012 20:52:34 +0000 (15:52 -0500)]
Merge branch 'master' of git.sv.nongnu.org:/srv/git/nmh

12 years agoRemove OS-specific defines. As part of it, remove scary longjmp() inside
Ken Hornstein [Mon, 9 Jan 2012 20:51:57 +0000 (15:51 -0500)]
Remove OS-specific defines.  As part of it, remove scary longjmp() inside
signal handlers that was part of the code under #ifdef BSD42.

12 years agoRemoved a remaining RETSIGTYPE. Also change a few locals from int to unsigned to...
David Levine [Mon, 9 Jan 2012 20:08:38 +0000 (14:08 -0600)]
Removed a remaining RETSIGTYPE.  Also change a few locals from int to unsigned to prevent signed-unsigned comparison mismatch.

12 years agoClean up time handling; always assume we have tzset() and that the right
Ken Hornstein [Mon, 9 Jan 2012 19:43:35 +0000 (14:43 -0500)]
Clean up time handling; always assume we have tzset() and that the right
prototypes are in time.h (both are valid in POSIX).

12 years agoGarbage collect autoconf support for checking for the header file for initgroups
Ken Hornstein [Mon, 9 Jan 2012 19:07:37 +0000 (14:07 -0500)]
Garbage collect autoconf support for checking for the header file for initgroups
and snprintf() prototypes.

12 years agoWe are making POSIX signal support a requirement; remove all support for
Ken Hornstein [Mon, 9 Jan 2012 18:56:30 +0000 (13:56 -0500)]
We are making POSIX signal support a requirement; remove all support for
other signal interfaces.

12 years agoFinally able to get rid of acconfig.h! Since we're doing slightly better
Ken Hornstein [Mon, 9 Jan 2012 18:38:02 +0000 (13:38 -0500)]
Finally able to get rid of acconfig.h!  Since we're doing slightly better
in the autoconf universe, rename configure.in to configure.ac, the "more
correct" name for the configure script template.

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>