提交 03da458a 编写于 作者: R Richard Levitte

It's possible that considering the configuration file as a binary file

works on Unix and MS-DOS/Windows.  It does not under VMS, so open it
as text.
上级 f48158b8
......@@ -88,7 +88,11 @@ LHASH *CONF_load(LHASH *h, const char *file, long *line)
LHASH *ltmp;
BIO *in=NULL;
#ifdef VMS
in=BIO_new_file(file, "r");
#else
in=BIO_new_file(file, "rb");
#endif
if (in == NULL)
{
CONFerr(CONF_F_CONF_LOAD,ERR_R_SYS_LIB);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册