Hello community, here is the log from the commit of package mailx for openSUSE:Factory checked in at 2013-12-05 21:39:57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/mailx (Old) and /work/SRC/openSUSE:Factory/.mailx.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "mailx" Changes: -------- --- /work/SRC/openSUSE:Factory/mailx/mailx.changes 2013-12-03 14:26:22.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.mailx.new/mailx.changes 2013-12-05 21:39:58.000000000 +0100 @@ -1,0 +2,5 @@ +Wed Dec 4 08:54:21 UTC 2013 - [email protected] + +- Crop off the brackets of an ipv6 addresse if found (bnc#853246) + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ mailx-12.5-ipv6.dif ++++++ --- /var/tmp/diff_new_pack.eQBplx/_old 2013-12-05 21:39:58.000000000 +0100 +++ /var/tmp/diff_new_pack.eQBplx/_new 2013-12-05 21:39:58.000000000 +0100 @@ -10,21 +10,23 @@ # # Binaries are stripped with this command after installation. --- fio.c -+++ fio.c 2013-12-03 08:55:19.158236784 +0000 -@@ -1024,6 +1024,16 @@ sopen(const char *xserver, struct sock * ++++ fio.c 2013-12-04 07:46:41.302735482 +0000 +@@ -1023,7 +1023,17 @@ sopen(const char *xserver, struct sock * char *cp; char *server = (char *)xserver; -+#ifdef HAVE_IPv6_FUNCS -+ if ((cp = strchr(server, ']')) != NULL) { +- if ((cp = strchr(server, ':')) != NULL) { ++ if (*server == '[' && (cp = strchr(server, ']')) != NULL) { + if (cp[1] == ':') { + portstr = &cp[2]; -+ server = salloc(cp+1 - xserver+1); -+ memcpy(server, xserver, cp+1 - xserver); -+ server[cp+1 - xserver] = '\0'; ++#ifndef HAVE_IPv6_FUNCS ++ port = strtol(portstr, NULL, 10); ++#endif /* HAVE_IPv6_FUNCS */ + } -+ } else -+#endif /* HAVE_IPv6_FUNCS */ - if ((cp = strchr(server, ':')) != NULL) { ++ server = salloc(cp - xserver); ++ memcpy(server, xserver+1, cp - xserver - 1); ++ server[cp - xserver - 1] = '\0'; ++ } else if ((cp = strchr(server, ':')) != NULL) { portstr = &cp[1]; #ifndef HAVE_IPv6_FUNCS + port = strtol(portstr, NULL, 10); -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
