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-731-g1fc5243
Date: Sat, 22 May 2021 11:27:26 -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  1fc5243df618f327b8d15ace5b393a3874b76d13 (commit)
       via  aa010187b09c966bd0630cdae8e5a874ba8f7455 (commit)
       via  311fed83a54dcb7999d831f3a88a098888c2e1ff (commit)
       via  7f565b90eeb4aac243fdf76a3e36105a07c840bb (commit)
       via  4c735348b165afd2c62abf063713e8d3cec616bc (commit)
       via  58418f6c471f8f6452e9dfe740ca3896d01b2cd4 (commit)
       via  e8c1a1773f9bd5346126108f2bd9ece64bfd07e7 (commit)
      from  20702cc35b2ba7afe70f1d39ec19fca5df6e62b7 (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 1fc5243df618f327b8d15ace5b393a3874b76d13
Author: Ralph Corderoy <ralph@inputplus.co.uk>
Date:   Fri May 21 22:46:50 2021 +0100

    uip/mkstemp.c: if advise() is available then use it.
    
    Also, return ASAP on error so the main body of the function isn't
    conditional.

commit aa010187b09c966bd0630cdae8e5a874ba8f7455
Author: Ralph Corderoy <ralph@inputplus.co.uk>
Date:   Fri May 21 22:38:51 2021 +0100

    all *.c: hush compiler by passing unsigned for ‘%x’ and similar.
    
    The printf(3) family expect an unsigned integer for ‘%x’ so ensure they
    get it to stop the compiler warning that a signed is being passed.  Each
    case was considered rather than just mechanically adding a cast to
    ‘unsigned’.

commit 311fed83a54dcb7999d831f3a88a098888c2e1ff
Author: Ralph Corderoy <ralph@inputplus.co.uk>
Date:   Tue May 18 14:34:42 2021 +0100

    uip/mkstemp.c: use memcpy(3) instead of strncpy(3) to hush compiler.
    
    strncpy() was being used to copy the source string apart from its
    terminating NUL, and sometimes the source string could be empty so the
    destination wouldn't be written at all; gcc noticed.
    
    The length to copy is known, there is no risk of stopping early on an
    unexpected NUL, so use memcpy() to clarify intent.
    
    Also, avoid copying the NUL of prefix[].

commit 7f565b90eeb4aac243fdf76a3e36105a07c840bb
Author: Ralph Corderoy <ralph@inputplus.co.uk>
Date:   Mon May 17 16:00:01 2021 +0100

    uip/popsbr.c: replace a strncpy(s, …, sizeof s) with TRUNCCPY().
    
    It silences a compiler warning and it's likely the buffer is expected to
    be NUL terminated based on nearby code.

commit 4c735348b165afd2c62abf063713e8d3cec616bc
Author: Ralph Corderoy <ralph@inputplus.co.uk>
Date:   Mon May 17 15:58:50 2021 +0100

    test/runpty.c: add function attributes to die() to silence warnings.
    
    Added attributes ‘__noreturn__’ and ‘format(printf)’ if gcc is 
recent
    enough to support them.  Copies h/mh.h's logic.

commit 58418f6c471f8f6452e9dfe740ca3896d01b2cd4
Author: Ralph Corderoy <ralph@inputplus.co.uk>
Date:   Mon May 17 14:03:05 2021 +0100

    all *.c: join lines ‘}’ and ‘else’ into one: ‘} else’.
    
    That seems to be the predominant style and there were only a few left
    which put the ‘else’ under and aligned with the ‘}’.

commit e8c1a1773f9bd5346126108f2bd9ece64bfd07e7
Author: Ralph Corderoy <ralph@inputplus.co.uk>
Date:   Mon May 17 13:45:30 2021 +0100

    uip/mhlsbr.c: fix indentation in putcomp().
    
    Faulty since RCS revision 1.1 of
    docs/historical/mh-6.8.5/uip/RCS/mhlsbr.c,v.

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

Summary of changes:
 mts/smtp/smtp.c     |  6 ++---
 sbr/context_read.c  |  3 +--
 sbr/datetime.c      |  6 +++--
 sbr/fmt_compile.c   | 18 +++++---------
 sbr/fmt_scan.c      |  3 +--
 sbr/folder_addmsg.c |  6 ++---
 sbr/getpass.c       |  3 +--
 sbr/m_convert.c     | 17 +++++++-------
 sbr/m_popen.c       |  3 +--
 sbr/mf.c            |  3 +--
 sbr/netsec.c        |  2 +-
 sbr/pidstatus.c     |  2 +-
 sbr/snprintb.c      |  3 +--
 test/getcwidth.c    |  5 ++--
 test/runpty.c       |  9 ++++++-
 uip/aliasbr.c       |  3 +--
 uip/annosbr.c       |  3 +--
 uip/ap.c            |  3 +--
 uip/fmtdump.c       |  4 ++--
 uip/mhfixmsg.c      |  2 +-
 uip/mhical.c        |  4 ++--
 uip/mhlistsbr.c     |  4 ++--
 uip/mhlsbr.c        | 28 +++++++++-------------
 uip/mhoutsbr.c      |  4 ++--
 uip/mhparse.c       | 21 ++++++-----------
 uip/mkstemp.c       | 67 ++++++++++++++++++++++++++++++-----------------------
 uip/msgchk.c        |  3 +--
 uip/picksbr.c       |  6 ++---
 uip/popsbr.c        |  5 ++--
 uip/post.c          | 16 ++++---------
 uip/sendsbr.c       |  3 +--
 uip/slocal.c        |  6 +++--
 uip/sortm.c         |  3 +--
 uip/whatnowsbr.c    |  9 +++----
 34 files changed, 128 insertions(+), 155 deletions(-)


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



reply via email to

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