f053070e14
From @geoffbeier: (https://github.com/OpenSC/OpenSC/pull/171#issuecomment-20407132) So it sounds like the right fix is to: * check the return value of sc_ctx_log_to_file() and have sc_do_log_va() return if it's anything other than SC_SUCCESS. * Inside sc_ctx_log_to_file() make sure to set ctx->debug_file to NULL whenever it does call fclose() on it. * Inside sc_do_log_va() where it currently calls fclose() check if(ctx->debug_file && ctx->debug_file != stdout &&ctx->debug_file != stderr) |
||
---|---|---|
MacOSX | ||
doc | ||
etc | ||
m4 | ||
solaris | ||
src | ||
win32 | ||
.gitignore | ||
COPYING | ||
Makefile.am | ||
Makefile.mak | ||
NEWS | ||
README | ||
bootstrap | ||
configure.ac |
README
OpenSC documentation wiki is available online at https://github.com/OpenSC/OpenSC/wiki Please take a look at the documentation before trying to use OpenSC.