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
This commit is contained in:
Jeff Morriss 2007-10-12 22:55:17 +00:00
parent eb9620376a
commit ff89b6d313
1 changed files with 2 additions and 1 deletions

View File

@ -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)