aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dtd_preparse.l
diff options
context:
space:
mode:
authorRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2005-11-10 21:52:55 +0000
committerRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2005-11-10 21:52:55 +0000
commitf10211313f5ead71abef94ed26aba7c5504a93b0 (patch)
treeafafca3b46c826ec2c9c175614ca7f6c1b4275f1 /epan/dtd_preparse.l
parent8d54b19302d66e0a639e68344f1debfca176f285 (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.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;