[ISC-Bugs #22695] - Close a file descriptor in an error path.
[ISC-Bugs #19368] - Tidy up variable types in validate_port.
-- Code cleanup
- [ISC-Bugs #13151] - remove obsolete PROTO, KandR, INLINE and ANSI_DECL macros
+- Code cleanup: remove obsolete PROTO, KandR, INLINE and ANSI_DECL macros
+ [ISC-Bugs #13151]
+
+- Compilation problem with gcc4.5 and omshell.c resolved. [ISC-Bugs #23831]
Changes since 4.2.0
break;
case END_OF_FILE:
- case EOL:
+ case ENDOFLINE: /* EOL: */
break;
case TOKEN_HELP:
- case '?':
+ case QUESTIONMARK: /* '?': */
printf ("Commands:\n");
printf (" port <server omapi port>\n");
printf (" server <server address>\n");
Tokens for config file lexer and parser. */
/*
- * Copyright (c) 2004,2007-2009,2011 by
- * Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (c) 2011 by Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (c) 2004,2007-2009 by Internet Systems Consortium, Inc. ("ISC")
* Copyright (c) 1996-2003 by Internet Software Consortium
*
* Permission to use, copy, modify, and distribute this software for any
TILDE = '~',
BANG = '!',
PERCENT = '%',
- PLUS = '+',
+ PLUS = '+',
MINUS = '-',
ASTERISK = '*',
AMPERSAND = '&',
PIPE = '|',
CARET = '^',
+ ENDOFLINE = '\n',
+ QUESTIONMARK = '?',
HOST = 256,
FIRST_TOKEN = HOST,