[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nmh-workers] proposed patch for shell metacharacter failure in nmh-
From: |
Ralph Corderoy |
Subject: |
Re: [Nmh-workers] proposed patch for shell metacharacter failure in nmh-1.7 |
Date: |
Sat, 20 Jan 2018 09:48:33 +0000 |
Hi Steven,
> David wrote:
> > That's not right, it should be:
> >
> > while ((pp = strchr (pp, ''')) && buflen > 3) {
>
> That's what I thought based on your patch.
That's not what David wrote. :-)
Rewinding time, he sent a patch to the list. (BTW, David, your patches
have had zero lines of context recently.) I received it from the list,
not directly from him. It includes this line with `quote backslash
quote quote'.
- while ((pp = strchr (pp, '\'')) && buflen > 3) {
http://lists.nongnu.org/archive/html/nmh-workers/2018-01/msg00028.html
agrees.
You report
> I see that the first hunk is trying to match on
>
> while ((pp = strchr (pp, ''')) && buflen > 3) {
>
> ...but the corresponding line (line 979, not line 980) in my copy of
> uip/mhshowsbr.c is
>
> while ((pp = strchr (pp, '\'')) && buflen > 3) {
So you quote the patch incorrectly, yet can send the line from the
source correctly.
David then replies, again stating the correct line.
> > I see that the first hunk is trying to match on
> >
> > while ((pp = strchr (pp, ''')) && buflen > 3) {
>
> That's not right, it should be:
>
> while ((pp = strchr (pp, '\'')) && buflen > 3) {
And yet when you reply, quoting David, it's become
> > That's not right, it should be:
> >
> > while ((pp = strchr (pp, ''')) && buflen > 3) {
So it seems as if your method of storing David's patch, and of quoting
his email to reply to it, have both turned «'\''» into «'''».
Hopefully, this is some home-brew script rather than core nmh, but if
it's the latter then we'd like to know. :-)
--
Cheers, Ralph.
https://plus.google.com/+RalphCorderoy
- Re: [Nmh-workers] rcvdist with non-default port, (continued)
- Re: [Nmh-workers] proposed patch for shell metacharacter failure in nmh-1.7, David Levine, 2018/01/14
- Re: [Nmh-workers] proposed patch for shell metacharacter failure in nmh-1.7, Steven Winikoff, 2018/01/14
- Re: [Nmh-workers] proposed patch for shell metacharacter failure in nmh-1.7, David Levine, 2018/01/14
- Re: [Nmh-workers] proposed patch for shell metacharacter failure in nmh-1.7, Steven Winikoff, 2018/01/14
- Re: [Nmh-workers] proposed patch for shell metacharacter failure in nmh-1.7, David Levine, 2018/01/14
- Re: [Nmh-workers] proposed patch for shell metacharacter failure in nmh-1.7, Steven Winikoff, 2018/01/14
- Re: [Nmh-workers] proposed patch for shell metacharacter failure in nmh-1.7, David Levine, 2018/01/14
- Re: [Nmh-workers] proposed patch for shell metacharacter failure in nmh-1.7,
Ralph Corderoy <=
- Re: [Nmh-workers] proposed patch for shell metacharacter failure in nmh-1.7, Steven Winikoff, 2018/01/20
- Re: [Nmh-workers] proposed patch for shell metacharacter failure in nmh-1.7, Ken Hornstein, 2018/01/20
- Re: [Nmh-workers] proposed patch for shell metacharacter failure in nmh-1.7, Andy Bradford, 2018/01/20
- Message not available
- Re: [Nmh-workers] proposed patch for shell metacharacter failure in nmh-1.7, Ken Hornstein, 2018/01/20
- Re: [Nmh-workers] proposed patch for shell metacharacter failure in nmh-1.7, Steven Winikoff, 2018/01/21
- Re: [Nmh-workers] proposed patch for shell metacharacter failure in nmh-1.7, Paul Vixie, 2018/01/14
- Re: [Nmh-workers] proposed patch for shell metacharacter failure in nmh-1.7, David Levine, 2018/01/14
- Re: [Nmh-workers] proposed patch for shell metacharacter failure in nmh-1.7, Ken Hornstein, 2018/01/15
- Re: [Nmh-workers] proposed patch for shell metacharacter failure in nmh-1.7, Paul Vixie, 2018/01/15
- Re: [Nmh-workers] proposed patch for shell metacharacter failure in nmh-1.7, Tom Lane, 2018/01/15