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-227-g872ef4d
Date: Sun, 17 Sep 2017 08:48:59 -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  872ef4dde72a88ceb1358849a462f791135b842d (commit)
       via  6fd323cc02e4e90d24e30b8c78a88a55e749556f (commit)
       via  4d0110006d4e72f82fb597f170c7d9991f2ca0bf (commit)
       via  01fd4094faf9fa892faad3621433e5faa98157f9 (commit)
      from  370eb511c48f5d0a2e28336835e9929e6215abb1 (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 872ef4dde72a88ceb1358849a462f791135b842d
Author: Ralph Corderoy <address@hidden>
Date:   Sun Sep 17 13:19:40 2017 +0100

    mhlsbr.c: Don't strchr(3) non-string NUL-less buffer.
    
    Up to 8 KiB was read into a buffer and then strchr() used to test for a
    linefeed.  There was no guarantee the linefeed would be present, else
    why test for it, nor that the buffer would contain a NUL to terminate
    the search, either from the read bytes, or the bytes not trampled by
    read().  Replace the two similar lumps of code with a new
    linefeed_typed().  Bug pre-dates git.

commit 6fd323cc02e4e90d24e30b8c78a88a55e749556f
Author: Ralph Corderoy <address@hidden>
Date:   Sat Sep 16 22:58:11 2017 +0100

    mhlsbr.c: Don't read(2) from fileno(3) of stdout.
    
    Remove the assumption that file descriptor 1 is readable.  It can be if
    it, or where it was dup(2)'d from, was opened read/write, e.g. on
    /dev/tty.  But it can easily be arranged with shell re-direction that it
    isn't, and then the read(2) fails.  Pass 0, standard input's file
    descriptor, instead.  Don't use fileno(stdin) as I can't think of a need
    to support that being non-zero, but its use makes the reader think it
    might.  Bug pre-dates git.

commit 4d0110006d4e72f82fb597f170c7d9991f2ca0bf
Author: Ralph Corderoy <address@hidden>
Date:   Fri Sep 15 22:58:59 2017 +0100

    Invert ternary condition to remove one negative.
    
    Replaces `i != NOTOK ? OK : NOTOK' with `i == NOTOK ? NOTOK : OK'.

commit 01fd4094faf9fa892faad3621433e5faa98157f9
Author: Ralph Corderoy <address@hidden>
Date:   Fri Sep 15 13:03:20 2017 +0100

    mime_type.c: Fix regexp in comment that describes following code.
    
    Fixes e35fb433.

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

Summary of changes:
 sbr/mime_type.c  |  2 +-
 uip/dropsbr.c    |  2 +-
 uip/mhlsbr.c     | 43 ++++++++++++++++++++++++++++++-------------
 uip/mhstoresbr.c |  2 +-
 4 files changed, 33 insertions(+), 16 deletions(-)


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



reply via email to

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