nmh-workers
[Top] [All Lists]

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

2018-01-14 15:58:37
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
Steven.Winikoff@concordia.ca   |  there."
                               |                  - Charles F. Kettering

-- 
Nmh-workers
https://lists.nongnu.org/mailman/listinfo/nmh-workers

<Prev in Thread] Current Thread [Next in Thread>