mmh
17 years agoOn Linux, define _GNU_SOURCE so that GNU libc exposes the wcwidth()
Peter Maydell [Sun, 29 Apr 2007 22:05:02 +0000 (22:05 +0000)]
On Linux, define _GNU_SOURCE so that GNU libc exposes the wcwidth()
prototype in wchar.h.

17 years agoChange name of internal function to avoid potential conflicts with GNU
Peter Maydell [Sun, 29 Apr 2007 22:01:04 +0000 (22:01 +0000)]
Change name of internal function to avoid potential conflicts with GNU
libc's getline() function.

17 years agoMinor rearrangement so variables/functions used only if !HAVE_LIBLOCKFILE
Peter Maydell [Sun, 29 Apr 2007 20:49:32 +0000 (20:49 +0000)]
Minor rearrangement so variables/functions used only if !HAVE_LIBLOCKFILE
are also declared only in that case.

17 years agoFor gcc, make the default CFLAGS include -Wno-pointer-sign if the compiler
Peter Maydell [Sun, 29 Apr 2007 19:36:14 +0000 (19:36 +0000)]
For gcc, make the default CFLAGS include -Wno-pointer-sign if the compiler
recognises it. gcc 4 now by default produces a large volume of these
warnings, which I believe are probably spurious and definitely a lot of
work to go through and fix. So we suppress them for now so that the other
warnings are more easily visible.

17 years agobuffer is compared with cp, and so needs to be changed to unsigned too.
Joel Reicher [Tue, 17 Apr 2007 04:53:54 +0000 (04:53 +0000)]
buffer is compared with cp, and so needs to be changed to unsigned too.

17 years agoInitial checkin of a testsuite
Josh Bressers [Tue, 17 Apr 2007 01:02:08 +0000 (01:02 +0000)]
Initial checkin of a testsuite

17 years agoChange all chars being passed to the ctype macros (isalph(), etc.) to
Joel Reicher [Fri, 13 Apr 2007 11:53:08 +0000 (11:53 +0000)]
Change all chars being passed to the ctype macros (isalph(), etc.) to
be unsigned chars, following through to change any other types as
necessary (e.g. comparison between two pointers). Not all chars have
been changed to unsigned chars; just those that were in danger of being
sign extended when passed to the int-taking ctype macros.

17 years agoWe're not using the .Bu macro anymore.
Joel Reicher [Tue, 10 Apr 2007 22:12:26 +0000 (22:12 +0000)]
We're not using the .Bu macro anymore.

17 years agoFix for bug #11139: mhl -form mhl.reply omits '> ' on some lines.
Joel Reicher [Tue, 10 Apr 2007 06:13:27 +0000 (06:13 +0000)]
Fix for bug #11139: mhl -form mhl.reply omits '> ' on some lines.

putcomp() was assuming only the first call on the body had the buffer
beginning at the start of a line.

17 years agoApplication of patch #5218: patch for bug #9742. Fixes a typo in the
Joel Reicher [Tue, 10 Apr 2007 03:32:48 +0000 (03:32 +0000)]
Application of patch #5218: patch for bug #9742. Fixes a typo in the
size arg of snprintf(). mhlist output which used to have incorrect lines
such as
     1.2   multipart/mixed            772
     1.21  text/plain                   9
     1.22  multipart/mixed            162
now have the correct
     1.2   multipart/mixed            772
     1.2.1 text/plain                   9
     1.2.2 multipart/mixed            162

17 years agobug #18630, #18631, #18632, #18634: various patches from Craig Leres
Peter Maydell [Wed, 21 Mar 2007 00:21:10 +0000 (00:21 +0000)]
bug #18630, #18631, #18632, #18634: various patches from Craig Leres
fixing error message argument problems.

17 years agobug #15212: remove configure test for broken AT&T vi. This test was broken
Peter Maydell [Wed, 21 Mar 2007 00:18:19 +0000 (00:18 +0000)]
bug #15212: remove configure test for broken AT&T vi. This test was broken
and unfixable. Support for manually defining ATTVIBUG remains.

17 years agoAdd a missing header file
Josh Bressers [Tue, 16 Jan 2007 02:08:10 +0000 (02:08 +0000)]
Add a missing header file

18 years agoChanged bold "-all" to unbolded "all". It's a reserved msgs word, not a flag.
Joel Reicher [Sun, 5 Nov 2006 13:20:46 +0000 (13:20 +0000)]
Changed bold "-all" to unbolded "all". It's a reserved msgs word, not a flag.

18 years ago* uip/sendsbr.c: with attachformat values of 1 or 2, add
David Levine [Tue, 24 Oct 2006 14:31:40 +0000 (14:31 +0000)]
* uip/sendsbr.c: with attachformat values of 1 or 2, add
name= portion to Content-Type header.  This makes them
consistent with attachformat value 0.  And it allows mhstore
to use that (file)name when extracting attachments.

18 years ago* configure.in: If we're not using dotlocking, there is no need to set inc
Josh Bressers [Sun, 27 Aug 2006 01:19:39 +0000 (01:19 +0000)]
* configure.in: If we're not using dotlocking, there is no need to set inc
sgid.

18 years agoFixed bug introduced when changing from check_folder() to new
Joel Reicher [Sun, 4 Jun 2006 08:37:24 +0000 (08:37 +0000)]
Fixed bug introduced when changing from check_folder() to new
create_folder() function. The folder name needed to be expanded to an
absolute path first. Similar things may have happened with other
conversions.

18 years agoCreated pluspath function to check for '+' prefix and change flag for
Joel Reicher [Thu, 27 Apr 2006 12:00:28 +0000 (12:00 +0000)]
Created pluspath function to check for '+' prefix and change flag for
path() appropriately. This eliminates some duplicate prefix processing,
but not all. The path functions need to be restructed; this is the first
step.

18 years agossequal() does not check for a substring, but for a prefix, so added a
Joel Reicher [Mon, 24 Apr 2006 07:10:03 +0000 (07:10 +0000)]
ssequal() does not check for a substring, but for a prefix, so added a
comment to this effect. If this is sufficient, the function body should
remain unchanged but the name and comments should be modified. If not,
then the function needs to be corrected.

18 years agofixes case where a very long character-class range (128 or
Paul Fox [Sat, 22 Apr 2006 16:33:48 +0000 (16:33 +0000)]
fixes case where a very long character-class range (128 or
more characters) causes negative indexing into pattern string.

18 years agoFixed a typo.
Joel Reicher [Sun, 16 Apr 2006 06:47:59 +0000 (06:47 +0000)]
Fixed a typo.

18 years agoCreated function open_form() to open form file or fallback to default
Joel Reicher [Fri, 14 Apr 2006 14:10:15 +0000 (14:10 +0000)]
Created function open_form() to open form file or fallback to default
components file, with error handling. Replaced duplicated code with call
to this function.

18 years agoFixed a couple of typos.
Joel Reicher [Fri, 14 Apr 2006 08:42:04 +0000 (08:42 +0000)]
Fixed a couple of typos.

18 years agoSanitised some dodgy homedir finding code, but it still might not make
Joel Reicher [Fri, 14 Apr 2006 08:21:35 +0000 (08:21 +0000)]
Sanitised some dodgy homedir finding code, but it still might not make
sense.

18 years agoGet rid of some trivial warnings; unused variables, ambiguous if-else,
Joel Reicher [Fri, 14 Apr 2006 07:54:26 +0000 (07:54 +0000)]
Get rid of some trivial warnings; unused variables, ambiguous if-else,
missing headers.

18 years agoMake print_aka() and print_usr() static. They're not used outside ali.c.
Joel Reicher [Thu, 13 Apr 2006 14:24:41 +0000 (14:24 +0000)]
Make print_aka() and print_usr() static. They're not used outside ali.c.

18 years agoCreated app_msgarg() (append message arg) and a simple resizable array
Joel Reicher [Tue, 11 Apr 2006 14:09:11 +0000 (14:09 +0000)]
Created app_msgarg() (append message arg) and a simple resizable array
struct to go with it that do almost exactly what the code they've replaced
was doing.
Replaced this (duplicated) code in many files with a call to app_msgarg().

18 years agoCompleting the .cvsignore list(s).
Joel Reicher [Tue, 11 Apr 2006 05:48:43 +0000 (05:48 +0000)]
Completing the .cvsignore list(s).

18 years agoFixed a small typo.
Joel Reicher [Sun, 9 Apr 2006 14:06:31 +0000 (14:06 +0000)]
Fixed a small typo.

18 years agothis commit:
Paul Fox [Fri, 31 Mar 2006 15:14:49 +0000 (15:14 +0000)]
this commit:
    - adds range support to character classes
    - fixes out-of-bounds references to the case-folding array
        when doing case comparisons for 8-bit message text
    - makes character classes as case tolerant as the rest
        of the pick regexp machine.  (where lowercase chars in
        patterns should match uppercase in the text.)
    - fixes an uninitialized pointer warning, which might actually have
        been a real bug

18 years ago* uip/sendsbr.c: with attachformat values of 1 or 2, only
David Levine [Thu, 30 Mar 2006 22:19:50 +0000 (22:19 +0000)]
* uip/sendsbr.c: with attachformat values of 1 or 2, only
generate Content-Disposition headers for MIME attachments, not
for the message contents themselves.  Microsoft Outlook Build
10.0.6626, at least, doesn't show the message contents if they
have Content-Disposition.

18 years ago Changed Questions
Bill Wohler [Fri, 10 Mar 2006 09:00:20 +0000 (09:00 +0000)]
  Changed Questions

1.03 Where can I get MH? nmh 1.2

18 years agoSince faqs.org appears to be moribund, I'm now using my site as the
Bill Wohler [Fri, 10 Mar 2006 06:58:28 +0000 (06:58 +0000)]
Since faqs.org appears to be moribund, I'm now using my site as the
official location of the MH FAQ. I added some missing quotes in
various places, so now Emacs highlighting works better.

    New Questions

5.26 How do I fix a bogus In-Reply-To or missing References field?

  Changed Questions

1.02 current version? nmh 1.2
1.04 references for MH? New FAQ official site. MH-E manual URL
5.15 make sense of replcomps? Use 1.1 version

18 years ago* sbr/fmt_rfc2047.c (decode_rfc2047): Don't close the iconv descriptor if
Josh Bressers [Thu, 9 Mar 2006 19:51:13 +0000 (19:51 +0000)]
* sbr/fmt_rfc2047.c (decode_rfc2047): Don't close the iconv descriptor if
  it isn't valid.

18 years ago* (mh_strcasecmp): Rename the private strcasecmp function to mh_strcasecmp.
Josh Bressers [Wed, 8 Mar 2006 12:14:15 +0000 (12:14 +0000)]
* (mh_strcasecmp): Rename the private strcasecmp function to mh_strcasecmp.

18 years agoand close iconv handle if encoded block empty
Oliver Kiddle [Sun, 5 Mar 2006 14:48:05 +0000 (14:48 +0000)]
and close iconv handle if encoded block empty

18 years agodon't try to malloc 0 bytes if an RFC2047 encoded block is empty
Oliver Kiddle [Sun, 5 Mar 2006 14:38:23 +0000 (14:38 +0000)]
don't try to malloc 0 bytes if an RFC2047 encoded block is empty

18 years agoInstall scripts with INSTALL_SCRIPT so INSTALL_PROGRAM can be set to
Peter Maydell [Sat, 4 Mar 2006 22:14:18 +0000 (22:14 +0000)]
Install scripts with INSTALL_SCRIPT so INSTALL_PROGRAM can be set to
'install -s' without it causing the installation of the scripts to fail.

18 years ago* uip/sendsbr.c: replaced st_mtim with st_mtime, that's what
David Levine [Sat, 25 Feb 2006 14:14:06 +0000 (14:14 +0000)]
* uip/sendsbr.c: replaced st_mtim with st_mtime, that's what
  it should have been.  Added #include of h/tws.h to pick up
  dtime() prototype.

18 years agoReplaced second line of Content-Tyhpe of -attachformat 0 example.
David Levine [Tue, 21 Feb 2006 04:13:06 +0000 (04:13 +0000)]
Replaced second line of Content-Tyhpe of -attachformat 0 example.

18 years ago* h/mh.h, h/prototypes.h, uip/mhbuildsbr.c, uip/send.c,
David Levine [Tue, 21 Feb 2006 03:58:31 +0000 (03:58 +0000)]
* h/mh.h, h/prototypes.h, uip/mhbuildsbr.c, uip/send.c,
  uip/sendsbr.c, uip/viamail.c, uip/whatnowsbr.c, man/send.man:
  added -attachformat switch to send, to support alternate MIME
  header contents when using -attach.  See send man page for
  description.

18 years ago* man/mhbuild.man: wrapped one appearance of "Content-Disposition"
David Levine [Tue, 21 Feb 2006 03:51:53 +0000 (03:51 +0000)]
* man/mhbuild.man: wrapped one appearance of "Content-Disposition"
  with quotes, to be consistent with others.

18 years ago* h/utils.h, sbr/utils.c, uip/flist.c, uip/folder.c: Move duplicate
Josh Bressers [Tue, 21 Feb 2006 01:11:51 +0000 (01:11 +0000)]
* h/utils.h, sbr/utils.c, uip/flist.c, uip/folder.c: Move duplicate
  function num_digits into utils.c

18 years agoAdd missing create_folder prototype.
Josh Bressers [Tue, 21 Feb 2006 01:05:24 +0000 (01:05 +0000)]
Add missing create_folder prototype.

18 years ago* sbr/m_draft.c, sbr/utils.c, uip/folder.c, uip/inc.c, uip/mhstoresbr.c,
Josh Bressers [Mon, 20 Feb 2006 03:09:07 +0000 (03:09 +0000)]
* sbr/m_draft.c, sbr/utils.c, uip/folder.c, uip/inc.c, uip/mhstoresbr.c,
uip/popi.c, uip/refile.c: Add create_folder() function, replacing duplicate
code during folder creation.

18 years agoAdded support for optional Content_Disposition header in mhbuild directive.s
David Levine [Sat, 18 Feb 2006 16:26:37 +0000 (16:26 +0000)]
Added support for optional Content_Disposition header in mhbuild directive.s

18 years agoAdded RFC2183 to reference of RFC1806 for Content-Disposition header.
David Levine [Sun, 12 Feb 2006 18:06:44 +0000 (18:06 +0000)]
Added RFC2183 to reference of RFC1806 for Content-Disposition header.

18 years agoAdded -nocontentid (and -contentid, for symmetry) switch to mhbuild. This allows...
David Levine [Tue, 31 Jan 2006 02:50:57 +0000 (02:50 +0000)]
Added -nocontentid (and -contentid, for symmetry) switch to mhbuild.  This allows users to disable generation of the Content-ID: header in MIME messages, in order to placate broken version(s) of Outlook.

18 years agoremove trailing newlines from components to fix bug with spaces at the end of
Oliver Kiddle [Sun, 29 Jan 2006 19:34:42 +0000 (19:34 +0000)]
remove trailing newlines from components to fix bug with spaces at the end of
Subject/References in replies

18 years agouse AS_HELP_STRING for formatting help messages
Oliver Kiddle [Wed, 18 Jan 2006 18:08:16 +0000 (18:08 +0000)]
use AS_HELP_STRING for formatting help messages

18 years agoadd autoconf magic to support old systems that don't support multibyte charsets
Oliver Kiddle [Wed, 18 Jan 2006 17:07:28 +0000 (17:07 +0000)]
add autoconf magic to support old systems that don't support multibyte charsets

18 years agofix bug with insertion of newline being wrong if the num function was used at
Oliver Kiddle [Wed, 18 Jan 2006 16:43:27 +0000 (16:43 +0000)]
fix bug with insertion of newline being wrong if the num function was used at
the end of the format buffer

18 years agoFixed make_bcc_file () to use contents of From: in draft, if draft_from masquerade...
David Levine [Wed, 18 Jan 2006 00:09:00 +0000 (00:09 +0000)]
Fixed make_bcc_file () to use contents of From: in draft, if draft_from masquerade flag is enabled.

18 years agomore robust multi-byte/column support for field widths
Oliver Kiddle [Tue, 17 Jan 2006 18:06:58 +0000 (18:06 +0000)]
more robust multi-byte/column support for field widths
restore right justification feature

18 years ago* uip/post.c, uip/spost.c: Move the uptolow macro from spost.c to post.c
Josh Bressers [Mon, 16 Jan 2006 17:07:14 +0000 (17:07 +0000)]
* uip/post.c, uip/spost.c: Move the uptolow macro from spost.c to post.c
  where it is needed.

18 years ago* sbr/fmt_scan.c: Add the missing wchar.h include
Josh Bressers [Mon, 16 Jan 2006 12:42:11 +0000 (12:42 +0000)]
* sbr/fmt_scan.c: Add the missing wchar.h include

18 years ago*** empty log message ***
Oliver Kiddle [Mon, 16 Jan 2006 10:40:32 +0000 (10:40 +0000)]
*** empty log message ***

18 years agoremove remnants of code for MMDF
Oliver Kiddle [Mon, 16 Jan 2006 10:00:46 +0000 (10:00 +0000)]
remove remnants of code for MMDF

18 years agomultiply buffer size by MB_CUR_MAX so multi-byte chars fit
Oliver Kiddle [Mon, 16 Jan 2006 09:55:24 +0000 (09:55 +0000)]
multiply buffer size by MB_CUR_MAX so multi-byte chars fit

18 years ago* sbr/fmt_scan.c:PUTSF() Fix an off by one formatting issue.
Josh Bressers [Sun, 15 Jan 2006 02:52:12 +0000 (02:52 +0000)]
* sbr/fmt_scan.c:PUTSF() Fix an off by one formatting issue.

18 years ago* sbr/fmt_scan.c: Turn the PUTSF macro into a function capable of handling
Josh Bressers [Sun, 15 Jan 2006 02:29:38 +0000 (02:29 +0000)]
* sbr/fmt_scan.c: Turn the PUTSF macro into a function capable of handling
multi column characters.

18 years ago* Remove sbr/strerror.c -- strerror(3) is defined in C89.
Josh Bressers [Sat, 7 Jan 2006 15:22:19 +0000 (15:22 +0000)]
* Remove sbr/strerror.c -- strerror(3) is defined in C89.

18 years ago* patch #3968: Move the add() function from its own file (add.c) and
Josh Bressers [Fri, 6 Jan 2006 21:51:43 +0000 (21:51 +0000)]
* patch #3968: Move the add() function from its own file (add.c) and
  into utils.c. There was also a duplicate add() function in mf.c which
  has been removed.

18 years ago* mh_xmalloc(), mh_xrealloc(), pwd(): Add comments describing the purpose
Josh Bressers [Wed, 4 Jan 2006 02:10:25 +0000 (02:10 +0000)]
* mh_xmalloc(), mh_xrealloc(), pwd(): Add comments describing the purpose
  of the function.

18 years agoRemove sbr/pwd.c file, moving the pwd() function into sbr/utils.c.
Josh Bressers [Tue, 3 Jan 2006 01:08:33 +0000 (01:08 +0000)]
Remove sbr/pwd.c file, moving the pwd() function into sbr/utils.c.

18 years ago* patch #3967: Create a mh_xrealloc function to prevent mistakes when
Josh Bressers [Mon, 2 Jan 2006 03:25:18 +0000 (03:25 +0000)]
* patch #3967: Create a mh_xrealloc function to prevent mistakes when
calling realloc.

18 years ago* patch #3966: Create a mh_xmalloc function to prevent mistakes when
Josh Bressers [Mon, 2 Jan 2006 03:17:41 +0000 (03:17 +0000)]
* patch #3966: Create a mh_xmalloc function to prevent mistakes when
calling malloc.

18 years agoAvoid non-portable use of $< outside an inference rule.
Peter Maydell [Sat, 24 Dec 2005 17:53:26 +0000 (17:53 +0000)]
Avoid non-portable use of $< outside an inference rule.

18 years agoRework detection and handling of ndbm: we now check for a working
Peter Maydell [Sat, 24 Dec 2005 17:17:38 +0000 (17:17 +0000)]
Rework detection and handling of ndbm: we now check for a working
(library,header) combination, and configure defines variables for each
which the makefile and C file just use, rather than a bunch of HAVE_foo
switches. As a bonus, we no longer unnecessarily link every binary with
the ndbm library even though only slocal uses it. Also you can now tell
configure where to get the header/library so even if we guess wrong you
can overrule us.

18 years agoFix stupid accidental dependence on a bash quirk in previous
Peter Maydell [Thu, 22 Dec 2005 10:38:32 +0000 (10:38 +0000)]
Fix stupid accidental dependence on a bash quirk in previous
configure script change.

18 years agoRolled release. RELEASE_1_2
Jon Steinhart [Tue, 20 Dec 2005 04:39:51 +0000 (04:39 +0000)]
Rolled release.

18 years agoImprove the checks for where to find ndbm (dbm_open etc); should now
Peter Maydell [Thu, 15 Dec 2005 00:45:36 +0000 (00:45 +0000)]
Improve the checks for where to find ndbm (dbm_open etc); should now
work on systems with new gdbm and libdb4.

18 years agoChange some non-standard formatting in a previous log entry so it matches
Peter Maydell [Thu, 15 Dec 2005 00:12:52 +0000 (00:12 +0000)]
Change some non-standard formatting in a previous log entry so it matches
the conventions used in other entries.

18 years ago* Fedora Bug #163760: sbr/context_read.c (context_read): Ensure that the
Josh Bressers [Wed, 14 Dec 2005 01:48:24 +0000 (01:48 +0000)]
* Fedora Bug #163760: sbr/context_read.c (context_read): Ensure that the
context is only read once.

18 years agoFixed annotate call for new delete argument values.
Jon Steinhart [Mon, 12 Dec 2005 22:30:44 +0000 (22:30 +0000)]
Fixed annotate call for new delete argument values.

18 years ago* uip/sendsbr.c (annoaux): Fix the call to annotate()
Josh Bressers [Mon, 12 Dec 2005 20:26:53 +0000 (20:26 +0000)]
* uip/sendsbr.c (annoaux): Fix the call to annotate()

18 years ago*** empty log message ***
Jon Steinhart [Thu, 8 Dec 2005 15:57:34 +0000 (15:57 +0000)]
*** empty log message ***

18 years agoFixed a bug where anno -append put the headers in the wrong place
Jon Steinhart [Wed, 7 Dec 2005 21:25:46 +0000 (21:25 +0000)]
Fixed a bug where anno -append put the headers in the wrong place
if applied to a message that didn't contain any headers.

Added a special value of "all" to the -number option that causes
anno -delete to delete all matching components instead of just
the first one.

Added new -preserve and -nopreserve options.  Using -preserve
retains the original last accessed and last modified times on
annotated messages.

18 years agoFix the AC_PATH_PROG default when vi isn't found during build.
Josh Bressers [Mon, 5 Dec 2005 13:38:41 +0000 (13:38 +0000)]
Fix the AC_PATH_PROG default when vi isn't found during build.

18 years agoRolled version. Should have done it last time!
Jon Steinhart [Sat, 3 Dec 2005 23:41:39 +0000 (23:41 +0000)]
Rolled version.  Should have done it last time!

19 years agoMake it clearer that lower-case envariables aren't supposed to be set
Peter Maydell [Sat, 19 Nov 2005 16:32:34 +0000 (16:32 +0000)]
Make it clearer that lower-case envariables aren't supposed to be set
by the user.

19 years agoSpecial-case an MHCONTEXT of "/dev/null" and don't try to lock it -- some
Peter Maydell [Sat, 19 Nov 2005 16:04:25 +0000 (16:04 +0000)]
Special-case an MHCONTEXT of "/dev/null" and don't try to lock it -- some
user scripts may use this to suppress modification of context.

19 years ago[bug #9813] Don't crash after removing the folder if the context file
Peter Maydell [Mon, 14 Nov 2005 00:18:24 +0000 (00:18 +0000)]
[bug #9813] Don't crash after removing the folder if the context file
has no Current-Folder entry.

19 years agoPass some globals into sm_init() so that it uses SASL if necessary.
Peter Maydell [Sun, 13 Nov 2005 23:57:49 +0000 (23:57 +0000)]
Pass some globals into sm_init() so that it uses SASL if necessary.
[NB that as I do not have a SASL setup I am relying on (a) the patch
being obviously correct and (b) the original submitter having tested!]

19 years agoForgot to quote the bug number in the changelog comment.
Peter Maydell [Sun, 13 Nov 2005 23:56:30 +0000 (23:56 +0000)]
Forgot to quote the bug number in the changelog comment.

19 years agoUse context/ctxpath==NULL to indicate that no context file should be read,
Peter Maydell [Sun, 13 Nov 2005 23:51:18 +0000 (23:51 +0000)]
Use context/ctxpath==NULL to indicate that no context file should be read,
to avoid inadvertently trying to lock /dev/null (takes 30secs+ with some
locking methods).

19 years agoFix buffer overrun in address parsing code (would only show up if
Peter Maydell [Sun, 13 Nov 2005 22:36:07 +0000 (22:36 +0000)]
Fix buffer overrun in address parsing code (would only show up if
scan was run with -width 16536 or similar)

19 years agoremove link to install-mh that caused problems on some systems
Oliver Kiddle [Sun, 13 Nov 2005 19:38:32 +0000 (19:38 +0000)]
remove link to install-mh that caused problems on some systems

19 years agobug #739: install target now depends on all to avoid problem on
Oliver Kiddle [Sun, 13 Nov 2005 19:27:37 +0000 (19:27 +0000)]
bug #739: install target now depends on all to avoid problem on
case-insensitive file systems with the INSTALL file

19 years agoFix the AC_PATH_PROG default when sendmail isn't found during build.
Josh Bressers [Thu, 10 Nov 2005 21:37:10 +0000 (21:37 +0000)]
Fix the AC_PATH_PROG default when sendmail isn't found during build.

19 years agoFix a non-ANSI prototype.
Peter Maydell [Wed, 9 Nov 2005 22:56:35 +0000 (22:56 +0000)]
Fix a non-ANSI prototype.

19 years agoSimon Burge: fix to handle getutent() on NetBSD
Oliver Kiddle [Tue, 8 Nov 2005 20:22:33 +0000 (20:22 +0000)]
Simon Burge: fix to handle getutent() on NetBSD

19 years agoupdate most references to the web page and mailing list locations
Oliver Kiddle [Tue, 8 Nov 2005 17:18:09 +0000 (17:18 +0000)]
update most references to the web page and mailing list locations

19 years agoprepend DESTDIR to install locations
Oliver Kiddle [Tue, 8 Nov 2005 16:58:08 +0000 (16:58 +0000)]
prepend DESTDIR to install locations

19 years agoreplace obsolete autoconf macros
Oliver Kiddle [Tue, 8 Nov 2005 16:51:34 +0000 (16:51 +0000)]
replace obsolete autoconf macros

19 years agoFix various buffer overruns in fmt_scan.c; the bulk of this is passing
Peter Maydell [Sun, 6 Nov 2005 21:54:40 +0000 (21:54 +0000)]
Fix various buffer overruns in fmt_scan.c; the bulk of this is passing
buffer length through to decode_rfc2047() and having that function do
sufficient bookkeeping to avoid running off the end of the buffer.

19 years agoFix a compile error if building nmh with --enable-apop.
Peter Maydell [Sun, 6 Nov 2005 00:34:56 +0000 (00:34 +0000)]
Fix a compile error if building nmh with --enable-apop.

19 years agoDon't fclose() the file twice in error-exit paths from get_content()
Peter Maydell [Sun, 6 Nov 2005 00:32:20 +0000 (00:32 +0000)]
Don't fclose() the file twice in error-exit paths from get_content()
(was causing crashes on multipart mails with invalid Content-Type headers)

19 years agoRemove space between -o and output filename so it works on older versions
Peter Maydell [Sun, 6 Nov 2005 00:28:12 +0000 (00:28 +0000)]
Remove space between -o and output filename so it works on older versions
of flex as well as newer ones.

19 years agoAdd an AC_PREREQ so we don't just fail with an obscure error message if
Peter Maydell [Sun, 6 Nov 2005 00:23:48 +0000 (00:23 +0000)]
Add an AC_PREREQ so we don't just fail with an obscure error message if
using old 2.13 era autoconf (or an autoconf-version-guessing wrapper).