Lines Matching +refs:cc +refs:check +refs:function +refs:in +refs:lib

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.
32 Fix regular expression clobbering in the lexer, where lexer does
37 Force hex escapes in strings to be no more than two characters,
38 as they already are in regular expressions. This brings internal
43 adjbuf minlen error (cannot be 0) in cat, resulting in NULL pbuf.
45 tempfree in cat, thanks to Miguel Pineiro Jr and valgrind.
49 Thanks to Miguel Pineiro Jr. <mpj@pineiro.cc>.
52 Memory leak when assigning a string to some of the built-in
54 Thanks to Miguel Pineiro Jr. <mpj@pineiro.cc>.
58 truncating its entry in ARGV. (circa 1989) Thanks to
59 Miguel Pineiro Jr. <mpj@pineiro.cc>.
65 <mpj@pineiro.cc>.
68 The error handling in closefile and closeall was mangled. Long
70 undetected. Thanks to Miguel Pineiro Jr. <mpj@pineiro.cc>.
96 Fix size computation in replace_repeat() for special case
104 Fix a decision bug with trailing stuff in lib.c:is_valid_number
108 Fix problems converting inf and NaN values in lib.c:is_valid_number.
110 NaN and inf values. Things are now pretty much the same as in
131 Add casts before all the calls to malloc/calloc/realloc in order
168 Fix Issue #78 by allowing \r to follow floating point numbers in
169 lib.c:is_number. Thanks to GitHub user ajcarr for the report
208 to GitHub user michaelforney. Fix issue #60 ({0} in interval
218 If POSIXLY_CORRECT is set in the environment, then sub and gsub
227 Fix a bug in the concatenation of two string constants into
228 one done in the grammar. Fixes GitHub issue #61. Thanks
256 From Arnold Robbins, apply some cleanups in the test suite.
287 and "\v" (vertical tab) in command line arguments and regular
288 expressions, further to the support for them in strings added on
294 Pull in a number of code cleanups and minor fixes from
297 Thanks to Warner Losh for collecting all these fixes in
317 Allow unmatched right parenthesis in a regular expression to
323 Fix check for command line arguments to no longer require that
334 Added very simplistic support for cross-compiling in the
335 makefile. We are NOT going to go in the direction of the
341 bounds, a.k.a. repetition expressions) in regular expressions,
348 #12: Avoid undefined behaviour when using ctype(3) functions in
356 Make getline handle numeric strings properly in all cases.
366 Added test in maketab.c to prevent generating a proctab entry
371 Disallow '$' in printf formats; arguments evaluated in order
372 and printed in order.
388 3. space: Use provided xisblank() function instead of ispace() for
418 buffer overflow in error reporting; thanks to tobias ulmer
426 added ,NULL initializer to static Cells in run.c; not really
433 added __attribute__((__noreturn__)) to a couple of lines in
436 fixed obscure call by value bug in split(a[1],a) reported on
442 tiny fiddle in setfval to eliminate -0 results in T.expr, which
462 used as filenames (in lib.c).
465 totally so); turned on -fno-strict-aliasing in makefile.
480 in fldbld, by adding space for one extra \0. thanks to
488 fixed long-standing overflow bug in run.c; many thanks to
495 i give up. replaced isblank with isspace in b.c; there are
507 be the best way through the thicket. isblank arrived in C99,
512 fixed typo in b.c that set tmpvec wrongly. no one had ever
516 minor fix in lib.c: increase inputFS to 100, change malloc
519 fixed memory fault caused by out of order test in setsval.
524 fiddle in makefile to fix for BSD make; thanks to igor sobrado.
530 fixed a bug in matching the null RE in sub and gsub. thanks to al aho
531 who actually did the fix (in b.c), and to wolfgang seeberg for finding
534 fixed quotation in b.c; thanks to Hal Pratt and the Princeton Dante
537 removed some no-effect asserts in run.c.
544 fixed wording and an outright error in the usage message; thanks to igor
547 fixed a bug in -d that caused core dump if no program followed.
554 system() not flagged as unsafe in the unadvertised -safe option.
564 removed some #ifdef's in run.c and lex.c that appear to no
568 modified lib.c so that values of $0 et al are preserved in the END
573 fixed infinite loop in parsing, originally found by brian tsang.
578 prevent overflow of -f array in main, head off potential error in
579 call of SYNTAX(), test malloc return in lib.c, all with thanks to
594 fixed another 25-year-old RE bug, in split. it's another failure
599 fixed a bug in regular expressions that dates (so help me) from 1977;
603 this one but for providing a fix, in some of the most mysterious
606 fixed a storage leak in call() that appears to have been there since
607 1983 or so -- a function without an explicit return that assigns a
612 fixed, thanks to andrey chernov and ruslan ermilov, a bug in lex.c
613 that mis-handled the character 255 in input. (it was being compared
618 line state ^ for RE's in the set of valid characters; this led to a
620 regular expressions in non-US locales. thanks to ruslan for keeping
627 radix character in programs and command line arguments regardless of
631 i have rescinded the attempt to use strcoll in expanding shorthands in
633 surprising; for example [a-c] matches aAbBc in locale en_US but abBcC
634 in locale fr_CA. i can see how this might arise by implementation
636 in gawk as well; we're leaning on the same library.)
642 patterns of characters. in any case, the notations [:lower:], etc.,
643 are available in awk, and they are more likely to work correctly in
647 i apologize to friends and colleagues in other parts of the world.
652 fixed bug that permitted non-terminated RE, as in "awk /x".
659 added some parens to isblank, in another attempt to make things
664 reinstated. in theory awk will now do character comparisons
665 and case conversions in national language, but "." will always
670 in vc6++.
672 fixed subtle behavior in field and record splitting: if FS is
674 this tortuous reading is found in the awk book; behavior now
679 rolled back -- programs like x = 1.2 don't work in some locales,
684 modified b.c (with tiny changes in main and run) to support
687 the function isblank doesn't seem to have propagated to any
700 fixed subtle bug in format that could get core dump. thanks to
702 minor cleanup in run.c / format() at the same time.
713 reported by gcc's -Wwrite-strings. as it says in the gcc manual,
721 changed types in posix chars structure to quiet solaris cc.
742 fixed an appalling bug in gettok: any sequence of digits, +,-, E, e,
750 more (const char *) casts in b.c and tran.c to silence warnings.
753 fixed a bug introduced in august 1997 that caused expressions
761 close() is now a function. it returns whatever the library
766 permit \n explicitly in character classes; won't work right
767 if comes in as "[\n]" but ok as /[\n]/, because of multiple
771 minor fiddles in tran.c to keep compilers happy about uschar.
776 band-aid in b.c (member()), and some (uschar) casts to head
777 off potential errors in subscripts (like isdigit). also
785 fixed an 8-bit problem in b.c by making several char*'s into
790 finally found and fixed a memory leak in function call; it's
794 added test in envinit to catch environment "variables" with
798 added test in defn() to catch function foo(foo), which
803 added *bp in gettok in lex.c; appears possible to exit function
807 added function stdinit() to run to initialize files[] array,
808 in case stdin, etc., are not constants; some compilers care.
814 impetus, and for pointing out a string termination bug in
819 variable with value ending in \. (thanks to nelson beebe for
824 /=/ and similar constructs more sensibly in more places.
828 changed true/false to True/False in run.c to make it
831 ltype int to long in struct rrow to reduce some 64-bit
836 removed some horrible pointer-int casting in b.c and elsewhere
839 in 64-bit mode.
841 reset lineno for new source file; include filename in error
842 message. also fixed line number error in continuation lines.
858 fixed memory leaks in run.c (call) and tran.c (setfval).
862 replaced srand argument by (unsigned int) in run.c;
867 e.g., errorflag= in run.c jump().
879 fixed a couple of bugs in getrec: could fail to update $0
883 fixed caching bug in makedfa: LRU was actually removing
890 fixed potential bug in readrec: might fail to update record
900 subtle silent bug in lex.c: if the program ended with a number
907 s/adelete/awkdelete/: SGI uses this in malloc.h.
911 fixed some bugs in sub and gsub when replacement includes \\.
918 analyzer with one written in C. it's longer, generates less code,
920 properties of lex that were not preserved in other environments.
921 in theory these recognize the same language.
924 the convoluted original function. should be more portable and
927 removed now-pointless optimization in makefile that tries to avoid
935 fields and $0 in fixed-size arrays with arrays that grow on
950 falling off the end of a function returns "" and 0, not 0.
955 in run.c; added overflow tests to some previously unchecked cases.
958 getline code is still broken in that recursive calls may wind
967 a null byte in output. thanks to ken stailey for the fix.
976 fixed long-standing bug in sub, gsub(/a/, "\\\\&"); thanks to
980 fixed awful bug in new field splitting; didn't get all the places
991 fixed appalling but apparently unimportant bug in parsing octal
992 numbers in reg exprs.
994 explicit hex in reg exprs now limited to 2 chars: \xa, \xaa.
999 makefile now includes backup copies of ytab.c and lexyy.c in case
1011 in b.c where chars are used as table indices have been hand-crafted.
1019 enhanced split(), as in gawk, etc: split(s, a, "") splits s into
1024 added nextfile, as in gawk: causes immediate advance to next
1037 fixed call to time in run.c (bltin); arg is time_t *.
1039 replaced horrible pointer/long punning in b.c by a legitimate
1043 replaced nested comments by #if 0...#endif in run.c, lib.c.
1045 removed getsval, setsval, execute macros from run.c and lib.c.
1050 y.tab.[ch] => ytab.[ch], lex.yy.c => lexyy.c, all in the aid of
1057 initialized Cells in setsymtab more carefully; some fields
1061 fixed at least one error in gsub that looked at -1-th element
1076 detect duplicate arguments in function definitions (mdm).
1079 trivial fix to printf to limit string size in sub().
1094 added CONVFMT as in posix (just replaced OFMT in getsval)
1108 malloc returned NULL in all cases.
1119 added explicit check for /dev/std(in,out,err) in redirection.
1132 fixed storage leak in freefa, failing to recover [N]CCL.
1136 use RAND_MAX instead of literal in builtin().
1139 cranked up some fixed-size arrays in b.c, and added a test for
1140 overflow in penter. thanks to mark larsen.
1143 increased buffer in gsub. a very crude fix to a general problem.
1151 allow newline after ; in for statements.
1154 fixed so that in self-assignment like $1=$1, side effects
1168 fixed silly bug in hex parsing in hexstr().
1169 removed an apparently unnecessary test in isnumber().
1171 fixed unchecked array overwrite in relex().
1173 changed for (i in array) to access elements in sorted order.
1174 then unchanged it -- it really does run slower in too many cases.
1175 left the code in place, commented out.
1178 check error status on all writes, to avoid banging on full disks.
1184 failed to set numeric state on $0 in cmd|getline context in run.c.
1187 fixed sleazy test for integrality in getsval; use modf.
1190 fixed sleazy buggy code in lib.c that looked (incorrectly) for
1194 fixed the bug on p. 198 in which it couldn't deduce that an
1195 argument was an array in some contexts. replaced the error
1196 message in intest() by code that damn well makes it an array.
1199 fixed horrible bug: types and values were not preserved in
1200 some kinds of self-assignment. (in assign().)
1203 changed NCHARS to 256 to handle 8-bit characters in strings
1208 since cfoll() stores a pointer in it. now works better when int's
1218 Added \x to regular expressions (already in strings).
1220 Centralized the code for parsing escapes in regular expressions.
1224 fixed null pointer dereference bug in main.c: -F[nothing]. sigh.
1232 fix potential problem in tran.c -- something was freed,
1233 then used in freesymtab.
1239 small fix to input() in case of multiple reads after EOF.
1242 FILENAME is now defined in the BEGIN block -- too many old
1245 "-" means stdin in getline as well as on the commandline.
1258 var=something. (consider the man page for =, in file =.1)
1273 fixed ref-thru-zero bug in environment code in tran.c
1296 fixed a really stupid botch in the debugging macro dprintf
1319 as in ANSI, for strings. Rescinded the sloppiness that permitted
1320 non-octal digits in \ooo. Warning: not all compilers and libraries
1328 Catches some more commandline errors in main.
1329 Removed redundant decl of modf in run.c (confuses some compilers).
1330 Warning: there's no single declaration of malloc, etc., in awk.h
1346 Fixed bug in call() that failed to recover storage.
1349 in the call than in the definition (in lieu of fixing
1360 Fixed bug in call() that freed local arrays twice.
1366 Now guarantees to evaluate all arguments of built-in
1367 functions, as in C; the appearance is that arguments
1368 are evaluated before the function is called. Places
1370 all the built-in arithmetic functions in bltin().
1377 setting FILENAME in BEGIN caused core dump, apparently
1381 fixed egregious error in toupper/tolower functions.
1388 performance bug in b.c/cgoto(): not freeing some sets of states.
1393 check error status on close
1400 Removed limit on depth of function calls.
1403 Fixed lib.c to permit _ in commandline variable names.
1412 declarations within functions. Two extern declarations in
1413 lib.c and tran.c have been moved to obviate this problem.
1427 Can still get a core dump in printf itself.