[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Changes to m4/modules/shadow.c,v
From: |
Eric Blake |
Subject: |
Changes to m4/modules/shadow.c,v |
Date: |
Thu, 06 Sep 2007 22:58:29 +0000 |
CVSROOT: /sources/m4
Module name: m4
Changes by: Eric Blake <ericb> 07/09/06 22:58:27
Index: modules/shadow.c
===================================================================
RCS file: /sources/m4/m4/modules/shadow.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -b -r1.17 -r1.18
--- modules/shadow.c 7 Aug 2007 03:15:29 -0000 1.17
+++ modules/shadow.c 6 Sep 2007 22:58:26 -0000 1.18
@@ -67,14 +67,11 @@
M4INIT_HANDLER (shadow)
{
- const lt_dlinfo *info = 0;
const char *s = "Shadow module loaded.";
-
- if (handle)
- info = lt_dlgetinfo (handle);
+ int refcount = m4_module_refcount (handle);
/* Only display the message on first load. */
- if (obs && info && (info->ref_count == 1))
+ if (obs && refcount == 1)
obstack_grow (obs, s, strlen (s));
}
- Changes to m4/modules/shadow.c,v,
Eric Blake <=