gawk-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gawk-diffs] [SCM] gawk branch, master, updated. gawk-4.1.0-2404-g35c461


From: Arnold Robbins
Subject: [gawk-diffs] [SCM] gawk branch, master, updated. gawk-4.1.0-2404-g35c461c
Date: Thu, 19 Jan 2017 04:09:00 +0000 (UTC)

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, master has been updated
       via  35c461c3b2c9cc56e22a5360c36b5e6dc9fccd28 (commit)
      from  f7d8956c4fd8324667060933c2c30112e6c80507 (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=35c461c3b2c9cc56e22a5360c36b5e6dc9fccd28

commit 35c461c3b2c9cc56e22a5360c36b5e6dc9fccd28
Author: Arnold D. Robbins <address@hidden>
Date:   Thu Jan 19 06:08:12 2017 +0200

    Sync support with GNULIB, fix a dfa memory leak.

diff --git a/support/ChangeLog b/support/ChangeLog
index e3af142..027b6db 100644
--- a/support/ChangeLog
+++ b/support/ChangeLog
@@ -1,3 +1,9 @@
+2017-01-19         Arnold D. Robbins     <address@hidden>
+
+       * localeinfo.h: Sync with GNULIB.
+       * localeinfo.c: Ditto.
+       * dfa.c: Ditto, to fix a memory leak.
+
 2017-01-16         Arnold D. Robbins     <address@hidden>
 
        * dfa.c: Sync with GNULIB.
diff --git a/support/dfa.c b/support/dfa.c
index eb8e213..ad5b3a4 100644
--- a/support/dfa.c
+++ b/support/dfa.c
@@ -2309,6 +2309,7 @@ epsclosure (position_set *initial, struct dfa const *d)
 
         replace (initial, i, &d->follows[i], constraint, &tmp);
       }
+  free (tmp.elems);
 }
 
 /* Returns the set of contexts for which there is at least one
diff --git a/support/localeinfo.c b/support/localeinfo.c
index ca96afc..ece679e 100644
--- a/support/localeinfo.c
+++ b/support/localeinfo.c
@@ -1,6 +1,6 @@
 /* locale information
 
-   Copyright 2016 Free Software Foundation, Inc.
+   Copyright 2016-2017 Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -90,10 +90,10 @@ verify (1 + 1 + sizeof lonesome_lower / sizeof 
*lonesome_lower
 
 /* Find the characters equal to C after case-folding, other than C
    itself, and store them into FOLDED.  Return the number of characters
-   stored.  */
+   stored; this is zero if C is WEOF.  */
 
 int
-case_folded_counterparts (wchar_t c, wchar_t folded[CASE_FOLDED_BUFSIZE])
+case_folded_counterparts (wint_t c, wchar_t folded[CASE_FOLDED_BUFSIZE])
 {
   int i;
   int n = 0;
diff --git a/support/localeinfo.h b/support/localeinfo.h
index cf2f9a6..a6773f5 100644
--- a/support/localeinfo.h
+++ b/support/localeinfo.h
@@ -1,6 +1,6 @@
 /* locale information
 
-   Copyright 2016 Free Software Foundation, Inc.
+   Copyright 2016-2017 Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -51,4 +51,4 @@ extern void init_localeinfo (struct localeinfo *);
    itself.  This is a generous upper bound.  */
 enum { CASE_FOLDED_BUFSIZE = 32 };
 
-extern int case_folded_counterparts (wchar_t, wchar_t[CASE_FOLDED_BUFSIZE]);
+extern int case_folded_counterparts (wint_t, wchar_t[CASE_FOLDED_BUFSIZE]);

-----------------------------------------------------------------------

Summary of changes:
 support/ChangeLog    |    6 ++++++
 support/dfa.c        |    1 +
 support/localeinfo.c |    6 +++---
 support/localeinfo.h |    4 ++--
 4 files changed, 12 insertions(+), 5 deletions(-)


hooks/post-receive
-- 
gawk



reply via email to

[Prev in Thread] Current Thread [Next in Thread]