Commit Graph

24 Commits

Author SHA1 Message Date
joerg
c14f2d4ef8 Deal with optional HAVE_GCC. 2012-08-10 16:05:26 +00:00
christos
a08c0283e2 don't switch back LC_NUMERIC after parsing the command line, we always want
to format numbers in the C locale.
2012-03-12 18:17:12 +00:00
christos
7fffb381da PR/46155: Miguel Piñeiro Jr: Fix RS processing. Apply the gawk-like patch
from the excellent PR. Many thanks for all the work you put on this,
explanation, tests, and patch!
2012-03-10 19:18:48 +00:00
christos
070df59c8a - make decimal conversions use the maximum width integers available on the
architecture.
- make signed and unsigned code consistent.
2011-11-22 22:30:22 +00:00
joerg
ce5205bcbb Use __dead 2011-09-16 16:09:03 +00:00
christos
4036596c74 document non-literal format strings 2011-08-16 10:45:37 +00:00
joerg
d745f33bcc No longer needs -Wno-array-bounds with clang. 2011-08-09 13:06:31 +00:00
mrg
75e42fa7da remove most of the remaining HAVE_GCC tests that are always true in
the modern world.
2011-06-20 07:43:56 +00:00
christos
abe8ec29d9 Handle string concatenation in terms:
'{ print "foo" > "file" ".txt"; }',
2011-05-28 15:13:04 +00:00
joerg
a216da57a6 Default to -Wno-sign-compare -Wno-pointer-sign for clang.
Push -Wno-array-bounds down to the cases that depend on it.
Selectively disable warnings for 3rd party software or non-trivial
issues to be reviewed later to get clang -Werror to build most of the
tree.
2011-05-26 12:56:24 +00:00
drochner
eefdc5052a fix V->version flag 2011-04-20 10:10:32 +00:00
christos
305cf7b18b PR/44876: Aleksey Cheusov: awk: incorrect return value of function srand()
Make it return the value of the previous random seed as the standard mandates.
2011-04-18 15:23:28 +00:00
drochner
5a190aa53b fix bug introduced in rev. 1.3: need to set the string before
converting it into a numerical value, otherwise we might get junk or crash
2011-01-20 21:26:20 +00:00
drochner
7264233c30 avoid crash if certain operations are done before an input record is
read, ie in a BEGIN rule
2011-01-20 21:23:11 +00:00
mrg
d541f2b66d reinstall awk.texi. 2010-12-13 06:30:44 +00:00
christos
bc03f5ba09 Don't build awk.info because matt removed it. 2010-12-12 19:01:03 +00:00
christos
b080945e93 PR/44063: Aleksey Cheusov: awk: setting NF doesn't change $i
http://www.opengroup.org/onlinepubs/009695399/utilities/awk.html

    ...
    References to nonexistent fields (that is, fields after $NF),
    shall evaluate to the uninitialized value.
2010-11-07 22:55:26 +00:00
christos
897c4f3091 remove the unused MAX_PFILE define from Aleksey Cheusov. 2010-10-18 15:58:05 +00:00
christos
7aa51b5177 PR/43981: Aleksey Cheusov: awk too small limit on number -f options
remove the limit
should we pullup to 5.x?
2010-10-17 22:12:22 +00:00
christos
39562c1e23 fix botched merge. 2010-08-27 16:49:47 +00:00
christos
76c7995b12 Install in /usr/bin 2010-08-26 16:21:25 +00:00
christos
8317f6d887 awk glue 2010-08-26 14:57:15 +00:00
christos
5642d0040b Apply all our changes including newer fixes to WARNS?=4 2010-08-26 14:55:19 +00:00
christos
35f471cb95 imprort latest nawk 2010-08-26 14:53:14 +00:00