diff options
author | delphij <delphij@FreeBSD.org> | 2007-06-08 05:44:12 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2007-06-08 05:44:12 +0000 |
commit | 99cd91d1e0ca51fa96f9b4e6b3d636589ff20fbb (patch) | |
tree | e54a1e8acb20c9f41f3b91e973f0891f7f055f9b /usr.bin/awk | |
parent | 1345f38e32c5638dadf5fd8919a4ca8b10852ba2 (diff) | |
download | FreeBSD-src-99cd91d1e0ca51fa96f9b4e6b3d636589ff20fbb.zip FreeBSD-src-99cd91d1e0ca51fa96f9b4e6b3d636589ff20fbb.tar.gz |
Increase inputFS buffer. awk will not accept some old scripts
otherwise.
Diffstat (limited to 'usr.bin/awk')
-rw-r--r-- | usr.bin/awk/lib.c.diff | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/usr.bin/awk/lib.c.diff b/usr.bin/awk/lib.c.diff index 040485a..5b654be 100644 --- a/usr.bin/awk/lib.c.diff +++ b/usr.bin/awk/lib.c.diff @@ -3,10 +3,19 @@ $FreeBSD$ Index: lib.c =================================================================== RCS file: /home/ncvs/src/contrib/one-true-awk/lib.c,v -retrieving revision 1.1.1.4 -diff -u -p -r1.1.1.4 lib.c ---- lib.c 16 May 2005 19:11:33 -0000 1.1.1.4 -+++ lib.c 15 Sep 2006 10:10:59 -0000 +retrieving revision 1.1.1.5 +diff -u -p -u -r1.1.1.5 lib.c +--- lib.c 5 Jun 2007 15:33:51 -0000 1.1.1.5 ++++ lib.c 8 Jun 2007 04:14:51 -0000 +@@ -40,7 +40,7 @@ char *fields; + int fieldssize = RECSIZE; + + Cell **fldtab; /* pointers to Cells */ +-char inputFS[10] = " "; ++char inputFS[100] = " "; + + #define MAXFLD 2 + int nfields = MAXFLD; /* last allocated slot for $i */ @@ -58,7 +58,7 @@ static Cell dollar1 = { OCELL, CFLD, NUL void recinit(unsigned int n) { |