head 1.4; access; symbols OPENPKG_E1_MP_HEAD:1.3 OPENPKG_E1_MP:1.3 OPENPKG_E1_MP_2_STABLE:1.2.14.1 OPENPKG_E1_FP:1.2.14.1 OPENPKG_2_STABLE_MP:1.3 OPENPKG_2_STABLE_20061018:1.2.14.1 OPENPKG_2_STABLE_20060622:1.2 OPENPKG_2_STABLE:1.2.0.14 OPENPKG_2_STABLE_BP:1.2 OPENPKG_2_5_RELEASE:1.2 OPENPKG_2_5_SOLID:1.2.0.12 OPENPKG_2_5_SOLID_BP:1.2 OPENPKG_2_4_RELEASE:1.2 OPENPKG_2_4_SOLID:1.2.0.10 OPENPKG_2_4_SOLID_BP:1.2 OPENPKG_CW_FP:1.2 OPENPKG_2_3_RELEASE:1.2 OPENPKG_2_3_SOLID:1.2.0.8 OPENPKG_2_3_SOLID_BP:1.2 OPENPKG_2_2_RELEASE:1.2 OPENPKG_2_2_SOLID:1.2.0.6 OPENPKG_2_2_SOLID_BP:1.2 OPENPKG_2_1_RELEASE:1.2 OPENPKG_2_1_SOLID:1.2.0.4 OPENPKG_2_1_SOLID_BP:1.2 OPENPKG_2_0_RELEASE:1.2 OPENPKG_2_0_SOLID:1.2.0.2 OPENPKG_2_0_SOLID_BP:1.2 OPENPKG_1_3_RELEASE:1.1.2.1 OPENPKG_1_3_SOLID:1.1.2.1.0.2 OPENPKG_1_3_SOLID_BP:1.1.2.1 OPENPKG_1_STABLE:1.1.0.2 OPENPKG_1_STABLE_MP:1.1; locks; strict; comment @# @; 1.4 date 2007.10.25.16.22.25; author rse; state Exp; branches; next 1.3; commitid ZMX7u17thJx5vZCs; 1.3 date 2006.09.15.17.26.41; author rse; state Exp; branches; next 1.2; commitid 1tWo6DoGGq9gSWMr; 1.2 date 2003.09.03.17.53.52; author rse; state Exp; branches 1.2.14.1; next 1.1; 1.1 date 2003.03.17.08.59.49; author rse; state Exp; branches 1.1.2.1; next ; 1.2.14.1 date 2006.10.16.14.48.18; author rse; state Exp; branches; next ; commitid iZxwRSmmWscPXUQr; 1.1.2.1 date 2003.07.24.20.49.08; author rse; state Exp; branches; next ; desc @@ 1.4 log @upgrading package: awk 20070501 -> 20071023 @ text @Index: b.c --- b.c.orig 2005-02-08 20:21:44 +0100 +++ b.c 2006-09-15 19:24:23 +0200 @@@@ -720,7 +720,7 @@@@ #ifndef HAS_ISBLANK -int (isblank)(int c) +static int (awk_isblank)(int c) { return c==' ' || c=='\t'; } @@@@ -734,7 +734,7 @@@@ } charclasses[] = { { "alnum", 5, isalnum }, { "alpha", 5, isalpha }, - { "blank", 5, isblank }, + { "blank", 5, awk_isblank }, { "cntrl", 5, iscntrl }, { "digit", 5, isdigit }, { "graph", 5, isgraph }, @ 1.3 log @take over fix from FreeBSD port: fix off-by-one memory allocation error @ text @a21 12 Index: lib.c --- lib.c.orig 2005-04-24 20:37:01 +0200 +++ lib.c 2006-09-15 19:25:25 +0200 @@@@ -58,7 +58,7 @@@@ void recinit(unsigned int n) { if ( (record = (char *) malloc(n)) == NULL - || (fields = (char *) malloc(n)) == NULL + || (fields = (char *) malloc(n+1)) == NULL || (fldtab = (Cell **) malloc((nfields+1) * sizeof(Cell *))) == NULL || (fldtab[0] = (Cell *) malloc(sizeof(Cell))) == NULL ) FATAL("out of space for $0 and fields"); @ 1.2 log @upgrading package: awk 20030314 -> 20030731 @ text @d1 4 a4 3 --- b.c.orig Fri Mar 14 15:44:17 2003 +++ b.c Mon Mar 17 09:12:17 2003 @@@@ -722,7 +722,7 @@@@ d13 1 a13 1 @@@@ -736,7 +736,7 @@@@ d22 12 @ 1.2.14.1 log @Mass merge from CURRENT to 2-STABLE (all packages except those of JUNK class) @ text @d1 3 a3 4 Index: b.c --- b.c.orig 2005-02-08 20:21:44 +0100 +++ b.c 2006-09-15 19:24:23 +0200 @@@@ -720,7 +720,7 @@@@ d12 1 a12 1 @@@@ -734,7 +734,7 @@@@ a20 12 Index: lib.c --- lib.c.orig 2005-04-24 20:37:01 +0200 +++ lib.c 2006-09-15 19:25:25 +0200 @@@@ -58,7 +58,7 @@@@ void recinit(unsigned int n) { if ( (record = (char *) malloc(n)) == NULL - || (fields = (char *) malloc(n)) == NULL + || (fields = (char *) malloc(n+1)) == NULL || (fldtab = (Cell **) malloc((nfields+1) * sizeof(Cell *))) == NULL || (fldtab[0] = (Cell *) malloc(sizeof(Cell))) == NULL ) FATAL("out of space for $0 and fields"); @ 1.1 log @upgrading package: awk 20021213 -> 20030314 @ text @d7 2 a8 2 -int isblank(int c) +static int awk_isblank(int c) @ 1.1.2.1 log @mass Merge-From-CURRENT (MFC) in preparation for OpenPKG 1.3 [class PLUS only] @ text @@