he
50d663aa6a
Add support for multibyte charsets in the "tolower" and "toupper" awk
...
functions. Code contributed by Aleksey Cheusov in PR#36394, and slightly
tweaked for closer-to-KNF conventions by me. Also slightly improved checks
of error returns.
2007-10-25 14:44:49 +00:00
apb
22d0439909
In setfval(), ensure that arithmetic never yields a negative zero
...
result. Now {echo | awk '{print -1 * 0}'} prints "0" instead of "-0".
Fixes PR 36831. Discussed in tech-userlevel.
2007-08-28 15:23:13 +00:00
christos
407a09df84
strdup/strlcat/snprintf changes from Aleksey Cheusov
2006-07-26 20:46:37 +00:00
christos
a674b513c2
Coverity CID 2738: When a symbol with a NULL name is passed, convert it to
...
the empty symbol.
2006-03-21 16:59:09 +00:00
christos
a1f97364cb
Coverity CID 862: Avoid NULL deref.
2006-03-18 22:37:16 +00:00
jdolecek
e2ba6dc38f
back-off 'use bounded string op' commit of 2003/08/13 - no real problem
...
has been fixed by it, but it introduced at least one bug
don't do any more of such gratuitous changes here, please
2005-07-03 15:18:11 +00:00
jdolecek
e6b9888ace
resolve conflicts
2005-07-02 20:10:34 +00:00
itojun
e1e0321817
use bounded string op
2003-08-13 02:51:20 +00:00
jdolecek
19de07894e
Merge nawk version 20030729 changes, and resolve conflicts.
2003-08-02 22:41:59 +00:00
jdolecek
e82124d4fa
adapt to NetBSD build environment, constify a little
2001-01-23 22:26:02 +00:00
jdolecek
adb545a48e
Import nawk 2000/11/15, try #2 .
...
This is the original New AWK from AT&T Labs as described in "The
AWK Programming Language", by Al Aho, Brian Kernighan, and Peter
Weinberger.
This would eventually replace gawk in our tree in future.
2001-01-23 22:14:07 +00:00