0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

Optimize the blowfish crypt/decrypt code a bit more.

This commit is contained in:
Bram Moolenaar
2010-06-02 20:32:23 +02:00
parent 04c9bafa71
commit bbd6afe03e
7 changed files with 118 additions and 70 deletions

View File

@@ -1826,7 +1826,7 @@ findYourself(
else if (*argv0 == '.' || strchr(argv0, '/'))
{
runpath = (char *) malloc(MAXPATHLEN);
getcwd(runpath, MAXPATHLEN);
(void)getcwd(runpath, MAXPATHLEN);
strcat(runpath, "/");
strcat(runpath, argv0);
}