From ff89b6d3133b6fdf25d899653f6f6c41544a1dde Mon Sep 17 00:00:00 2001 From: Jeff Morriss Date: Fri, 12 Oct 2007 22:55:17 +0000 Subject: 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 --- epan/dtd_preparse.l | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'epan/dtd_preparse.l') 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 #include "dtd.h" #include "dtd_preparse_lex.h" +#include #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) -- cgit v1.2.3