1300. [bug] libbind: escape '(' and ')' when coverting to

presentation form.
This commit is contained in:
Mark Andrews
2002-05-24 05:21:42 +00:00
parent acc8b7ac3d
commit 8989de1059
2 changed files with 6 additions and 1 deletions

View File

@@ -1,3 +1,6 @@
1300. [bug] libbind: escape '(' and ')' when coverting to
presentation form.
1299. [port] Darwin uses (unsigned long) for size_t. [RT #2590]
1298. [func] dig: now supports +[no]cl +[no]ttlid.

View File

@@ -16,7 +16,7 @@
*/
#ifndef lint
static const char rcsid[] = "$Id: ns_name.c,v 1.4 2001/11/01 00:57:49 marka Exp $";
static const char rcsid[] = "$Id: ns_name.c,v 1.5 2002/05/24 05:21:42 marka Exp $";
#endif
#include "port_before.h"
@@ -681,6 +681,8 @@ special(int ch) {
case 0x2E: /* '.' */
case 0x3B: /* ';' */
case 0x5C: /* '\\' */
case 0x28: /* '(' */
case 0x29: /* ')' */
/* Special modifiers in zone files. */
case 0x40: /* '@' */
case 0x24: /* '$' */