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.7-branchpoint-108-g9e4dbc2
Date: Sun, 27 Aug 2017 07:31:53 -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  9e4dbc2d5379b96a8d90e28cf8fce803d6cc1ff4 (commit)
       via  2fc70e8bf64ead869fce76abb74f04bf1af94923 (commit)
       via  e37c47de66b204837f684bc57f113aedbc19275a (commit)
       via  751542a19198f2efa957b77ce41d82479952af62 (commit)
      from  faf6326828be2108facd64fcca291c4ffb523eea (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 9e4dbc2d5379b96a8d90e28cf8fce803d6cc1ff4
Author: Ralph Corderoy <address@hidden>
Date:   Sun Aug 27 12:13:39 2017 +0100

    Replace add(foo, NULL) with mh_xstrdup(foo).
    
    add()'s arguments are back to front so add(foo, bar) produces bar+foo in
    the normal case.  Thus add(foo, NULL) is read as the jarring NULL+foo.
    Removing the NULL with mh_xstrdup() avoids this.  FENDNULL is used when
    it isn't obvious foo can't be NULL as add() treats it as "" in that
    case.

commit 2fc70e8bf64ead869fce76abb74f04bf1af94923
Author: Ralph Corderoy <address@hidden>
Date:   Sun Aug 27 11:53:26 2017 +0100

    Replace strlen("foo") with LEN("foo").
    
    The existing LEN() uses sizeof.

commit e37c47de66b204837f684bc57f113aedbc19275a
Author: Ralph Corderoy <address@hidden>
Date:   Sun Aug 27 11:47:02 2017 +0100

    context_find.c: Hoist strlen(3) out of search loop.

commit 751542a19198f2efa957b77ce41d82479952af62
Author: Ralph Corderoy <address@hidden>
Date:   Sun Aug 27 11:34:50 2017 +0100

    Add die(fmt, ...).  Equivalent to adios(NULL, fmt, ...).
    
    Avoids the noise of the `NULL' first parameter that's used in over 70%
    of adios() calls.  Removes the possibility of it being omitted and `fmt'
    being used instead.  `die' is already in use in nmh's shell scripts.
    Had to rename post.c's existing die() to avoid it clashing.

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

Summary of changes:
 h/prototypes.h     |  1 +
 sbr/context_find.c |  4 +++-
 sbr/error.c        | 15 +++++++++++++++
 sbr/m_mktemp.c     |  2 +-
 uip/aliasbr.c      |  2 +-
 uip/mhbuildsbr.c   | 22 +++++++++++-----------
 uip/mhfixmsg.c     |  6 +++---
 uip/mhlsbr.c       |  2 +-
 uip/mhparse.c      | 16 ++++++++--------
 uip/mhshowsbr.c    |  4 ++--
 uip/mhstoresbr.c   |  2 +-
 uip/post.c         | 30 +++++++++++++++---------------
 12 files changed, 62 insertions(+), 44 deletions(-)


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



reply via email to

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