[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gawk-diffs] [SCM] gawk branch, gawk-4.1-stable, updated. gawk-4.1.0-795
From: |
Arnold Robbins |
Subject: |
[gawk-diffs] [SCM] gawk branch, gawk-4.1-stable, updated. gawk-4.1.0-795-g2949f4b |
Date: |
Fri, 22 Jan 2016 06:29:10 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gawk".
The branch, gawk-4.1-stable has been updated
via 2949f4b38cc7ecc14dfca32cbb719e43e95aa940 (commit)
via daefaecbf36490f1c60b4030a489a157404fb8b3 (commit)
from 8b8f2c6bea47485f1278154228cd926f2fc6c040 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://git.sv.gnu.org/cgit/gawk.git/commit/?id=2949f4b38cc7ecc14dfca32cbb719e43e95aa940
commit 2949f4b38cc7ecc14dfca32cbb719e43e95aa940
Author: Arnold D. Robbins <address@hidden>
Date: Fri Jan 22 08:28:37 2016 +0200
Fix some Linux Mint compilation warnings and braino errors.
diff --git a/ChangeLog b/ChangeLog
index b298db9..005a51c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2016-01-22 Arnold D. Robbins <address@hidden>
+
+ * 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 <address@hidden>
* regex_internal.h [attribute_hidden]: Remove definition.
diff --git a/regex_internal.h b/regex_internal.h
index ff26be7..28b4239 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 8fe016a..74f1a5b 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;
http://git.sv.gnu.org/cgit/gawk.git/commit/?id=daefaecbf36490f1c60b4030a489a157404fb8b3
commit daefaecbf36490f1c60b4030a489a157404fb8b3
Author: Arnold D. Robbins <address@hidden>
Date: Fri Jan 22 08:23:39 2016 +0200
Edit vms/ChangeLog a bit.
diff --git a/vms/ChangeLog b/vms/ChangeLog
index 5e3ef29..ccf12fa 100644
--- a/vms/ChangeLog
+++ b/vms/ChangeLog
@@ -1,6 +1,7 @@
2016-01-21 John E. Malmberg <address@hidden>
- * 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 <address@hidden>
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 9 +++++++++
regex_internal.h | 4 ++--
regexec.c | 4 +---
vms/ChangeLog | 5 +++--
4 files changed, 15 insertions(+), 7 deletions(-)
hooks/post-receive
--
gawk
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gawk-diffs] [SCM] gawk branch, gawk-4.1-stable, updated. gawk-4.1.0-795-g2949f4b,
Arnold Robbins <=