gawk-diffs
[Top][All Lists]
Advanced

[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-511


From: Arnold Robbins
Subject: [gawk-diffs] [SCM] gawk branch, gawk-4.1-stable, updated. gawk-4.1.0-511-ge9f1827
Date: Fri, 21 Nov 2014 08:41:33 +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  e9f1827fcd3a45cbf5a6df93d9e177e3151e1f56 (commit)
       via  d8035c3f7d40d741d7be27e323dcad5757a32759 (commit)
       via  2ef8920a5dfb2d1975deecb83e8239d90a58600c (commit)
      from  e13c76601a232b24c99a452d8f3403f87f069c22 (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=e9f1827fcd3a45cbf5a6df93d9e177e3151e1f56

commit e9f1827fcd3a45cbf5a6df93d9e177e3151e1f56
Author: Arnold D. Robbins <address@hidden>
Date:   Fri Nov 21 10:40:56 2014 +0200

    Update id test in pc/Makefile.tst.

diff --git a/pc/ChangeLog b/pc/ChangeLog
index 03159c1..218621e 100644
--- a/pc/ChangeLog
+++ b/pc/ChangeLog
@@ -1,3 +1,7 @@
+2014-11-21         Arnold D. Robbins     <address@hidden>
+
+       * Makefile.tst (id): Add an 'expect to fail for DJGPP' message.
+
 2014-11-13         Scott Deifik  <address@hidden>
 
        * Makefile.tst: Sync with mainline.
diff --git a/pc/Makefile.tst b/pc/Makefile.tst
index 8ab1598..79d01ad 100644
--- a/pc/Makefile.tst
+++ b/pc/Makefile.tst
@@ -2259,6 +2259,7 @@ icasers:
 
 id:
        @echo $@
+       @echo Expect id to fail with DJGPP.
        @AWKPATH="$(srcdir)" $(AWK) -f address@hidden  >_$@ 2>&1 || echo EXIT 
CODE: $$? >>_$@
        @-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
 

http://git.sv.gnu.org/cgit/gawk.git/commit/?id=d8035c3f7d40d741d7be27e323dcad5757a32759

commit d8035c3f7d40d741d7be27e323dcad5757a32759
Author: Arnold D. Robbins <address@hidden>
Date:   Fri Nov 21 10:39:53 2014 +0200

    Some minor cleanups.

diff --git a/ChangeLog b/ChangeLog
index bf1461d..a053ca6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2014-11-21         Arnold D. Robbins     <address@hidden>
+
+       * main.c: Remove a debugging // comment.
+       * NOTES: Removed.
+
 2014-11-20  Paul Eggert  <address@hidden>
 
        Port to systems where malloc (0) and/or realloc(P, 0) returns NULL.
diff --git a/NOTES b/NOTES
deleted file mode 100644
index f7dee5c..0000000
--- a/NOTES
+++ /dev/null
@@ -1,26 +0,0 @@
-Page 18. OK to move the sidebar although having it at the opening
-is sort of like the opening quotes I have in other places; it's meant
-to be humorous.
-
-Page 10 - references to 'Chapter 10' and 'Chapter 11' have been left
-alone since they are links and I can't do it that way in texinfo anyway.
-
-Appendices vs. Appendixes:  I have left it as the former; the latter
-looks totally wrong to me.
-
-Numbers: I use the style where values from zero to nine are spelled
-out and from 10 up they're written with digits. (I forget what the
-Chicago Manual of Style calls this.) So I've rejected those changes.
-
-C heads - I have not lowercased them; this would be incorrect
-for the Texinfo, so I've marked them as Rejected but with a reply
-in the PDF to please do this during production.
-
-Literal layout blocks not being indented - I used literal layout to get
-the brackets, which indicate optional stuff, in Roman.  I think that if you
-simply fix the style sheets to indent those blocks, we should be in better
-shape.
-
-ADD STUFF ON danfuzz repo.
-
-At page 482.
diff --git a/main.c b/main.c
index ddda1d6..1323330 100644
--- a/main.c
+++ b/main.c
@@ -492,8 +492,7 @@ main(int argc, char **argv)
        if (use_lc_numeric)
                setlocale(LC_NUMERIC, locale);
 #endif
-// fprintf(stderr, "locale is <%s>\n", locale); fflush(stderr);
-       
+
        init_io();
        output_fp = stdout;
 

http://git.sv.gnu.org/cgit/gawk.git/commit/?id=2ef8920a5dfb2d1975deecb83e8239d90a58600c

commit 2ef8920a5dfb2d1975deecb83e8239d90a58600c
Author: Arnold D. Robbins <address@hidden>
Date:   Fri Nov 21 10:25:23 2014 +0200

    Update to xalloc.

diff --git a/ChangeLog b/ChangeLog
index fddd287..bf1461d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2014-11-20  Paul Eggert  <address@hidden>
+
+       Port to systems where malloc (0) and/or realloc(P, 0) returns NULL.
+       * gawkmisc.c (xmalloc):
+       * xalloc.h (realloc):
+       Do not fail if malloc(0) or realloc(P, 0) returns NULL.
+       Fail only when the allocator returns null when attempting to
+       allocate a nonzero number of bytes.
+
 2014-11-19         Arnold D. Robbins     <address@hidden>
 
        Infrastructure upgrades:
diff --git a/gawkmisc.c b/gawkmisc.c
index a729d88..fff5cc5 100644
--- a/gawkmisc.c
+++ b/gawkmisc.c
@@ -51,7 +51,8 @@ extern pointer xmalloc(size_t bytes); /* get rid of gcc 
warning */
 pointer
 xmalloc(size_t bytes)
 {
-       pointer p;
-       emalloc(p, pointer, bytes, "xmalloc");
+       pointer p = malloc(bytes);
+       if (!p && bytes)
+               xalloc_die ();    
        return p;
 }
diff --git a/xalloc.h b/xalloc.h
index 0d169cf..5ee4516 100644
--- a/xalloc.h
+++ b/xalloc.h
@@ -156,7 +156,7 @@ void *
 xrealloc(void *p, size_t size)
 {
    void *new_p = realloc(p, size);
-   if (new_p ==  0)
+   if (!new_p && size)
      xalloc_die ();
 
    return new_p;

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

Summary of changes:
 ChangeLog       |   14 ++++++++++++++
 NOTES           |   26 --------------------------
 gawkmisc.c      |    5 +++--
 main.c          |    3 +--
 pc/ChangeLog    |    4 ++++
 pc/Makefile.tst |    1 +
 xalloc.h        |    2 +-
 7 files changed, 24 insertions(+), 31 deletions(-)
 delete mode 100644 NOTES


hooks/post-receive
-- 
gawk



reply via email to

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