--- glibc-old/resolv/res_comp.c 2010-06-12 18:57:43.000000000 +0800 +++ glibc/resolv/res_comp.c 2010-08-20 03:11:04.653580579 +0800 @@ -146,8 +146,8 @@ || ((c) >= 0x61 && (c) <= 0x7a)) #define digitchar(c) ((c) >= 0x30 && (c) <= 0x39) -#define borderchar(c) (alphachar(c) || digitchar(c)) -#define middlechar(c) (borderchar(c) || hyphenchar(c) || underscorechar(c)) +#define borderchar(c) (alphachar(c) || digitchar(c) || hyphenchar(c)) +#define middlechar(c) (borderchar(c) || underscorechar(c)) #define domainchar(c) ((c) > 0x20 && (c) < 0x7f) int