diff options
| author | Tomas Hozza <thozza@redhat.com> | 2014-05-26 15:42:49 +0200 |
|---|---|---|
| committer | Tomas Hozza <thozza@redhat.com> | 2014-05-26 15:42:49 +0200 |
| commit | 4ecbfd89d6db65135d670e5c0d5a91be938f17eb (patch) | |
| tree | 4725f40db8bfe5956546db7f0127b70267974af6 /bind-9.5-libidn3.patch | |
| parent | 9f33a20115a9be5d140c89ab747a51c27572ac1e (diff) | |
| download | bind-4ecbfd89d6db65135d670e5c0d5a91be938f17eb.tar.gz bind-4ecbfd89d6db65135d670e5c0d5a91be938f17eb.tar.xz bind-4ecbfd89d6db65135d670e5c0d5a91be938f17eb.zip | |
Squash libidn patches into one
Signed-off-by: Tomas Hozza <thozza@redhat.com>
Diffstat (limited to 'bind-9.5-libidn3.patch')
| -rw-r--r-- | bind-9.5-libidn3.patch | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/bind-9.5-libidn3.patch b/bind-9.5-libidn3.patch deleted file mode 100644 index 3fd5573..0000000 --- a/bind-9.5-libidn3.patch +++ /dev/null @@ -1,21 +0,0 @@ -diff -up bind-9.5.0b1/bin/dig/dighost.c.libidn3 bind-9.5.0b1/bin/dig/dighost.c ---- bind-9.5.0b1/bin/dig/dighost.c.libidn3 2007-12-20 13:24:27.000000000 +0100 -+++ bind-9.5.0b1/bin/dig/dighost.c 2007-12-20 13:27:10.000000000 +0100 -@@ -1859,10 +1859,13 @@ setup_lookup(dig_lookup_t *lookup) { - if (lookup->origin != NULL) { - result = libidn_locale_to_utf8 (lookup->origin->origin, utf8_str); - check_result (result, "convert origin to UTF-8"); -- if (len + strlen (utf8_str) < MXNAME) -- (void) strcpy (utf8_name + len, utf8_str); -- else -- fatal ("Too long name + origin"); -+ if (len > 0 && utf8_name[len - 1] != '.') { -+ utf8_name[len++] = '.'; -+ if (len + strlen (utf8_str) < MXNAME) -+ (void) strcpy (utf8_name + len, utf8_str); -+ else -+ fatal ("Too long name + origin"); -+ } - } - - result = libidn_utf8_to_ascii (utf8_name, ascii_name); |
