aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dtd_preparse.l
diff options
context:
space:
mode:
authorJeff Morriss <jeff.morriss@ulticom.com>2007-10-12 22:55:17 +0000
committerJeff Morriss <jeff.morriss@ulticom.com>2007-10-12 22:55:17 +0000
commitff89b6d3133b6fdf25d899653f6f6c41544a1dde (patch)
tree7b8756fae522b62fa94e806fa76d537d0cea8466 /epan/dtd_preparse.l
parenteb9620376ab76fd7f85c71a65f55819f6d33a714 (diff)
s/fopen()/eth_fopen()/ in an attempt to fix bug 1827: eth_fopen() deals with wide chars for us on Windows while fopen() does not.
svn path=/trunk/; revision=23168
Diffstat (limited to 'epan/dtd_preparse.l')
-rw-r--r--epan/dtd_preparse.l3
1 files changed, 2 insertions, 1 deletions
diff --git a/epan/dtd_preparse.l b/epan/dtd_preparse.l
index 921b3fda31..988cd87281 100644
--- a/epan/dtd_preparse.l
+++ b/epan/dtd_preparse.l
@@ -65,6 +65,7 @@
#include <stdio.h>
#include "dtd.h"
#include "dtd_preparse_lex.h"
+#include <wiretap/file_util.h>
#define ECHO g_string_append(current,yytext);
@@ -187,7 +188,7 @@ extern GString* dtd_preparse(const gchar* dname,const gchar* fname, GString* er
filename = fname;
linenum = 1;
- yyin = fopen(fullname,"r");
+ yyin = eth_fopen(fullname,"r");
if (!yyin) {
if (err)