nmh-workers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nmh-workers] proposed patch for shell metacharacter failure in nmh-


From: Steven Winikoff
Subject: Re: [Nmh-workers] proposed patch for shell metacharacter failure in nmh-1.7
Date: Sun, 14 Jan 2018 16:58:19 -0500

>It's attached to this message.

I got it, but I'm not sure I know what to do with it.

What I did was this:

   % cd /local/pkg/nmh/nmh-1.7
   % patch -p1 < /tmp/qpatch

...but this is what happened:

   patching file uip/mhshowsbr.c
   Hunk #1 FAILED at 980.
   Hunk #2 FAILED at 987.
   Hunk #3 succeeded at 989 (offset -1 lines).
   2 out of 3 hunks FAILED -- saving rejects to file uip/mhshowsbr.c.rej

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) {

Is it possible that you're starting with a newer version of the source
than I am?

     - Steven
-- 
___________________________________________________________________________
Steven Winikoff                |
Concordia University           | "My interest is in the future because I
Montreal, QC, Canada           |  am going to spend the rest of my life
address@hidden   |  there."
                               |                  - Charles F. Kettering



reply via email to

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