2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-28 21:17:54 +00:00

52 Commits

Author SHA1 Message Date
Brian Wellington
b0214977e8 Instead of storing parentheses deltas, just copy lex->paren_count and
restore it on ungettoken().  This is much easier (thanks, Mark).
2000-11-20 00:41:50 +00:00
Brian Wellington
bea3d187ee fixed another assertion failure. 2000-11-18 21:15:23 +00:00
Brian Wellington
6a9f7f6e51 fix paren handling in quoted strings again. 2000-11-18 01:02:39 +00:00
Brian Wellington
66a39bda9c parentheses in strings were handled incorrectly. 2000-11-18 00:54:19 +00:00
Brian Wellington
729916054d if a string token was immediately followed by an EOF token, ungetting the
string token would fail.
2000-11-17 00:34:37 +00:00
Brian Wellington
308785a470 If a token is ungotten, the source is no longer at EOF. 2000-11-16 03:44:41 +00:00
Brian Wellington
09ce346fd8 ungetting eof tokens could trigger an assertion. 2000-11-16 03:03:16 +00:00
Brian Wellington
b8d6376e1b the ungettoken changes also broke multiline records. 2000-11-15 00:42:53 +00:00
Brian Wellington
1f2f5445ec remove an uninitialized variable warning 2000-11-13 21:29:27 +00:00
Mark Andrews
733e928f71 552. [bug] We were not correctly detecting the end of all c-style
comments.  [RT #455]
2000-11-13 04:09:40 +00:00
Brian Wellington
66f7feef55 the ungettoken changes broken line number reporting 2000-11-10 01:41:00 +00:00
Brian Wellington
066faef119 548. [func] The lexer now ungets tokens more correctly. 2000-11-09 02:23:40 +00:00
Brian Wellington
add4043305 The identical gettoken() routines in rdata.c, hex.c, and base64.c have
been replaced with isc_lex_getmastertoken().
2000-11-08 01:56:15 +00:00
Mark Andrews
5e589b5356 Uninitalised link fixes, batch 1. 2000-10-20 02:21:58 +00:00
Brian Wellington
3f123dcc2f 487. [port] flockfile() is not defined on all systems.
Also check for libpthreads, if libpthread isn't found.
2000-09-22 18:52:39 +00:00
Brian Wellington
743add946b Comment out calls to flockfile() and funlockfile(), since it's not
evident that they're needed, and they don't work on all platforms without
threads.
2000-08-30 01:28:10 +00:00
Andreas Gustafsson
6cab5e204c write ASCII NUL as '\0', not 0 2000-08-23 02:21:16 +00:00
David Lawrence
40f53fa8d9 Trailing whitespace trimmed. Perhaps running "perl util/spacewhack.pl in your
own CVS tree will help minimize CVS conflicts.  Maybe not.
Blame Graff for getting me to trim all trailing whitespace.
2000-08-01 01:33:37 +00:00
David Lawrence
15a4474541 word wrap copyright notice at column 70 2000-07-27 09:55:03 +00:00
Mark Andrews
5c0a406664 325. [bug] isc_lex_gettoken was processing octal strings when
ISC_LEXOPT_CNUMBER was not set.
2000-07-11 02:44:54 +00:00
Mark Andrews
b47f3dc885 Add isc_lex_isfile(). 2000-07-10 05:11:18 +00:00
James Brister
8775909be9 282. [bug] lexer now returns ISC_R_RANGE if parsed integer is
too big for an usigned long.
2000-06-23 22:32:10 +00:00
David Lawrence
9c3531d72a add RCS id string 2000-06-22 22:00:42 +00:00
David Lawrence
49dbdb0186 update_copyrights 2000-06-21 22:05:07 +00:00
David Lawrence
ed019cabc1 fixed lines > 79 columns wide 2000-05-24 05:10:00 +00:00
David Lawrence
d8e34837cd isc_file_{stdiofunc} -> isc_stdio_* 2000-05-11 16:14:05 +00:00
Andreas Gustafsson
996f4a8bc3 164. [cleanup] Added functions isc_file_fopen(), isc_file_fclose(),
isc_file_fseek(), isc_file_fread(), isc_file_fwrite(),
                        isc_file_fflush(), isc_file_ffsync(), isc_file_remove()
                        to encapsulate nonportable usage of errno and fflush().
2000-05-09 23:19:32 +00:00
David Lawrence
47b26abe77 ensure proper range for argument to ctype functions 2000-05-09 22:22:25 +00:00
David Lawrence
1a69a1a78c Megacommit of dozens of files.
Cleanup of redundant/useless header file inclusion.

ISC style lint, primarily for function declarations and standalone
comments -- ie, those that appear on a line without any code, which
should be written as follows:
   /*
    * This is a comment.
    */
2000-05-08 14:38:29 +00:00
Andreas Gustafsson
8dfc98528f isc_mem_get() return value check used the wrong variable 2000-05-04 23:59:49 +00:00
Andreas Gustafsson
ae0713cac2 removed debugging printf 2000-05-04 23:58:05 +00:00
Andreas Gustafsson
e3b279bfa9 no need to include <isc/buffer.h>, <isc/result.h>, <isc/mem.h> from <isc/base64.h> 2000-04-10 21:33:36 +00:00
Andreas Gustafsson
fabbe85253 some newlines were counted twice, causing incorrect
line numbers in error messages
2000-03-22 17:39:48 +00:00
Bob Halley
ca41b452ed update copyrights 2000-02-03 23:08:31 +00:00
Andreas Gustafsson
386fef57fa don't write to freed memory 2000-02-01 17:27:23 +00:00
Mark Andrews
1205f38a4c max_token is now a hint as to largest token. 1999-12-23 05:24:12 +00:00
Michael Graff
440be4c866 move util.h to <isc/util.h> 1999-12-16 22:24:22 +00:00
Bob Halley
bad8294771 add const to filename args 1999-10-25 18:42:09 +00:00
James Brister
ab5657cabf Support bases other than 10 in numbers (using option ISC_LEXOPT_CNUMBER)
Fixed bug in keeping track of input line numbers inside comments.
1999-06-08 12:45:23 +00:00
Mark Andrews
55ea93b0b1 Add addition \ escape processing 1999-05-19 00:48:16 +00:00
Mark Andrews
07c7ca6f31 isc_mem_strdup() result was not being checked. 1999-02-10 05:22:57 +00:00
Mark Andrews
e4653123ec isc_lex_getsourcename()
isc_lex_getsourceline()
	convert uint#_tobuffer() to use isc_buffer_putuint#()
1999-02-05 06:41:21 +00:00
Michael Graff
f5375f2b93 u_long u_long; -> unsigned long ulong; 1999-01-30 00:29:31 +00:00
Bob Halley
918ef3a73e save options before doing DNS multiline mode 1999-01-28 18:15:57 +00:00
Bob Halley
72614620fc better support for multiple sources 1999-01-28 08:38:42 +00:00
Bob Halley
59be3f4a67 fix possible char buffer draining problem; add DNS_LEXOPT_MULTILINE support 1999-01-26 08:26:19 +00:00
Mark Andrews
44a966dff6 Added WKS. 1999-01-21 06:02:15 +00:00
Mark Andrews
bc6f28fa15 as_ulong now works. 1999-01-18 08:04:35 +00:00
Bob Halley
be686734dd lint; use text regions 1999-01-09 02:39:05 +00:00
Bob Halley
68109fb883 list macros now follow the naming convention 1999-01-09 00:20:27 +00:00