htdig: patch for duplicate entries fails


Trebor Carpenter (trebor.c@apple.com)
Thu, 26 Feb 98 18:51:03 -0600


There was a patch posted on Dec. 10th to address a problem with duplicate
URLs of the form [http://foo/bar/baz, http://foo/bar//baz,
http://foo/bar///baz]. I can't get the patch to successfully complete.
I've tried both with htdig 3.0.8b1 and b2, and made sure I have the
latest version of patch from GNU. Any suggestions would most appreciated!

Here's what I get when I try to apply the patch:

Hmm... Looks like a new-style context diff to me...
The text leading up to this was:
--------------------------
|Index: htlib/URL.cc
|===================================================================
|RCS file: /opt/src/cvs/htdig/htlib/URL.cc,v
|retrieving revision 1.5
|diff -c -r1.5 URL.cc
|*** URL.cc 1997/07/07 21:23:43 1.5
|--- URL.cc 1997/12/11 00:24:45
--------------------------
Patching file htlib/URL.cc using Plan A...
Hunk #1 failed at 214.
Hunk #2 failed at 308.
Hunk #3 succeeded at 324 with fuzz 1.
2 out of 3 hunks failed--saving rejects to htlib/URL.cc.rej
Hmm... The next patch looks like a new-style context diff to me...
The text leading up to this was:
--------------------------
|Index: htlib/URL.h
|===================================================================
|RCS file: /opt/src/cvs/htdig/htlib/URL.h,v
|retrieving revision 1.2
|diff -c -r1.2 URL.h
|*** URL.h 1997/03/24 04:33:22 1.2
|--- URL.h 1997/12/11 00:24:45
--------------------------
Patching file htlib/URL.h using Plan A...
Hunk #1 failed at 57.
1 out of 1 hunks failed--saving rejects to htlib/URL.h.rej
done

--
Trebor Carpenter        Systems Administrator        Apple Computer, Inc.
trebor.c@apple.com   trebor@texas.net   http://lonestar.texas.net/~trebor
-------------------------------------------------------------------------
        In the land of the psychotic, the neurotic man is king.

---------------------------------------------------------------------- To unsubscribe from the htdig mailing list, send a message to htdig-request@sdsu.edu containing the single word "unsubscribe" in the body of the message.



This archive was generated by hypermail 2.0b3 on Sat Jan 02 1999 - 16:25:42 PST