зеркало из https://github.com/mozilla/gecko-dev.git
Bug 372126: Installer fails with libxpistub error with libsafe installed. Patch by Bgs <bgs@bgs.hu>, r=me.
This commit is contained in:
Родитель
4189274b26
Коммит
b1dad28a54
|
@ -620,7 +620,9 @@ nsXIEngine::LoadXPIStub(xpistub_t *aStub, char *aDestination)
|
|||
|
||||
/* open the library */
|
||||
getcwd(libpath, MAXPATHLEN);
|
||||
sprintf(libpath, "%s/%s", libpath, XPISTUB);
|
||||
if (strlen(libpath)+strlen(XPISTUB) + 2 > MAXPATHLEN) return E_MEM;
|
||||
strcat(libpath, "/");
|
||||
strcat(libpath, XPISTUB);
|
||||
|
||||
#ifdef DEBUG
|
||||
printf("DEBUG: libpath = >>%s<<\n", libpath);
|
||||
|
|
Загрузка…
Ссылка в новой задаче