]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Add w and W to maptoupper and maptolower tables
authorMark Andrews <marka@isc.org>
Fri, 18 Jun 2021 01:29:45 +0000 (11:29 +1000)
committerMichał Kępień <michal@isc.org>
Fri, 18 Jun 2021 06:56:35 +0000 (08:56 +0200)
(cherry picked from commit 08eeebb6a7ef45ac796a0df47a92350473a4e0b8)

lib/dns/rbtdb.c

index 4d37a36ba32ba90d40dfe3ed20e4165374296a41..3e5de5a5a00cddb4f2cfbedd051104f89ccb6c36 100644 (file)
@@ -9885,7 +9885,8 @@ static const unsigned char maptolower[256] = {
        ['F'] = 'f', ['G'] = 'g', ['H'] = 'h', ['I'] = 'i', ['J'] = 'j',
        ['K'] = 'k', ['L'] = 'l', ['M'] = 'm', ['N'] = 'n', ['O'] = 'o',
        ['P'] = 'p', ['Q'] = 'q', ['R'] = 'r', ['S'] = 's', ['T'] = 't',
-       ['U'] = 'u', ['V'] = 'v', ['X'] = 'x', ['Y'] = 'y', ['Z'] = 'z',
+       ['U'] = 'u', ['V'] = 'v', ['W'] = 'w', ['X'] = 'x', ['Y'] = 'y',
+       ['Z'] = 'z',
 };
 
 static const unsigned char maptoupper[256] = {
@@ -9893,7 +9894,8 @@ static const unsigned char maptoupper[256] = {
        ['f'] = 'F', ['g'] = 'G', ['h'] = 'H', ['i'] = 'I', ['j'] = 'J',
        ['k'] = 'K', ['l'] = 'L', ['m'] = 'M', ['n'] = 'N', ['o'] = 'O',
        ['p'] = 'P', ['q'] = 'Q', ['r'] = 'R', ['s'] = 'S', ['t'] = 'T',
-       ['u'] = 'U', ['v'] = 'V', ['x'] = 'X', ['y'] = 'Y', ['z'] = 'Z',
+       ['u'] = 'U', ['v'] = 'V', ['w'] = 'W', ['x'] = 'X', ['y'] = 'Y',
+       ['z'] = 'Z',
 };
 
 static void