Lines Matching +full:fixed +full:- +full:1 +full:- +full:8 +full:v

44 	discovered by todd miller. also use-after-free issue with
48 Various leaks and use-after-free issues plugged/fixed.
52 Memory leak when assigning a string to some of the built-in
57 Historic bug: command-line "name=value" assignment had been
62 Fixed file management memory leak that appears to have been
67 December 8, 2021:
79 call to adjbuf just above it only allows for 1 char. This can
83 As per IEEE Std 1003.1-2008, -F "str" is now consistent with
84 -v FS="str" when str is null. Thanks to Warner Losh.
91 Fix regular expression RS ^-anchoring. RS ^-anchoring needs to
119 December 8, 2020:
120 Merge PR #98: Disallow hex data. Allow only +nan, -nan,
121 +inf, -inf (case independent) to give NaN and infinity values.
144 In run.c, use non-restartable multibyte routines to attain
149 Merge PRs 88-91 which fix small bugs. Thanks to Todd Miller and
179 GitHub user enh-google for pointing it out. Closes Issue #79.
192 Fix for address sanitizer-found problem. Thanks to GitHub user
193 enh-google.
200 to use the -y flag to bison.
238 Further printf-related fixes for 32 bit systems.
241 December 8, 2019:
252 November 8, 2019:
253 Fix from Ori Bernstein to get UTF-8 characters instead of
278 -fsanitize=unknown. Thanks to Alexander Richardson (GitHub
286 Support POSIX-specified C-style escape sequences "\a" (alarm)
287 and "\v" (vertical tab) in command line arguments and regular
289 Apr 9, 1989. These now no longer match as literal "a" and "v"
295 Warner Losh's bsd-ota branch. The only user visible change
313 use-after-free bugs. Thanks to GitHub user Cody Mello (melloc)
330 for Android development. Thanks to GitHub user mohd-akram (Mohamed
334 Added very simplistic support for cross-compiling in the
336 autotools, though. Thanks to GitHub user nee-san for
340 Added support for POSIX-standard interval expressions (a.k.a.
342 backported (via NetBSD) from Apple awk-24 (20070501).
352 #32: maketab: support build systems with read-only source. Thanks
363 PR numbers: 13-21, 23, 24, 27.
381 1. ofs-rebuild: OFS value used to rebuild the record was incorrect.
382 Fixed August 19, 2014. Revised fix August 2018.
384 2. system-status: Instead of a floating-point division by 256, use
386 Fixed March 12, 2016.
391 4. a-format: Add POSIX standard %a and %A to supported formats. Check
394 5. decr-NF: Decrementing NF did not change $0. This is a decades-old
398 6. string-conv: String conversions of scalars were sticky. Once a
403 7. unary-plus: Unary plus on a string constant returned the string.
409 fixed mangled awktest.tar (thanks, Arnold), posted all
419 and john-mark gurney for spotting it and the fix.
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
455 added checks to new -v code that permits -vnospace; thanks to
458 removed fixed limit on number of open files; thanks to aleksey
461 fixed day 1 bug that resurrected deleted elements of ARGV when
464 minor type fiddles to make gcc -Wall -pedantic happier (but not
465 totally so); turned on -fno-strict-aliasing in makefile.
469 now allows -ffoo as well as -f foo arguments.
472 May 1, 2011:
475 seed (which is 1 on the first call of srand). the seed is
479 fixed a subtle (and i hope low-probability) overflow error
488 fixed long-standing overflow bug in run.c; many thanks to
491 fixed bug that didn't parse -vd=1 properly; thanks to santiago
494 Feb 8, 2010:
499 fixed a long-standing issue with when FS takes effect. a
511 Oct 8, 2008:
512 fixed typo in b.c that set tmpvec wrongly. no one had ever
517 for fields to n+1.
519 fixed memory fault caused by out of order test in setsval.
523 May 1, 2007:
527 fixed some null pointer refs calling adjbuf.
530 fixed a bug in matching the null RE in sub and gsub. thanks to al aho
534 fixed quotation in b.c; thanks to Hal Pratt and the Princeton Dante
537 removed some no-effect asserts in run.c.
539 fiddled maketab.c to not complain about bison-generated values.
541 removed the obsolete -V argument; fixed --version to print the
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.
549 Jan 1, 2007:
550 dropped mac.code from makefile; there are few non-MacOSX
554 system() not flagged as unsafe in the unadvertised -safe option.
558 removed the 9-years-obsolete -mr and -mf flags.
560 added -version and --version options.
562 core dump on linux with BEGIN {nextfile}, now fixed.
573 fixed infinite loop in parsing, originally found by brian tsang.
578 prevent overflow of -f array in main, head off potential error in
588 fixed a couple of overflow problems with ridiculous field numbers:
589 e.g., print $(2^32-1). thanks to ruslan ermilov, giorgos keramidas
591 be re-done from scratch.
594 fixed another 25-year-old RE bug, in split. it's another failure
595 to (re-)initialize. thanks to steve fisher for spotting this and
599 fixed a bug in regular expressions that dates (so help me) from 1977;
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
617 fixed (i think) the long-standing botch that included the beginning of
620 regular expressions in non-US locales. thanks to ruslan for keeping
624 n-th try at getting internationalization right, with thanks to volker
633 surprising; for example [a-c] matches aAbBc in locale en_US but abBcC
652 fixed bug that permitted non-terminated RE, as in "awk /x".
654 Jun 1, 2003:
672 fixed subtle behavior in field and record splitting: if FS is
679 rolled back -- programs like x = 1.2 don't work in some locales,
680 because the parser is expecting x = 1,2. until i understand this
689 tested on non-ascii character sets by me.
694 number->string conversions, as promised by posix and done by
700 fixed subtle bug in format that could get core dump. thanks to
709 dag-erling smorgrav, des@ofug.org). subject to reversion if
712 pervasive small changes to make things more const-correct, as
713 reported by gcc's -Wwrite-strings. as it says in the gcc manual,
723 Jan 1, 2002:
734 which are not exactly shorter than [0-9] and perhaps no more
735 portable. thanks to dag-erling smorgrav for code.
738 removed -m option; no longer needed, and it was actually
742 fixed an appalling bug in gettok: any sequence of digits, +,-, E, e,
746 other 1-character botches, now fixed, include a bare $ and a
753 fixed a bug introduced in august 1997 that caused expressions
754 like $f[1] to be syntax errors. thanks to arnold robbins for
758 fixed some nextfile bugs: not handling all cases. thanks to
762 fclose returns, and -1 for closing a file or pipe that wasn't
775 yet another attempt at making 8-bit input work, with another
776 band-aid in b.c (member()), and some (uschar) casts to head
778 changed HAT to NCHARS-2. thanks again to santiago vila.
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
813 fixed-size errbuf array. thanks to ralph corderoy for the
818 fixed bug that caused occasional core dumps with commandline
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
838 all benign. fixed one incipient bug that showed up on sgi
839 in 64-bit mode.
842 message. also fixed line number error in continuation lines.
858 fixed memory leaks in run.c (call) and tran.c (setfval).
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
895 added -V to print version number and die.
901 longer than 1 digit, part of the input would be pushed back and
911 fixed some bugs in sub and gsub when replacement includes \\.
917 somewhat regretfully, replaced the ancient lex-based lexical
927 removed now-pointless optimization in makefile that tries to avoid
930 removed most fixed-size arrays, though a handful remain, some
935 fields and $0 in fixed-size arrays with arrays that grow on
939 the ill-conceived -mr and -mf arguments are now useful only
946 fixed-size arrays and awkward kludges by a fairly uniform mechanism
954 replaced several fixed-size arrays by dynamically-created ones
959 up using the same space. [fixed later]
969 added a "-safe" argument that disables file output (print >,
975 Jul 8, 1996:
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
984 changed field-splitting to conform to posix definition: fields are
991 fixed appalling but apparently unimportant bug in parsing octal
997 cleaned up some declarations so gcc -Wall is now almost silent.
1004 with unwisely-written header files.
1011 in b.c where chars are used as table indices have been hand-crafted.
1012 added some latin-1 tests to the regression, but i'm not confident;
1020 a[1]...a[length(s)] with each character a single element.
1022 made the same changes for field-splitting if FS is "".
1029 everything; [z-a] is now empty, not z. far from complete
1037 fixed call to time in run.c (bltin); arg is time_t *.
1040 union. should be safer on 64-bit machines and cleaner everywhere.
1061 fixed at least one error in gsub that looked at -1-th element
1082 fixed yet another subtle self-assignment problem:
1083 $1 = $2; $1 = $1 clobbered $1.
1104 added -mr N and -mf N options: more record and fields.
1114 remove redundant close of stdin when using -f -.
1116 got rid of core dump with -d; awk -d just prints date.
1129 die-casting time: converted to ansi C, installed that.
1132 fixed storage leak in freefa, failing to recover [N]CCL.
1139 cranked up some fixed-size arrays in b.c, and added a test for
1154 fixed so that in self-assignment like $1=$1, side effects
1158 better test for detecting too-long output record.
1168 fixed silly bug in hex parsing in hexstr().
1171 fixed unchecked array overwrite in relex().
1174 then unchanged it -- it really does run slower in too many cases.
1181 awk -f - reads the program from stdin.
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
1198 Oct 8, 1990:
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
1212 AVA fixed the grammar so that ! is uniformly of the same precedence as
1213 unary + and -. This renders illegal some constructs like !x=y, which
1215 !x+y is (!x)+y, and x!y is x !y, not two pattern-action statements.
1219 Limited octal to octal digits; \8 and \9 are not octal.
1224 fixed null pointer dereference bug in main.c: -F[nothing]. sigh.
1232 fix potential problem in tran.c -- something was freed,
1237 relatively machine-independent code.
1242 FILENAME is now defined in the BEGIN block -- too many old
1245 "-" means stdin in getline as well as on the commandline.
1257 fixed bug: commandline variable assignment has to look like
1258 var=something. (consider the man page for =, in file =.1)
1264 restored -F (space) separator
1267 added -v x=1 y=2 ... for immediate commandline variable assignment;
1270 Modified Aug 2 to require a separate -v for each assignment.
1273 fixed ref-thru-zero bug in environment code in tran.c
1290 ENVIRON array contains environment: if shell variable V=thing,
1291 ENVIRON["V"] is "thing"
1293 multiple -f arguments permitted. error reporting is naive.
1296 fixed a really stupid botch in the debugging macro dprintf
1298 fixed order of evaluation of commandline assignments to match
1301 this invalidates the suggested answer to ex 4-1 (p 195).
1303 removed some code that permitted -F (space) fieldseparator,
1315 prevents class of overwriting-a-constant errors. (Last one?)
1318 Added \a ("alert"), \v (vertical tab), \xhhh (hexadecimal),
1320 non-octal digits in \ooo. Warning: not all compilers and libraries
1324 Fixed bug that caused tempcell list to contain a duplicate.
1339 multiple pattern-action statements on one line without
1346 Fixed bug in call() that failed to recover storage.
1353 Fixed %c: if expr is numeric, use numeric value;
1354 otherwise print 1st char of string value. still
1355 doesn't work if the value is 0 -- won't print \0.
1360 Fixed bug in call() that freed local arrays twice.
1362 Fixed to handle deletion of non-existent array right;
1363 complains about attempt to delete non-array element.
1366 Now guarantees to evaluate all arguments of built-in
1370 all the built-in arithmetic functions in bltin().
1381 fixed egregious error in toupper/tolower functions.
1392 June 1, 1988:
1397 see 1/18/90
1403 Fixed lib.c to permit _ in commandline variable names.
1406 main.c fixed to recognize -- as terminator of command-
1420 Error-message printer had printf(s) instead of
1426 fixed aprintf, asprintf, format to catch them.