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-640


From: Eli Zaretskii
Subject: [gawk-diffs] [SCM] gawk branch, gawk-4.1-stable, updated. gawk-4.1.0-640-g66dc805
Date: Wed, 08 Apr 2015 15:11:37 +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  66dc805f570bc8c5db0f0d9a14c9a3316e428991 (commit)
       via  be4a972c63893bbe250d681191e20b7ea3b31c9c (commit)
       via  d6fecb7fa6188d819c3bc24841cebcd58082a52d (commit)
      from  7f5717a291b6ef2ab720b7f42a377e694ecf2546 (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=66dc805f570bc8c5db0f0d9a14c9a3316e428991

commit 66dc805f570bc8c5db0f0d9a14c9a3316e428991
Author: Eli Zaretskii <address@hidden>
Date:   Wed Apr 8 18:10:32 2015 +0300

    Avoid dependency on libgcc DLL in the extensions.

diff --git a/pc/ChangeLog b/pc/ChangeLog
index 600c49a..812c743 100644
--- a/pc/ChangeLog
+++ b/pc/ChangeLog
@@ -1,5 +1,12 @@
 2015-04-08  Eli Zaretskii  <address@hidden>
 
+       * Makefile.ext (fnmatch.$(SOEXT), readdir.$(SOEXT), rwarray.$(SOEXT))
+       (filefuncs.$(SOEXT), time.$(SOEXT), $(SIMPLE_EXTENSIONS)): Use
+       -static-libgcc, to avoid run-time dependency on libgcc DLL.  This
+       makes the extensions independent of non-system DLLs, and also
+       prevents an abort at exit due to a known upstream bug in
+       libgcc_s_dw2-1.dll.
+
        * Makefile.tst (mpfrmemok1): Use -p- instead of -p/dev/stdout, for
        more portability.
 
diff --git a/pc/Makefile.ext b/pc/Makefile.ext
index 8971014..1272343 100644
--- a/pc/Makefile.ext
+++ b/pc/Makefile.ext
@@ -32,19 +32,19 @@ ALL_EXTENSIONS = filefuncs.$(SOEXT) fnmatch.$(SOEXT) 
inplace.$(SOEXT)\
 extensions: $(ALL_EXTENSIONS)
 
 fnmatch.$(SOEXT): fnmatch.c
-       gcc -I.. -I../missing_d -DHAVE_FNMATCH_H -shared -gdwarf-2 -g3 -o $@ 
fnmatch.c
+       gcc -I.. -I../missing_d -DHAVE_FNMATCH_H -shared -gdwarf-2 -g3 
-static-libgcc -o $@ fnmatch.c
 
 readdir.$(SOEXT): readdir.c gawkdirfd.h
-       gcc -I.. -DHAVE_DIRENT_H -shared -gdwarf-2 -g3 -o $@ readdir.c
+       gcc -I.. -DHAVE_DIRENT_H -shared -gdwarf-2 -g3 -static-libgcc -o $@ 
readdir.c
 
 rwarray.$(SOEXT): rwarray.c
-       gcc -I.. -shared -gdwarf-2 -g3 -o $@ rwarray.c -lws2_32
+       gcc -I.. -shared -gdwarf-2 -g3 -static-libgcc -o $@ rwarray.c -lws2_32
 
 filefuncs.$(SOEXT): filefuncs.c stack.c stack.h gawkfts.h
-       gcc -I.. -shared -gdwarf-2 -g3 -o $@ filefuncs.c stack.c
+       gcc -I.. -shared -gdwarf-2 -g3 -static-libgcc -o $@ filefuncs.c stack.c
 
 time.$(SOEXT): time.c
-       gcc -DHAVE_GETSYSTEMTIMEASFILETIME -I.. -shared -gdwarf-2 -g3 -o $@ 
time.c
+       gcc -DHAVE_GETSYSTEMTIMEASFILETIME -I.. -shared -gdwarf-2 -g3 
-static-libgcc -o $@ time.c
 
 $(SIMPLE_EXTENSIONS):
        gcc -I.. -shared -gdwarf-2 -g3 -o $@ $(@:.$(SOEXT)=.c)

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

commit be4a972c63893bbe250d681191e20b7ea3b31c9c
Merge: d6fecb7 7f5717a
Author: Eli Zaretskii <address@hidden>
Date:   Wed Apr 8 18:09:31 2015 +0300

    Merge branch 'gawk-4.1-stable' of git.savannah.gnu.org:/srv/git/gawk into 
gawk-4.1-stable


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

commit d6fecb7fa6188d819c3bc24841cebcd58082a52d
Author: Eli Zaretskii <address@hidden>
Date:   Wed Apr 8 18:08:56 2015 +0300

    Allow to redirect profile to stdout more portably.

diff --git a/ChangeLog b/ChangeLog
index c60ad62..90ddba7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2015-04-08  Eli Zaretskii  <address@hidden>
+
+       * profile.c (set_prof_file): Interpret a file name of "-" to mean
+       standard output.
+
 2015-04-06         Arnold D. Robbins     <address@hidden>
 
        * awk.h (force_number): Add `!= 0' check to bitwise operation.
diff --git a/pc/ChangeLog b/pc/ChangeLog
index 2a241b1..600c49a 100644
--- a/pc/ChangeLog
+++ b/pc/ChangeLog
@@ -1,3 +1,8 @@
+2015-04-08  Eli Zaretskii  <address@hidden>
+
+       * Makefile.tst (mpfrmemok1): Use -p- instead of -p/dev/stdout, for
+       more portability.
+
 2015-04-07         Arnold D. Robbins     <address@hidden>
 
        * Makefile.tst: Sync with mainline.
diff --git a/pc/Makefile.tst b/pc/Makefile.tst
index 4fb68df..77b9ecf 100644
--- a/pc/Makefile.tst
+++ b/pc/Makefile.tst
@@ -979,7 +979,7 @@ mpfrrem:
 
 mpfrmemok1:
        @echo $@
-       @$(AWK) -p/dev/stdout -M -f "$(srcdir)"/address@hidden 2>&1 | sed 1d > 
_$@
+       @$(AWK) -p- -M -f "$(srcdir)"/address@hidden 2>&1 | sed 1d > _$@
        @-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
 
 jarebug::
diff --git a/profile.c b/profile.c
index 28bb442..fe411e4 100644
--- a/profile.c
+++ b/profile.c
@@ -66,7 +66,10 @@ void
 set_prof_file(const char *file)
 {
        assert(file != NULL);
-       prof_fp = fopen(file, "w");
+       if (strcmp(file, "-") == 0)
+               prof_fp = stdout;
+       else
+               prof_fp = fopen(file, "w");
        if (prof_fp == NULL) {
                warning(_("could not open `%s' for writing: %s"),
                                file, strerror(errno));
diff --git a/test/ChangeLog b/test/ChangeLog
index 292e961..d0dc131 100644
--- a/test/ChangeLog
+++ b/test/ChangeLog
@@ -1,3 +1,8 @@
+2015-04-08  Eli Zaretskii  <address@hidden>
+
+       * Makefile.am (mpfrmemok1): Use -p- for portability and
+       compatibility with pc/Makefile.tst.
+
 2015-03-31         Arnold D. Robbins     <address@hidden>
 
        * Makefile.am (indirectbuiltin): New test.
diff --git a/test/Makefile.am b/test/Makefile.am
index 515a26e..ec84a17 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -1820,7 +1820,7 @@ mpfrrem:
 
 mpfrmemok1:
        @echo $@
-       @$(AWK) -p/dev/stdout -M -f "$(srcdir)"/address@hidden 2>&1 | sed 1d > 
_$@
+       @$(AWK) -p- -M -f "$(srcdir)"/address@hidden 2>&1 | sed 1d > _$@
        @-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
 
 jarebug::

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

Summary of changes:
 ChangeLog        |    5 +++++
 pc/ChangeLog     |   12 ++++++++++++
 pc/Makefile.ext  |   10 +++++-----
 pc/Makefile.tst  |    2 +-
 profile.c        |    5 ++++-
 test/ChangeLog   |    5 +++++
 test/Makefile.am |    2 +-
 7 files changed, 33 insertions(+), 8 deletions(-)


hooks/post-receive
-- 
gawk



reply via email to

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