gawk-diffs
[Top][All Lists]
Advanced

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

[gawk-diffs] [SCM] gawk branch, xgawk, updated. 4d26f7436c0acf8617c4736f


From: Andrew J. Schorr
Subject: [gawk-diffs] [SCM] gawk branch, xgawk, updated. 4d26f7436c0acf8617c4736f110f06e2f4531bbd
Date: Tue, 27 Mar 2012 15:21:39 +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, xgawk has been updated
       via  4d26f7436c0acf8617c4736f110f06e2f4531bbd (commit)
      from  15635ff21b6f1a0951f0ff5de6ddaf0edab8edd7 (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=4d26f7436c0acf8617c4736f110f06e2f4531bbd

commit 4d26f7436c0acf8617c4736f110f06e2f4531bbd
Author: Andrew J. Schorr <address@hidden>
Date:   Tue Mar 27 11:20:11 2012 -0400

    Fix minor bugs in configure.ac and awkgram.y.

diff --git a/ChangeLog b/ChangeLog
index 2b17e4f..fb1b247 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2012-03-27         Andrew J. Schorr     <address@hidden>
+
+       * TODO.xgawk: Update to reflect debate about how to support Cygwin
+       and other platforms that cannot link shared libraries with unresolved
+       references.
+       * awkgram.y (add_srcfile): Minor bug fix: reverse sense of test
+       added by Arnold in last patch.
+       * configure.ac: AC_DISABLE_STATIC must come before AC_PROG_LIBTOOL.
+
 2012-03-26         Arnold D. Robbins     <address@hidden>
 
        Some cleanups.
diff --git a/TODO.xgawk b/TODO.xgawk
index 0e30165..0198a45 100644
--- a/TODO.xgawk
+++ b/TODO.xgawk
@@ -16,8 +16,17 @@ Done:
 
 To do (not necessarily in this order):
 
-- Fix Makefile.am to build gawk as a stub calling into a shared library.
-  This will allow extensions to work on Cygwin and Mingw.
+- Figure out how to support xgawk on platforms such as Cygwin where a DLL
+  cannot be linked with unresolved references.  There are currently 3
+  possible solutions:
+    1. Restructure gawk as a stub calling into a shared library.
+    2. Move a subset of gawk interfaces into a shared library that can be
+       called by extensions.
+    3. Change the interface between gawk and extensions so that gawk will
+       pass a pointer to a structure into dlload that contains the addresses
+       of all variables and functions to which the extension may need access.
+
+- Add valgrind-noleak target.
 
 - Enable default ".awk" search in io.c:find_source().  The simple change
   is to add this code inline in io.c:
diff --git a/awkgram.y b/awkgram.y
index 18e758f..fb39460 100644
--- a/awkgram.y
+++ b/awkgram.y
@@ -2289,7 +2289,7 @@ add_srcfile(int stype, char *src, SRCFILE *thisfile, int 
*already_included, int
                        return NULL;
                }
                /* use full messages to ease translation */
-               fatal(stype == SRC_EXTLIB
+               fatal(stype != SRC_EXTLIB
                        ? _("can't open source file `%s' for reading (%s)")
                        : _("can't open shared library `%s' for reading (%s)"),
                                src,
diff --git a/configure.ac b/configure.ac
index ac9b4d9..260f0df 100644
--- a/configure.ac
+++ b/configure.ac
@@ -67,8 +67,8 @@ AC_PROG_YACC
 AC_PROG_LN_S
 AC_PROG_CC
 AC_PROG_CPP
-AC_PROG_LIBTOOL
 AC_DISABLE_STATIC
+AC_PROG_LIBTOOL
 
 AC_OBJEXT
 AC_EXEEXT

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

Summary of changes:
 ChangeLog    |    9 +++++++++
 TODO.xgawk   |   13 +++++++++++--
 awkgram.y    |    2 +-
 configure.ac |    2 +-
 4 files changed, 22 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
gawk



reply via email to

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