comparison src/workshop.c @ 2245:4e0124f5aee2 vim73

Optimize the blowfish crypt/decrypt code a bit more.
author Bram Moolenaar <bram@vim.org>
date Wed, 02 Jun 2010 20:32:23 +0200
parents 07de57cbcb25
children 1bac28a53fae
comparison
equal deleted inserted replaced
2244:caca0ddd789b 2245:4e0124f5aee2
1824 if (*argv0 == '/') 1824 if (*argv0 == '/')
1825 runpath = strdup(argv0); 1825 runpath = strdup(argv0);
1826 else if (*argv0 == '.' || strchr(argv0, '/')) 1826 else if (*argv0 == '.' || strchr(argv0, '/'))
1827 { 1827 {
1828 runpath = (char *) malloc(MAXPATHLEN); 1828 runpath = (char *) malloc(MAXPATHLEN);
1829 getcwd(runpath, MAXPATHLEN); 1829 (void)getcwd(runpath, MAXPATHLEN);
1830 strcat(runpath, "/"); 1830 strcat(runpath, "/");
1831 strcat(runpath, argv0); 1831 strcat(runpath, argv0);
1832 } 1832 }
1833 else 1833 else
1834 { 1834 {