m4-commit
[Top][All Lists]
Advanced

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

Changes to m4/ChangeLog,v


From: Eric Blake
Subject: Changes to m4/ChangeLog,v
Date: Fri, 07 Sep 2007 22:37:47 +0000

CVSROOT:        /sources/m4
Module name:    m4
Changes by:     Eric Blake <ericb>      07/09/07 22:37:47

Index: ChangeLog
===================================================================
RCS file: /sources/m4/m4/ChangeLog,v
retrieving revision 1.544
retrieving revision 1.545
diff -u -b -r1.544 -r1.545
--- ChangeLog   7 Sep 2007 20:59:36 -0000       1.544
+++ ChangeLog   7 Sep 2007 22:37:46 -0000       1.545
@@ -1,5 +1,23 @@
 2007-09-07  Eric Blake  <address@hidden>
 
+       Add refcount builtin.
+       * modules/load.c (refcount): New builtin.
+       (m4modules): Use correct type.
+       * doc/m4.texinfo (Refcount): New section.
+       * m4/m4private.h (struct m4_module): Add refcount member.
+       (m4_module_refcount) [NDEBUG]: Add faster accessor macro.
+       * m4/module.c (m4_module_load): Add symbols to table on first
+       load by m4, regardless of other libltdl loads of same module.
+       (m4_module_refcount): Use new struct member, rather than relying
+       on libltdl count which might be inflated by unrelated loads.
+       (m4__module_interface): Optimize.
+       (m4__module_next, m4__module_find): Avoid assertions that could
+       trigger with unrelated libltdl loads.
+       (m4__module_open): Track m4 load count.
+       (m4__module_exit): Only unload what m4 loaded.
+       (module_remove): Track m4 unloads.
+       * NEWS: Document new builtin.
+
        More conversion to m4_module*.
        * src/freeze.c (produce_module_dump, dump_symbol_CB)
        (reload_frozen_state): Use correct type.
@@ -9200,7 +9218,7 @@
 
        -----
 
-       $Revision: 1.544 $ $Date: 2007/09/07 20:59:36 $
+       $Revision: 1.545 $ $Date: 2007/09/07 22:37:46 $
 
        Local Variables:
        coding: utf-8




reply via email to

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