diff options
-rw-r--r-- | ChangeLog | 9 | ||||
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | dfa.c | 6 | ||||
-rw-r--r-- | pc/ChangeLog | 5 | ||||
-rw-r--r-- | pc/Makefile | 6 | ||||
-rw-r--r-- | posix/ChangeLog | 5 | ||||
-rw-r--r-- | posix/gawkmisc.c | 1 | ||||
-rw-r--r-- | vms/ChangeLog | 5 | ||||
-rw-r--r-- | vms/descrip.mms | 7 | ||||
-rw-r--r-- | vms/vmsbuild.com | 7 |
10 files changed, 38 insertions, 15 deletions
@@ -1,3 +1,12 @@ +Mon Jun 20 20:22:35 2011 Arnold D. Robbins <arnold@skeeve.com> + + * dfa.c (setbit_c, setbit_case_fold_c): Compare btowc result against + WEOF. Thanks to Eli Zaretskii for pointing out the problem. + +Mon Jun 20 20:22:26 2011 Pat Rankin <rankin@pactechdata.com> + + * dfa.c (addtok_wc): enclose prototype within #if MBS_SUPPORT. + Fri Jun 17 11:09:22 2011 Arnold D. Robbins <arnold@skeeve.com> * Release 3.1.86: Final beta test tar ball for 4.0. @@ -71,7 +71,7 @@ Changes from 3.1.8 to 4.0.0 24. The option for raw sockets was removed, since it was never implemented. -25. Gawk not treats ranges of the form [d-h] as if they were in the C +25. Gawk now treats ranges of the form [d-h] as if they were in the C locale, no matter what kind of regexp is being used, and even if --posix. The latest POSIX standard allows this, and the documentation has been updated. Maybe this will stop all the questions about @@ -582,7 +582,7 @@ static void setbit_c (int b, charclass c) { /* Do nothing if b is invalid in this character set. */ - if (MB_CUR_MAX > 1 && btowc (b) == EOF) + if (MB_CUR_MAX > 1 && btowc (b) == WEOF) return; setbit (b, c); } @@ -601,7 +601,7 @@ setbit_case_fold_c (int b, charclass c) if (MB_CUR_MAX > 1) { wint_t wc = btowc (b); - if (wc == EOF) + if (wc == WEOF) return; setbit (b, c); if (case_fold && iswalpha (wc)) @@ -1451,7 +1451,9 @@ addtok_mb (token t, int mbprop) dfa->depth = depth; } +#if MBS_SUPPORT static void addtok_wc (wint_t wc); +#endif /* Add the given token to the parse tree, maintaining the depth count and updating the maximum depth if necessary. */ diff --git a/pc/ChangeLog b/pc/ChangeLog index 7f6b7105..919e8556 100644 --- a/pc/ChangeLog +++ b/pc/ChangeLog @@ -1,3 +1,8 @@ +Mon Jun 20 20:16:58 2011 Eli Zaretskii <eliz@gnu.org> + + * Makefile (LIBOBJS): Remove hard-locale$O. + (dfa$O): Remove hard-locale.h from prerequisites. + Sun Jun 5 21:47:33 2011 Scott Deifik <scottd.mail@sbcglobal.net> * Makefile.tst: Sync with mainline version. diff --git a/pc/Makefile b/pc/Makefile index a8c7c9b4..403a86ec 100644 --- a/pc/Makefile +++ b/pc/Makefile @@ -188,7 +188,7 @@ ALLOBJS = $(AWKOBJS) awkgram$O getid$O $(OBJ) # LIBOBJS # GNU and other stuff that gawk uses as library routines. -LIBOBJS= getopt$O getopt1$O dfa$O regex$O random$O hard-locale$O +LIBOBJS= getopt$O getopt1$O dfa$O regex$O random$O GAWKOBJS = $(ALLOBJS) $(LIBOBJS) PGAWKOBJS = $(PAWKOBJS1) $(PAWKOBJS2) $(LIBOBJS) awkgram$O getid$O $(OBJ) @@ -245,14 +245,12 @@ debug$O: floatmagic.h command$O debug$O: cmd.h -dfa$O: hard-locale.h xalloc.h +dfa$O: xalloc.h gawkmisc$O: pc/gawkmisc.pc getopt$O getopt1$O : getopt_int.h -hard-locale$O: hard-locale.h - io$O: popen.h regex$O: regcomp.c regexec.c regex_internal.h diff --git a/posix/ChangeLog b/posix/ChangeLog index fdc034ac..eae49b37 100644 --- a/posix/ChangeLog +++ b/posix/ChangeLog @@ -1,3 +1,8 @@ +Mon Jun 20 20:19:03 2011 Corinna Vinschen <vinschen@redhat.com> + + * gawkmisc.c: Add include of <windows.h> for Cygwin to + remove a compiler warning. + Mon May 2 23:38:06 2011 Corinna Vinschen <vinschen@redhat.com> * gawkmisc.c (cygwin_premain0): Use the real type for the secondnd diff --git a/posix/gawkmisc.c b/posix/gawkmisc.c index f4bbf66b..acc3c9d5 100644 --- a/posix/gawkmisc.c +++ b/posix/gawkmisc.c @@ -19,6 +19,7 @@ #ifdef __CYGWIN__ #include <stdio.h> +#include <windows.h> #include <sys/cygwin.h> #include <io.h> #endif diff --git a/vms/ChangeLog b/vms/ChangeLog index 9cb0bf64..bfbf759c 100644 --- a/vms/ChangeLog +++ b/vms/ChangeLog @@ -1,3 +1,8 @@ +Mon Jun 20 20:24:34 2011 Pat Rankin <rankin@pactechdata.com> + + * descrip.mms: Remove compilation of hard-locale.c. + * vmsbuild.com: Likewise. + Tue May 31 23:10:35 2011 Arnold D. Robbins <arnold@skeeve.com> * vmstest.com (regrange): New test. diff --git a/vms/descrip.mms b/vms/descrip.mms index 6496a416..076b94b4 100644 --- a/vms/descrip.mms +++ b/vms/descrip.mms @@ -104,7 +104,7 @@ PGAWKOBJ = eval_p.obj,profile_p.obj DGAWKOBJ = eval_d.obj,profile.obj,command.obj,debug.obj AWKOBJ1 = array.obj,awkgram.obj,builtin.obj,dfa.obj,ext.obj,\ field.obj,floatcomp.obj,gawkmisc.obj,getopt.obj,getopt1.obj,\ - hard-locale.obj,io.obj + io.obj AWKOBJ2 = main.obj,msg.obj,node.obj,random.obj,re.obj,\ regex.obj,replace.obj,version.obj AWKOBJS = $(AWKOBJ1),$(AWKOBJ2) @@ -118,7 +118,7 @@ VMSOBJS = $(VMSCODE),$(VMSCMD) # primary source files AWKSRC = array.c,builtin.c,dfa.c,eval.c,eval_p.c,ext.c,field.c,\ - floatcomp.c,gawkmisc.c,getopt.c,getopt1.c,hard-locale.c,io.c,main.c,\ + floatcomp.c,gawkmisc.c,getopt.c,getopt1.c,io.c,main.c,\ msg.c,node.c,profile.c,profile_p.c,random.c,re.c,regcomp.c,\ regex.c,regex_internal.c,regexec.c,replace.c,version.c @@ -223,8 +223,7 @@ $(DGAWKOBJ) : awk.h config.h $(VMSDIR)redirect.h random.obj : random.h builtin.obj : floatmagic.h random.h awkgram.obj : awkgram.c awk.h -dfa.obj : dfa.c dfa.h hard-locale.h -hard-locale.obj : hard-locale.c hard-locale.h +dfa.obj : dfa.c dfa.h regex.obj : regex.c regcomp.c regex_internal.c regexec.c regex.h regex_internal.h command.obj,debug.obj : cmd.h diff --git a/vms/vmsbuild.com b/vms/vmsbuild.com index 3e378e49..d3efc3b8 100644 --- a/vms/vmsbuild.com +++ b/vms/vmsbuild.com @@ -79,7 +79,6 @@ $ cc floatcomp.c $ cc gawkmisc.c $ cc getopt.c $ cc getopt1.c -$ cc hard-locale.c $ cc io.c $ cc main.c $ cc msg.c @@ -109,7 +108,7 @@ $ close/noLog Fopt $ create gawk.opt ! GAWK -- GNU awk array.obj,awkgram.obj,builtin.obj,dfa.obj,ext.obj,field.obj,floatcomp.obj -gawkmisc.obj,getopt.obj,getopt1.obj,hard-locale.obj,io.obj +gawkmisc.obj,getopt.obj,getopt1.obj,io.obj main.obj,msg.obj,node.obj random.obj,re.obj,regex.obj,replace.obj,version.obj,eval.obj,profile.obj []vms_misc.obj,vms_popen.obj,vms_fwrite.obj,vms_args.obj @@ -125,7 +124,7 @@ $! $ create pgawk.opt ! PGAWK -- GNU awk w/ run-time profiling array.obj,awkgram.obj,builtin.obj,dfa.obj,ext.obj,field.obj,floatcomp.obj -gawkmisc.obj,getopt.obj,getopt1.obj,hard-locale.obj,io.obj +gawkmisc.obj,getopt.obj,getopt1.obj,io.obj main.obj,msg.obj,node.obj random.obj,re.obj,regex.obj,replace.obj,version.obj,eval_p.obj,profile_p.obj []vms_misc.obj,vms_popen.obj,vms_fwrite.obj,vms_args.obj @@ -141,7 +140,7 @@ $! $ create dgawk.opt ! DGAWK -- GNU awk w/ debugging array.obj,awkgram.obj,builtin.obj,dfa.obj,ext.obj,field.obj,floatcomp.obj -gawkmisc.obj,getopt.obj,getopt1.obj,hard-locale.obj,io.obj +gawkmisc.obj,getopt.obj,getopt1.obj,io.obj main.obj,msg.obj,node.obj random.obj,re.obj,regex.obj,replace.obj,version.obj eval_d.obj,profile.obj,command.obj,debug.obj |