Re: IPv6 recap

Alessandro Vesely <[email protected]>
Newsgroups gmane.mail.imap.courier.general
Message-ID <[email protected]>
On Sat 06/Apr/2024 21:25:46 +0200 Sam Varshavchik wrote:
> Sam Varshavchik writes:
> 
> … and here's the patch.


There's something wrong with these patches.  The first complains it's malformed:

853-north:rfc1035$ patch -p2 < ~/pc/tmp/sam-patch-1
patching file rfc1035mxlist.c
patch: **** malformed patch at line 11: static int add_arecords(struct 
rfc1035_res *res, struct rfc1035_mxlist **list,

I added a space before "static", but then it complained again about the second 
next line (@@ -136).  The simplification is quite straightforward, so I carried 
it out by hand.  Even then, the second patch failed and I gave up.


854-north:rfc1035$ patch -p2 < ~/pc/tmp/sam-patch-2
patching file rfc1035mxlist.c
Hunk #1 FAILED at 132.
Hunk #2 FAILED at 140.
Hunk #3 FAILED at 152.
Hunk #4 FAILED at 288.
4 out of 4 hunks FAILED -- saving rejects to file rfc1035mxlist.c.rej


I cannot find rfc1035mxlist.c on Github.  Do you have a copy there?


Best
Ale

> diff --git a/rfc1035/rfc1035mxlist.c b/rfc1035/rfc1035mxlist.c
> index cd08a111..10eb6203 100644
> --- a/rfc1035/rfc1035mxlist.c
> +++ b/rfc1035/rfc1035mxlist.c
> @@ -82,7 +82,6 @@ static int harvest_records(struct rfc1035_res *res,
>      int q_type, int *found, int autoquery, int port);
> 
> #define    HARVEST_AUTOQUERY    1
> -#define    HARVEST_NODUPE        2
> 
> static int add_arecords(struct rfc1035_res *res, struct rfc1035_mxlist **list,
>              struct rfc1035_reply *mxreply,
> @@ -136,33 +135,33 @@ records weren't found.

-- 




_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.