diff options
author | sahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7> | 2005-11-10 21:52:55 +0000 |
---|---|---|
committer | sahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7> | 2005-11-10 21:52:55 +0000 |
commit | b71be7f6bd3eae225c46b01a85093c1a6afa0847 (patch) | |
tree | afafca3b46c826ec2c9c175614ca7f6c1b4275f1 /epan | |
parent | 523f58da49f2a1a4f8044bfb1a00d40d15b74313 (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')
-rw-r--r-- | epan/dtd_preparse.l | 4 |
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; |