From 8b8f2c6bea47485f1278154228cd926f2fc6c040 Mon Sep 17 00:00:00 2001 From: John Malmberg Date: Thu, 21 Jan 2016 22:18:15 -0600 Subject: Remove hardcoded version from VMS build scripts --- vms/ChangeLog | 4 ++++ vms/descrip.mms | 4 ---- vms/vmsbuild.com | 18 ------------------ 3 files changed, 4 insertions(+), 22 deletions(-) diff --git a/vms/ChangeLog b/vms/ChangeLog index e951075a..5e3ef29d 100644 --- a/vms/ChangeLog +++ b/vms/ChangeLog @@ -1,3 +1,7 @@ +2016-01-21 John E. Malmberg + * descrip.mms and vmsbuild.com: remove the unused hand updated + version numbers. + 2016-01-10 John E. Malmberg * build_gawk_pcsi_desc.com: Better detection for VMS Software diff --git a/vms/descrip.mms b/vms/descrip.mms index 8b04e7f8..03edab73 100644 --- a/vms/descrip.mms +++ b/vms/descrip.mms @@ -120,10 +120,6 @@ VMSOBJS = $(VMSCODE),$(VMSCMD) DOCS= $(DOCDIR)gawk.1,$(DOCDIR)gawk.texi,$(DOCDIR)texinfo.tex -# Release of gawk -REL=4.1 -PATCHLVL=3 - # generic target all : gawk @ $(NOOP) diff --git a/vms/vmsbuild.com b/vms/vmsbuild.com index a43039ef..984b83f0 100644 --- a/vms/vmsbuild.com +++ b/vms/vmsbuild.com @@ -1,22 +1,4 @@ $! vmsbuild.com -- Commands to build GAWK Pat Rankin, Dec'89 -$! revised, Mar'90 -$! gawk 2.13 revised, Jun'91 -$! gawk 2.14 revised, Sep'92 -$! gawk 2.15 revised, Oct'93 -$! gawk 3.0 revised, Dec'95 -$! gawk 3.0.1 revised, Nov'96 -$! gawk 3.1.0 revised, Mar'01 -$! gawk 3.1.1 revised, Apr'02 -$! gawk 3.1.6 revised, Mar'07 -$! gawk-bytecode revd, Jan'10 -$! gawk 4.0.0 revd, May'11 -$! gawk 4.1.0 revd, May'13 -$! gawk 4.1.1 revd, Apr'14 -$! gawk 4.1.2 revd, Apr'15 -$! gawk 4.1.3 revd, May'15 -$! -$ REL = "4.1" !release version number -$ PATCHLVL = "3" $! $ if (f$getsyi("HW_MODEL") .lt. 1024) $ then -- cgit v1.2.3 From daefaecbf36490f1c60b4030a489a157404fb8b3 Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Fri, 22 Jan 2016 08:23:39 +0200 Subject: Edit vms/ChangeLog a bit. --- vms/ChangeLog | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/vms/ChangeLog b/vms/ChangeLog index 5e3ef29d..ccf12fa5 100644 --- a/vms/ChangeLog +++ b/vms/ChangeLog @@ -1,6 +1,7 @@ 2016-01-21 John E. Malmberg - * descrip.mms and vmsbuild.com: remove the unused hand updated - version numbers. + + * descrip.mms and vmsbuild.com: Remove the unused hand-updated + version numbers. 2016-01-10 John E. Malmberg -- cgit v1.2.3 From 2949f4b38cc7ecc14dfca32cbb719e43e95aa940 Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Fri, 22 Jan 2016 08:28:37 +0200 Subject: Fix some Linux Mint compilation warnings and braino errors. --- ChangeLog | 9 +++++++++ regex_internal.h | 4 ++-- regexec.c | 4 +--- 3 files changed, 12 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index b298db98..005a51c2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2016-01-22 Arnold D. Robbins + + * regexec.c (prune_impossible_nodes): Remove all attributes, on + both declaration and definition. Fixes a Linux Mint 17 compilation + braino reported by Antonio Colombo. + * regex_internal.h (test_malloc): Add cast to silence a warning + on the same system. + (test_realloc): Ditto. + 2016-01-20 Arnold D. Robbins * regex_internal.h [attribute_hidden]: Remove definition. diff --git a/regex_internal.h b/regex_internal.h index ff26be7b..28b4239e 100644 --- a/regex_internal.h +++ b/regex_internal.h @@ -471,7 +471,7 @@ test_malloc(size_t count, const char *file, size_t line) { if (count == 0) { fprintf(stderr, "%s:%lu: allocation of zero bytes\n", - file, line); + file, (unsigned long) line); exit(1); } return malloc(count); @@ -482,7 +482,7 @@ test_realloc(void *p, size_t count, const char *file, size_t line) { if (count == 0) { fprintf(stderr, "%s:%lu: reallocation of zero bytes\n", - file, line); + file, (unsigned long) line); exit(1); } return realloc(p, count); diff --git a/regexec.c b/regexec.c index 8fe016af..74f1a5b7 100644 --- a/regexec.c +++ b/regexec.c @@ -55,8 +55,7 @@ static int re_search_stub (struct re_pattern_buffer *bufp, int ret_len) internal_function; static unsigned re_copy_regs (struct re_registers *regs, regmatch_t *pmatch, int nregs, int regs_allocated) internal_function; -static reg_errcode_t prune_impossible_nodes (re_match_context_t *mctx) - internal_function; +static reg_errcode_t prune_impossible_nodes (re_match_context_t *mctx); static int check_matching (re_match_context_t *mctx, int fl_longest_match, int *p_match_first) internal_function; static int check_halt_state_context (const re_match_context_t *mctx, @@ -963,7 +962,6 @@ re_search_internal (preg, string, length, start, range, stop, nmatch, pmatch, } static reg_errcode_t -__attribute_warn_unused_result__ prune_impossible_nodes (re_match_context_t *mctx) { const re_dfa_t *const dfa = mctx->dfa; -- cgit v1.2.3