aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dtd_preparse.l
diff options
context:
space:
mode:
authorsahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7>2005-11-10 21:52:55 +0000
committersahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7>2005-11-10 21:52:55 +0000
commitb71be7f6bd3eae225c46b01a85093c1a6afa0847 (patch)
treeafafca3b46c826ec2c9c175614ca7f6c1b4275f1 /epan/dtd_preparse.l
parent523f58da49f2a1a4f8044bfb1a00d40d15b74313 (diff)
from albert chan
dont use a variable with the name dirname since it will collide with symbols on some hosts git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@16460 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dtd_preparse.l')
-rw-r--r--epan/dtd_preparse.l4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dtd_preparse.l b/epan/dtd_preparse.l
index 1d43095e7d..979d8625ff 100644
--- a/epan/dtd_preparse.l
+++ b/epan/dtd_preparse.l
@@ -52,7 +52,7 @@ GHashTable* entities;
gchar* entity_name;
GString* error;
-const gchar* dirname;
+const gchar* dtd_dirname;
const gchar* filename;
guint linenum;
@@ -163,7 +163,7 @@ static gboolean free_gstring_hash_items(gpointer k,gpointer v,gpointer p _U_) {
extern GString* dtd_preparse(const gchar* dname,const gchar* fname, GString* err) {
gchar* fullname = g_strdup_printf("%s%c%s",dname,G_DIR_SEPARATOR,fname);
- dirname = dname;
+ dtd_dirname = dname;
filename = fname;
linenum = 1;