Lines Matching refs:in

7 granted, provided that the above copyright notice appear in all
9 permission notice and warranty disclaimer appear in supporting
11 its entities not be used in advertising or publicity pertaining
26 was sent to the printers in August, 1987.
29 minor fix in lib.c: increase inputFS to 100, change malloc
32 fixed memory fault caused by out of order test in setsval.
37 fiddle in makefile to fix for BSD make; thanks to igor sobrado.
43 fixed a bug in matching the null RE in sub and gsub. thanks to al aho
44 who actually did the fix (in b.c), and to wolfgang seeberg for finding
47 fixed quotation in b.c; thanks to Hal Pratt and the Princeton Dante
50 removed some no-effect asserts in run.c.
57 fixed wording and an outright error in the usage message; thanks to igor
60 fixed a bug in -d that caused core dump if no program followed.
67 system() not flagged as unsafe in the unadvertised -safe option.
77 removed some #ifdef's in run.c and lex.c that appear to no
81 modified lib.c so that values of $0 et al are preserved in the END
86 fixed infinite loop in parsing, originally found by brian tsang.
91 prevent overflow of -f array in main, head off potential error in
92 call of SYNTAX(), test malloc return in lib.c, all with thanks to
107 fixed another 25-year-old RE bug, in split. it's another failure
112 fixed a bug in regular expressions that dates (so help me) from 1977;
116 this one but for providing a fix, in some of the most mysterious
119 fixed a storage leak in call() that appears to have been there since
125 fixed, thanks to andrey chernov and ruslan ermilov, a bug in lex.c
126 that mis-handled the character 255 in input. (it was being compared
131 line state ^ for RE's in the set of valid characters; this led to a
133 regular expressions in non-US locales. thanks to ruslan for keeping
140 radix character in programs and command line arguments regardless of
144 i have rescinded the attempt to use strcoll in expanding shorthands in
146 surprising; for example [a-c] matches aAbBc in locale en_US but abBcC
147 in locale fr_CA. i can see how this might arise by implementation
149 in gawk as well; we're leaning on the same library.)
155 patterns of characters. in any case, the notations [:lower:], etc.,
156 are available in awk, and they are more likely to work correctly in
160 i apologize to friends and colleagues in other parts of the world.
165 fixed bug that permitted non-terminated RE, as in "awk /x".
172 added some parens to isblank, in another attempt to make things
177 reinstated. in theory awk will now do character comparisons
178 and case conversions in national language, but "." will always
183 in vc6++.
185 fixed subtle behavior in field and record splitting: if FS is
187 this tortuous reading is found in the awk book; behavior now
192 rolled back -- programs like x = 1.2 don't work in some locales,
197 modified b.c (with tiny changes in main and run) to support
213 fixed subtle bug in format that could get core dump. thanks to
215 minor cleanup in run.c / format() at the same time.
226 reported by gcc's -Wwrite-strings. as it says in the gcc manual,
234 changed types in posix chars structure to quiet solaris cc.
255 fixed an appalling bug in gettok: any sequence of digits, +,-, E, e,
263 more (const char *) casts in b.c and tran.c to silence warnings.
266 fixed a bug introduced in august 1997 that caused expressions
279 permit \n explicitly in character classes; won't work right
280 if comes in as "[\n]" but ok as /[\n]/, because of multiple
284 minor fiddles in tran.c to keep compilers happy about uschar.
289 band-aid in b.c (member()), and some (uschar) casts to head
290 off potential errors in subscripts (like isdigit). also
298 fixed an 8-bit problem in b.c by making several char*'s into
303 finally found and fixed a memory leak in function call; it's
307 added test in envinit to catch environment "variables" with
311 added test in defn() to catch function foo(foo), which
316 added *bp in gettok in lex.c; appears possible to exit function
321 in case stdin, etc., are not constants; some compilers care.
327 impetus, and for pointing out a string termination bug in
332 variable with value ending in \. (thanks to nelson beebe for
337 /=/ and similar constructs more sensibly in more places.
341 changed true/false to True/False in run.c to make it
344 ltype int to long in struct rrow to reduce some 64-bit
349 removed some horrible pointer-int casting in b.c and elsewhere
352 in 64-bit mode.
354 reset lineno for new source file; include filename in error
355 message. also fixed line number error in continuation lines.
371 fixed memory leaks in run.c (call) and tran.c (setfval).
375 replaced srand argument by (unsigned int) in run.c;
380 e.g., errorflag= in run.c jump().
392 fixed a couple of bugs in getrec: could fail to update $0
396 fixed caching bug in makedfa: LRU was actually removing
403 fixed potential bug in readrec: might fail to update record
411 subtle silent bug in lex.c: if the program ended with a number
418 s/adelete/awkdelete/: SGI uses this in malloc.h.
422 fixed some bugs in sub and gsub when replacement includes \\.
429 analyzer with one written in C. it's longer, generates less code,
431 properties of lex that were not preserved in other environments.
432 in theory these recognize the same language.
438 removed now-pointless optimization in makefile that tries to avoid
446 fields and $0 in fixed-size arrays with arrays that grow on
466 in run.c; added overflow tests to some previously unchecked cases.
469 getline code is still broken in that recursive calls may wind
478 a null byte in output. thanks to ken stailey for the fix.
487 fixed long-standing bug in sub, gsub(/a/, "\\\\&"); thanks to
491 fixed awful bug in new field splitting; didn't get all the places
502 fixed appalling but apparently unimportant bug in parsing octal
503 numbers in reg exprs.
505 explicit hex in reg exprs now limited to 2 chars: \xa, \xaa.
510 makefile now includes backup copies of ytab.c and lexyy.c in case
522 in b.c where chars are used as table indices have been hand-crafted.
530 enhanced split(), as in gawk, etc: split(s, a, "") splits s into
535 added nextfile, as in gawk: causes immediate advance to next
548 fixed call to time in run.c (bltin); arg is time_t *.
550 replaced horrible pointer/long punning in b.c by a legitimate
554 replaced nested comments by #if 0...#endif in run.c, lib.c.
561 y.tab.[ch] => ytab.[ch], lex.yy.c => lexyy.c, all in the aid of
568 initialized Cells in setsymtab more carefully; some fields
572 fixed at least one error in gsub that looked at -1-th element
587 detect duplicate arguments in function definitions (mdm).
590 trivial fix to printf to limit string size in sub().
605 added CONVFMT as in posix (just replaced OFMT in getsval)
619 malloc returned NULL in all cases.
630 added explicit check for /dev/std(in,out,err) in redirection.
643 fixed storage leak in freefa, failing to recover [N]CCL.
647 use RAND_MAX instead of literal in builtin().
650 cranked up some fixed-size arrays in b.c, and added a test for
651 overflow in penter. thanks to mark larsen.
654 increased buffer in gsub. a very crude fix to a general problem.
662 allow newline after ; in for statements.
665 fixed so that in self-assignment like $1=$1, side effects
679 fixed silly bug in hex parsing in hexstr().
680 removed an apparently unnecessary test in isnumber().
682 fixed unchecked array overwrite in relex().
684 changed for (i in array) to access elements in sorted order.
685 then unchanged it -- it really does run slower in too many cases.
686 left the code in place, commented out.
695 failed to set numeric state on $0 in cmd|getline context in run.c.
698 fixed sleazy test for integrality in getsval; use modf.
701 fixed sleazy buggy code in lib.c that looked (incorrectly) for
705 fixed the bug on p. 198 in which it couldn't deduce that an
706 argument was an array in some contexts. replaced the error
707 message in intest() by code that damn well makes it an array.
710 fixed horrible bug: types and values were not preserved in
711 some kinds of self-assignment. (in assign().)
714 changed NCHARS to 256 to handle 8-bit characters in strings
719 since cfoll() stores a pointer in it. now works better when int's
729 Added \x to regular expressions (already in strings).
731 Centralized the code for parsing escapes in regular expressions.
735 fixed null pointer dereference bug in main.c: -F[nothing]. sigh.
743 fix potential problem in tran.c -- something was freed,
744 then used in freesymtab.
750 small fix to input() in case of multiple reads after EOF.
753 FILENAME is now defined in the BEGIN block -- too many old
756 "-" means stdin in getline as well as on the commandline.
769 var=something. (consider the man page for =, in file =.1)
784 fixed ref-thru-zero bug in environment code in tran.c
807 fixed a really stupid botch in the debugging macro dprintf
830 as in ANSI, for strings. Rescinded the sloppiness that permitted
831 non-octal digits in \ooo. Warning: not all compilers and libraries
839 Catches some more commandline errors in main.
840 Removed redundant decl of modf in run.c (confuses some compilers).
841 Warning: there's no single declaration of malloc, etc., in awk.h
857 Fixed bug in call() that failed to recover storage.
860 in the call than in the definition (in lieu of fixing
871 Fixed bug in call() that freed local arrays twice.
877 Now guarantees to evaluate all arguments of built-in
878 functions, as in C; the appearance is that arguments
881 all the built-in arithmetic functions in bltin().
888 setting FILENAME in BEGIN caused core dump, apparently
892 fixed egregious error in toupper/tolower functions.
899 performance bug in b.c/cgoto(): not freeing some sets of states.
914 Fixed lib.c to permit _ in commandline variable names.
923 declarations within functions. Two extern declarations in
938 Can still get a core dump in printf itself.