For about a day, a version of gawk 3.0.4 was available on gnudist.gnu.org but was unannounced. It turns out this version had a bug that only manifested with egcs 2.91.66, under Redhat Linux 6.0. This has been fixed in the real release. If you grabbed that version, here is a small patch file that will bring you up to date. You're probably better though just regrabbing the whole distribution. Arnold Robbins arnold@gnu.org ----------------- cut here, feed to patch -p1 ----------------- diff -crN gawk-3.0.4-pre/ChangeLog gawk-3.0.4/ChangeLog *** gawk-3.0.4-pre/ChangeLog Sun Jun 27 12:28:52 1999 --- gawk-3.0.4/ChangeLog Wed Jun 30 16:15:06 1999 *************** *** 1,6 **** ! Sun Jun 27 12:28:09 1999 Arnold D. Robbins ! * Release 3.0.4: Release tar file made. Wed Jun 9 11:39:19 1999 Paul Eggert --- 1,15 ---- ! Wed Jun 30 16:14:36 1999 Arnold D. Robbins ! * Release 3.0.4: Release tar file made. This time for sure. ! ! Wed Jun 30 16:10:11 1999 Arnold D. Robbins ! ! * awk.h: add include of , and comment about config.h ! having to be included before any system headers. Otherwise, ! with egcs-2.91.66 and later on Linux systems, and possibly ! others, things break badly, due to the LFS macros. ! * awk.y, builtin.c, eval.c, field.c, io.c: removed include ! of assert.h Wed Jun 9 11:39:19 1999 Paul Eggert diff -crN gawk-3.0.4-pre/atari/ChangeLog gawk-3.0.4/atari/ChangeLog *** gawk-3.0.4-pre/atari/ChangeLog Sun Jun 27 12:30:25 1999 --- gawk-3.0.4/atari/ChangeLog Wed Jun 30 16:15:17 1999 *************** *** 1,6 **** ! Sun Jun 27 12:28:09 1999 Arnold D. Robbins ! * Release 3.0.4: Release tar file made. Thu May 15 12:49:08 1997 Arnold D. Robbins --- 1,6 ---- ! Wed Jun 30 16:14:36 1999 Arnold D. Robbins ! * Release 3.0.4: Release tar file made. This time for sure. Thu May 15 12:49:08 1997 Arnold D. Robbins diff -crN gawk-3.0.4-pre/awk.h gawk-3.0.4/awk.h *** gawk-3.0.4-pre/awk.h Wed Apr 28 17:10:08 1999 --- gawk-3.0.4/awk.h Wed Jun 30 16:06:13 1999 *************** *** 25,30 **** --- 25,38 ---- /* ------------------------------ Includes ------------------------------ */ + /* + * config.h absolutely, positively, *M*U*S*T* be included before + * any system headers. Otherwise, extreme death, destruction + * and loss of life results. + * + * Well, OK, gawk just won't work on systems using egcs and LFS. But + * that's almost as bad. + */ #ifdef HAVE_CONFIG_H #include #endif *************** *** 34,39 **** --- 42,48 ---- #endif /* _GNU_SOURCE */ #include + #include #ifdef HAVE_LIMITS_H #include #endif /* HAVE_LIMITS_H */ diff -crN gawk-3.0.4-pre/awk.y gawk-3.0.4/awk.y *** gawk-3.0.4-pre/awk.y Sun May 16 14:07:56 1999 --- gawk-3.0.4/awk.y Wed Jun 30 16:06:24 1999 *************** *** 28,34 **** #define YYDEBUG 12 #endif - #include #include "awk.h" #define CAN_FREE TRUE --- 28,33 ---- diff -crN gawk-3.0.4-pre/awklib/ChangeLog gawk-3.0.4/awklib/ChangeLog *** gawk-3.0.4-pre/awklib/ChangeLog Sun Jun 27 12:30:39 1999 --- gawk-3.0.4/awklib/ChangeLog Wed Jun 30 16:15:27 1999 *************** *** 1,6 **** ! Sun Jun 27 12:28:09 1999 Arnold D. Robbins ! * Release 3.0.4: Release tar file made. Thu May 15 12:49:08 1997 Arnold D. Robbins --- 1,6 ---- ! Wed Jun 30 16:14:36 1999 Arnold D. Robbins ! * Release 3.0.4: Release tar file made. This time for sure. Thu May 15 12:49:08 1997 Arnold D. Robbins diff -crN gawk-3.0.4-pre/builtin.c gawk-3.0.4/builtin.c *** gawk-3.0.4-pre/builtin.c Tue May 25 16:52:57 1999 --- gawk-3.0.4/builtin.c Wed Jun 30 16:06:45 1999 *************** *** 25,31 **** #include "awk.h" - #include #undef HUGE #undef CHARBITS #undef INTBITS --- 25,30 ---- diff -crN gawk-3.0.4-pre/doc/ChangeLog gawk-3.0.4/doc/ChangeLog *** gawk-3.0.4-pre/doc/ChangeLog Sun Jun 27 12:29:02 1999 --- gawk-3.0.4/doc/ChangeLog Wed Jun 30 16:15:09 1999 *************** *** 1,6 **** ! Sun Jun 27 12:28:09 1999 Arnold D. Robbins ! * Release 3.0.4: Release tar file made. Wed Oct 7 21:59:33 1998 Arnold D. Robbins --- 1,6 ---- ! Wed Jun 30 16:14:36 1999 Arnold D. Robbins ! * Release 3.0.4: Release tar file made. This time for sure. Wed Oct 7 21:59:33 1998 Arnold D. Robbins diff -crN gawk-3.0.4-pre/eval.c gawk-3.0.4/eval.c *** gawk-3.0.4-pre/eval.c Mon May 3 13:16:18 1999 --- gawk-3.0.4/eval.c Wed Jun 30 16:07:12 1999 *************** *** 25,32 **** #include "awk.h" - #include - extern double pow P((double x, double y)); extern double modf P((double x, double *yp)); extern double fmod P((double x, double y)); --- 25,30 ---- diff -crN gawk-3.0.4-pre/field.c gawk-3.0.4/field.c *** gawk-3.0.4-pre/field.c Wed Apr 28 17:11:12 1999 --- gawk-3.0.4/field.c Wed Jun 30 16:07:32 1999 *************** *** 24,30 **** */ #include "awk.h" - #include typedef void (* Setfunc) P((long, char *, long, NODE *)); --- 24,29 ---- diff -crN gawk-3.0.4-pre/io.c gawk-3.0.4/io.c *** gawk-3.0.4-pre/io.c Wed Jun 9 11:28:40 1999 --- gawk-3.0.4/io.c Wed Jun 30 16:08:17 1999 *************** *** 49,56 **** #define O_ACCMODE (O_RDONLY|O_WRONLY|O_RDWR) #endif - #include - #if ! defined(S_ISREG) && defined(S_IFREG) #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) #endif --- 49,54 ---- diff -crN gawk-3.0.4-pre/pc/ChangeLog gawk-3.0.4/pc/ChangeLog *** gawk-3.0.4-pre/pc/ChangeLog Sun Jun 27 12:30:08 1999 --- gawk-3.0.4/pc/ChangeLog Wed Jun 30 16:15:12 1999 *************** *** 1,6 **** ! Sun Jun 27 12:28:09 1999 Arnold D. Robbins ! * Release 3.0.4: Release tar file made. Sun Jun 27 12:27:00 1999 Darrel Hankerson --- 1,6 ---- ! Wed Jun 30 16:14:36 1999 Arnold D. Robbins ! * Release 3.0.4: Release tar file made. This time for sure. Sun Jun 27 12:27:00 1999 Darrel Hankerson diff -crN gawk-3.0.4-pre/posix/ChangeLog gawk-3.0.4/posix/ChangeLog *** gawk-3.0.4-pre/posix/ChangeLog Sun Jun 27 12:30:36 1999 --- gawk-3.0.4/posix/ChangeLog Wed Jun 30 16:15:24 1999 *************** *** 1,6 **** ! Sun Jun 27 12:28:09 1999 Arnold D. Robbins ! * Release 3.0.4: Release tar file made. Thu May 15 12:49:08 1997 Arnold D. Robbins --- 1,6 ---- ! Wed Jun 30 16:14:36 1999 Arnold D. Robbins ! * Release 3.0.4: Release tar file made. This time for sure. Thu May 15 12:49:08 1997 Arnold D. Robbins diff -crN gawk-3.0.4-pre/test/ChangeLog gawk-3.0.4/test/ChangeLog *** gawk-3.0.4-pre/test/ChangeLog Sun Jun 27 13:34:19 1999 --- gawk-3.0.4/test/ChangeLog Wed Jun 30 16:16:02 1999 *************** *** 1,6 **** ! Sun Jun 27 12:28:09 1999 Arnold D. Robbins ! * Release 3.0.4: Release tar file made. Tue May 25 16:37:50 1999 Arnold D. Robbins --- 1,6 ---- ! Wed Jun 30 16:14:36 1999 Arnold D. Robbins ! * Release 3.0.4: Release tar file made. This time for sure. Tue May 25 16:37:50 1999 Arnold D. Robbins diff -crN gawk-3.0.4-pre/vms/ChangeLog gawk-3.0.4/vms/ChangeLog *** gawk-3.0.4-pre/vms/ChangeLog Sun Jun 27 12:30:32 1999 --- gawk-3.0.4/vms/ChangeLog Wed Jun 30 16:15:20 1999 *************** *** 1,6 **** ! Sun Jun 27 12:28:09 1999 Arnold D. Robbins ! * Release 3.0.4: Release tar file made. Fri May 7 20:29:04 1999 Pat Rankin --- 1,6 ---- ! Wed Jun 30 16:14:36 1999 Arnold D. Robbins ! * Release 3.0.4: Release tar file made. This time for sure. Fri May 7 20:29:04 1999 Pat Rankin