nmh-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Nmh-commits] [SCM] The nmh Mail Handling System branch, master, updated


From: Ralph Corderoy
Subject: [Nmh-commits] [SCM] The nmh Mail Handling System branch, master, updated. 1.6-branchpoint-1429-gcfb444d
Date: Fri, 26 May 2017 19:28:24 -0400 (EDT)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The nmh Mail Handling System".

The branch, master has been updated
       via  cfb444d37fc236a9fdac369cbcf2a5bfc37a33f5 (commit)
       via  1f07835ddb14fe99fa3ea4b6a1e39e8d5ba7df20 (commit)
      from  4974d09cc659e2859fcf916ad020628c9695e2f8 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit cfb444d37fc236a9fdac369cbcf2a5bfc37a33f5
Author: Ralph Corderoy <address@hidden>
Date:   Fri May 26 23:34:10 2017 +0100

    uip/mhparse.c: Fix body starting a byte too soon when no blank line.
    
    m_getfld() returns BODY when the headers run into a line without a colon
    instead of being separated from the body by a blank line.  The file's
    position and the returned `bufsz' differ from the normal case of a blank
    line and then the start of the body, causing confusion.  get_content()
    was aware of the difference, documented it, and attempted to correct for
    it, but got it wrong and included the `\n' that terminates the last real
    header at the start of the "body".  This affected a struct Content's
    c_begin.
    
    Use the correct file position for c_begin, adding a comment that
    explains the theory for both cases.  Add a test-mhlist case that checks
    mhlist(1) states the body size is the same whether it is separated from
    the headers by a blank line or not.  Correct existing
    test/bad-input/test-header test that expected the extra blank line to be
    counted and to appear in the output.

commit 1f07835ddb14fe99fa3ea4b6a1e39e8d5ba7df20
Author: Ralph Corderoy <address@hidden>
Date:   Fri May 26 12:36:32 2017 +0100

    Remove mention of msh in comments and to-do list.
    
    msh(1) was removed in e6917522.

-----------------------------------------------------------------------

Summary of changes:
 docs/FAQ                   |  2 +-
 docs/TODO                  | 10 ----------
 sbr/context_foil.c         |  2 +-
 test/bad-input/test-header |  3 +--
 test/mhlist/test-mhlist    | 17 +++++++++++++++++
 uip/mhparse.c              | 23 ++++++++++++++++++-----
 6 files changed, 38 insertions(+), 19 deletions(-)


hooks/post-receive
-- 
The nmh Mail Handling System



reply via email to

[Prev in Thread] Current Thread [Next in Thread]