From f2f1023487ad8aa88f3d3ab58fff0cb34f64f2d7 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Tue, 12 Oct 2010 18:25:42 +0000 Subject: [PATCH] Fix comments (not all platforms on which we run support dlopen(), but GLib handles that with g_module_open() as a platform-independent "load a module at run time" wrapper). svn path=/trunk/; revision=34491 --- capture-wpcap.c | 2 +- epan/plugins.c | 2 +- epan/plugins.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/capture-wpcap.c b/capture-wpcap.c index 9da61f9ab4..5492f972ca 100644 --- a/capture-wpcap.c +++ b/capture-wpcap.c @@ -873,7 +873,7 @@ get_runtime_pcap_version(GString *str) * not and, if we have it and we have "pcap_lib_version()", * what version we have. */ - GModule *handle; /* handle returned by dlopen */ + GModule *handle; /* handle returned by ws_module_open */ static gchar *packetVer; gchar *blankp; diff --git a/epan/plugins.c b/epan/plugins.c index 563baeae6f..fcf694a099 100644 --- a/epan/plugins.c +++ b/epan/plugins.c @@ -139,7 +139,7 @@ plugins_scan_dir(const char *dirname) WS_DIRENT *file; /* current file */ const char *name; gchar filename[FILENAME_LEN]; /* current file name */ - GModule *handle; /* handle returned by dlopen */ + GModule *handle; /* handle returned by g_module_open */ gchar *version; gpointer gp; void (*register_protoinfo)(void); diff --git a/epan/plugins.h b/epan/plugins.h index 02fbfa83db..b11c4748ec 100644 --- a/epan/plugins.h +++ b/epan/plugins.h @@ -31,7 +31,7 @@ #include "packet.h" typedef struct _plugin { - GModule *handle; /* handle returned by dlopen */ + GModule *handle; /* handle returned by g_module_open */ gchar *name; /* plugin name */ gchar *version; /* plugin version */ void (*register_protoinfo)(void); /* routine to call to register protocol information */