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-80-gaad7213
Date: Wed, 23 Aug 2017 18:40: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  aad7213c7ebca96dff5f141e0e26a165eba4e6b8 (commit)
       via  2b60a54adb3b0bf5a9b927708085492b816a6015 (commit)
       via  7d57ffc92fe378f7a445a841609adba86bcef0b3 (commit)
       via  605516b7c2e68efcd681478d40b210e6af968d58 (commit)
       via  8a5a1a5303ddc67f06350a57a515853724a16e31 (commit)
       via  000facfea7a1335c17a7ffb9ff520ea3873f3745 (commit)
       via  a129ed9494a4958069d0d74d18e9211b8cb139f2 (commit)
       via  ab2201f516946860e9322363be090a370da675fd (commit)
       via  4ecdd9dda778478a2d3244cfc349df69a4224f96 (commit)
       via  7be8fcd1a5cccf51471978d8ca8c5586f06c134b (commit)
       via  a596b2e5a67b5a250c571d4544c7726554c1ed44 (commit)
      from  15fde7dd84cc29c054857e5d8a7fdd4a8db10a97 (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 aad7213c7ebca96dff5f141e0e26a165eba4e6b8
Author: Ralph Corderoy <address@hidden>
Date:   Wed Aug 23 23:38:50 2017 +0100

    mhbuildsbr.c: Ensure temporary FILE closed regardless of success.
    
    If the fopen() succeeded, but the fwrite() failed, then the FILE wasn't
    fclose()'d.

commit 2b60a54adb3b0bf5a9b927708085492b816a6015
Author: Ralph Corderoy <address@hidden>
Date:   Wed Aug 23 22:50:33 2017 +0100

    mhbuildsbr.c: Flip logic, moving goto to then-block;  no need for else.
    
    Also makes more clear a FILE pointer that's probably not fclose()'d.

commit 7d57ffc92fe378f7a445a841609adba86bcef0b3
Author: Ralph Corderoy <address@hidden>
Date:   Wed Aug 23 22:16:32 2017 +0100

    Flip logic, moving goto from else- to then-block.
    
    Thus removing the need for the `else'.

commit 605516b7c2e68efcd681478d40b210e6af968d58
Author: Ralph Corderoy <address@hidden>
Date:   Wed Aug 23 22:11:49 2017 +0100

    Don't need to `else' after done() at end of then-block.

commit 8a5a1a5303ddc67f06350a57a515853724a16e31
Author: Ralph Corderoy <address@hidden>
Date:   Wed Aug 23 22:04:42 2017 +0100

    Don't need to `else' after adios() at end of then-block.
    
    Only true of simple if-else rather than a chain.

commit 000facfea7a1335c17a7ffb9ff520ea3873f3745
Author: Ralph Corderoy <address@hidden>
Date:   Wed Aug 23 21:39:59 2017 +0100

    sh scripts: Remove `else' after exit at end of then-block.
    
    Only for simple if-then-else-fi with no elif.

commit a129ed9494a4958069d0d74d18e9211b8cb139f2
Author: Ralph Corderoy <address@hidden>
Date:   Wed Aug 23 21:38:55 2017 +0100

    uip/rcvtty.c: Flip logic, moving `return' to then-block.
    
    There's then no need for an `else' around the old then-block.
    
        Before          After
        if (foo)        if (!foo)
            bar();          xyzzy();
        else                return;
            xyzzy();    bar();
            return;

commit ab2201f516946860e9322363be090a370da675fd
Author: Ralph Corderoy <address@hidden>
Date:   Wed Aug 23 21:25:52 2017 +0100

    Remove the `else' after a simple if-then block ending in `break'.
    
        Before          After
        if (foo)        if (foo)
            break;          break;
        else            bar();
            bar();

commit 4ecdd9dda778478a2d3244cfc349df69a4224f96
Author: Ralph Corderoy <address@hidden>
Date:   Wed Aug 23 21:20:25 2017 +0100

    mhlistsbr.c: Replace list_application() with body at call site.
    
    list_application()'s comment said the function didn't need to exist.
    It's correct, so delete it.  The sole caller now calls list_content(),
    as list_application() used to do.  That's actually the same as other
    cases in the switch so merge them.  There is a slight difference:
    list_application() used to call list_content() and then return OK
    regardless, now it returns list_content()'s value, but that's always OK
    too.

commit 7be8fcd1a5cccf51471978d8ca8c5586f06c134b
Author: Ralph Corderoy <address@hidden>
Date:   Wed Aug 23 00:22:58 2017 +0100

    mhmail: Turn sh's else-if into elif.

commit a596b2e5a67b5a250c571d4544c7726554c1ed44
Author: Ralph Corderoy <address@hidden>
Date:   Wed Aug 23 00:17:22 2017 +0100

    Join the lines of another couple of `else if'.
    
    It's misleading to have them on separate lines, especially when there's
    a blank line in between.

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

Summary of changes:
 sbr/addrsbr.c          |  4 +---
 sbr/context_read.c     |  3 +--
 sbr/context_save.c     |  6 ++----
 sbr/ext_hook.c         |  4 +---
 sbr/vfgets.c           |  3 +--
 test/rcv/test-rcvstore |  6 ++----
 uip/anno.c             |  3 +--
 uip/ap.c               |  3 +--
 uip/burst.c            | 10 ++++------
 uip/comp.c             |  6 ++----
 uip/dist.c             |  6 ++----
 uip/dp.c               |  3 +--
 uip/fmtdump.c          |  3 +--
 uip/fmttest.c          |  3 +--
 uip/folder.c           |  6 ++----
 uip/forw.c             |  3 +--
 uip/inc.c              |  5 ++---
 uip/install-mh.c       | 27 ++++++++++-----------------
 uip/mark.c             |  5 ++---
 uip/mhbuild.c          |  6 ++----
 uip/mhbuildsbr.c       | 21 ++++++++++-----------
 uip/mhfixmsg.c         | 11 ++++-------
 uip/mhlist.c           |  3 +--
 uip/mhlistsbr.c        | 23 +----------------------
 uip/mhmail             | 35 ++++++++++++++++-------------------
 uip/mhn.c              |  3 +--
 uip/mhparse.c          |  7 ++++---
 uip/mhpath.c           |  3 +--
 uip/mhshow.c           |  3 +--
 uip/mhstore.c          |  3 +--
 uip/msgchk.c           |  6 ++----
 uip/new.c              |  9 +++------
 uip/pick.c             |  3 +--
 uip/post.c             |  6 ++----
 uip/prompter.c         |  3 +--
 uip/rcvpack.c          |  3 +--
 uip/rcvstore.c         |  3 +--
 uip/rcvtty.c           | 15 +++++++--------
 uip/repl.c             |  6 ++----
 uip/rmf.c              |  3 +--
 uip/rmm.c              |  5 ++---
 uip/scan.c             |  5 ++---
 uip/show.c             |  3 +--
 uip/sortm.c            |  5 ++---
 uip/whatnowsbr.c       |  3 +--
 uip/whom.c             |  3 +--
 46 files changed, 110 insertions(+), 198 deletions(-)


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



reply via email to

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