Mercurial > vim
diff src/misc1.c @ 1624:18ee39301b82 v7.2a
updated for version 7.2a
author | vimboss |
---|---|
date | Tue, 24 Jun 2008 22:58:06 +0000 |
parents | 5f0c7aae4da2 |
children | 5a7384b9ca66 |
line wrap: on
line diff
--- a/src/misc1.c +++ b/src/misc1.c @@ -14,10 +14,6 @@ #include "vim.h" #include "version.h" -#ifdef HAVE_FCNTL_H -# include <fcntl.h> /* for chdir() */ -#endif - static char_u *vim_version_dir __ARGS((char_u *vimdir)); static char_u *remove_tail __ARGS((char_u *p, char_u *pend, char_u *name)); static int copy_indent __ARGS((int size, char_u *src)); @@ -8680,7 +8676,7 @@ dos_expandpath( for (p = buf + wildoff; p < s; ++p) if (rem_backslash(p)) { - mch_memmove(p, p + 1, STRLEN(p)); + STRMOVE(p, p + 1); --e; --s; } @@ -8981,7 +8977,7 @@ unix_expandpath(gap, path, wildoff, flag for (p = buf + wildoff; p < s; ++p) if (rem_backslash(p)) { - mch_memmove(p, p + 1, STRLEN(p)); + STRMOVE(p, p + 1); --e; --s; }