[Top][All Lists]

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

[Nmh-commits] [SCM] The nmh Mail Handling System branch, m_getfld, updat

From: David Levine
Subject: [Nmh-commits] [SCM] The nmh Mail Handling System branch, m_getfld, updated. 1.5-branchpoint-379-gd02aabc
Date: Thu, 24 Jan 2013 02:25:18 +0000

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, m_getfld has been updated
       via  d02aabc331c325d8206a862a43438f4a472a5306 (commit)
       via  47bf6339eb158ba9884befc0c8dab46acb1c0100 (commit)
       via  716f2cfbd1606cfbaa0970413fc48f40531451b2 (commit)
       via  3c9350bafc829e9ab7d3fe206b5b39b8412f0a28 (commit)
      from  8bb0f8000b86df9270f2410de3fb6f41fa63e88b (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 d02aabc331c325d8206a862a43438f4a472a5306
Author: David Levine <address@hidden>
Date:   Wed Jan 23 20:24:21 2013 -0600

    Added functions for inc, msh, rcvtty, and scan to access
    scansbr's gstate instance so it can be hidden, except for
    msh's uses of m_getfld().

commit 47bf6339eb158ba9884befc0c8dab46acb1c0100
Author: Ken Hornstein <address@hidden>
Date:   Mon Jan 21 10:32:37 2013 -0500

    Fix a bug leading to message corruption with inc when incorporation more
    than one message at a time.
    When I reworked the scan() code to remove the use of stdio internals,
    two code paths were created.  The inc code path consumed another buffer
    from the nxtbuf list for processing the message body.  At the end of
    scan() there was code to push back all of the consumed buffers to the
    nxtbuf list.  The extra buffer consumed in the inc code path wasn't
    being pushed back, and as a result the nxtbuf list would end up with
    duplicate pointers in it.  This would result in two components sharing
    the same text buffer, which caused the message corruption.
    When I looked at this closer, I realized that there was no reason to
    push those buffers back to the list; nxtbuf gets reset to compbuffers
    at the start of every call to scan(), and nxtbuf isn't used after the
    buffers are pushed back.  Some researched revealed that this was the
    same back in the original MH code.  I decided it was simplest to simply
    delete the buffer recycling code.
    (cherry picked from commit 22d2acba60374851c291260ff6aa716e9bf44a6d)

commit 716f2cfbd1606cfbaa0970413fc48f40531451b2
Author: David Levine <address@hidden>
Date:   Wed Jan 23 19:42:56 2013 -0600

    Brought over changes to test-pop from master to m_getfld branch.

commit 3c9350bafc829e9ab7d3fe206b5b39b8412f0a28
Author: David Levine <address@hidden>
Date:   Sun Jan 20 08:38:18 2013 -0600

    Added scan and inc from mbox with multiple messages.
    (cherry picked from commit c4c53777458bfcfd288d45b7708e52eb47c56405)


Summary of changes:
 h/prototypes.h            |    3 +++
 sbr/m_getfld.c            |   24 +++++++++++-------------
 test/inc/test-inc-scanout |   32 ++++++++++++++++++++++++++++++++
 test/inc/test-pop         |    7 ++++---
 uip/inc.c                 |    6 ++----
 uip/msh.c                 |    8 ++++----
 uip/mshcmds.c             |    8 ++++----
 uip/rcvtty.c              |    4 +---
 uip/scan.c                |    8 +++-----
 uip/scansbr.c             |   20 ++++++++++++++++----
 10 files changed, 80 insertions(+), 40 deletions(-)

The nmh Mail Handling System

reply via email to

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