Convert lexer to read using fileio.[ch] functions (thanks, Solaris!).
[ircu2.10.12-pk.git] / ChangeLog
index 79d3f4122c5f0b23cb046f0008a5dd03c376f907..e1f630c6f4da2e30940ad01dccbf7298e9e1d9c8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2007-10-29  Michael Poole <mdpoole@troilus.org>
+
+       * ircd/ircd_lexer.l (YY_INPUT): Redefine to use fbgets().
+       (init_lexer): Return a value to indicate failure.  Use fbopen().
+       (deinit_lexer): New function.
+
+       * ircd/s_conf.c (read_configuration_file): Update extern
+       declarations.  Bail if init_lexer() fails.  Call deinit_lexer()
+       rather than directly munging yyin.
+
 2007-10-29  Michael Poole <mdpoole@troilus.org>
 
        * include/gline.h: Delete declaration of gline_propagate().