import unbound 1.5.4

This commit is contained in:
Dag-Erling Smørgrav committed 2015-09-17 15:21:27 +00:00
1 parent 0ea2824005
commit af3dabbf15
150 files changed
+5526 -3181
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/vendor/unbound/dist/; revision=287915
svn path=/vendor/unbound/1.5.4/; revision=287916; tag=vendor/unbound/1.5.4

No files matched your search

+8 -2
View File
@@ -45,7 +45,7 @@
#endif
#include "config.h"
#include "ldns/sbuffer.h"
#include "sldns/sbuffer.h"
#undef _POSIX_C_SOURCE
#undef _XOPEN_SOURCE
@@ -133,7 +133,13 @@ int pythonmod_init(struct module_env* env, int id)
/* Initialize Python libraries */
if (!Py_IsInitialized())
{
Py_SetProgramName("unbound");
#if PY_MAJOR_VERSION >= 3
wchar_t progname[8];
mbstowcs(progname, "unbound", 8);
#else
char *progname = "unbound";
#endif
Py_SetProgramName(progname);
Py_NoSiteFlag = 1;
Py_Initialize();
PyEval_InitThreads();