forked from osmocom/wireshark
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:
parent
eb9620376a
commit
ff89b6d313
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue