exewrapper: report name of failed private DLL in error message
authorAdrian Buehlmann <adrian@cadifra.com>
Wed, 14 Oct 2015 12:23:04 +0200
changeset 26663 fa6858be3c61
parent 26662 d215def59c3b
child 26664 640b807dcce0
exewrapper: report name of failed private DLL in error message Same as in preceding change, but this time it's for the private Python of HackableMercurial (in hg-python directory next to the hg.exe).
mercurial/exewrapper.c
--- a/mercurial/exewrapper.c	Wed Oct 14 12:22:09 2015 +0200
+++ b/mercurial/exewrapper.c	Wed Oct 14 12:23:04 2015 +0200
@@ -90,7 +90,8 @@
 			strcat_s(pydllfile, sizeof(pydllfile), "\\" HGPYTHONLIB);
 			pydll = LoadLibrary(pydllfile);
 			if (pydll == NULL) {
-				err = "failed to load private Python DLL";
+				err = "failed to load private Python DLL "
+				      HGPYTHONLIB ".dll";
 				goto bail;
 			}
 			Py_SetPythonHome = (void*)GetProcAddress(pydll,