diff options
author | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2005-11-10 21:52:55 +0000 |
---|---|---|
committer | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2005-11-10 21:52:55 +0000 |
commit | f10211313f5ead71abef94ed26aba7c5504a93b0 (patch) | |
tree | afafca3b46c826ec2c9c175614ca7f6c1b4275f1 /epan/dtd_preparse.l | |
parent | 8d54b19302d66e0a639e68344f1debfca176f285 (diff) |
from albert chan
dont use a variable with the name dirname since it will collide with symbols on some hosts
svn path=/trunk/; revision=16460
Diffstat (limited to 'epan/dtd_preparse.l')
-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; |