diff options
author | Felipe Oliveira Carvalho <felipekde@gmail.com> | 2014-04-27 21:49:36 -0300 |
---|---|---|
committer | Thiago de Arruda <tpadilha84@gmail.com> | 2014-05-02 15:58:33 -0300 |
commit | 89e07185e96bcbaeb8009b1dbad161f6b7c8b74c (patch) | |
tree | 73c1d43cce77dd6d0ecefed7e82fd7219d334730 /src/ex_cmds.c | |
parent | 8500eeed86f1cc19f7d038031436a09f80cc6ce9 (diff) | |
download | rneovim-89e07185e96bcbaeb8009b1dbad161f6b7c8b74c.tar.gz rneovim-89e07185e96bcbaeb8009b1dbad161f6b7c8b74c.tar.bz2 rneovim-89e07185e96bcbaeb8009b1dbad161f6b7c8b74c.zip |
Remove the code related to the shortname option
Diffstat (limited to 'src/ex_cmds.c')
-rw-r--r-- | src/ex_cmds.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/ex_cmds.c b/src/ex_cmds.c index c65ff6dbbf..77523a043f 100644 --- a/src/ex_cmds.c +++ b/src/ex_cmds.c @@ -1510,7 +1510,6 @@ void write_viminfo(char_u *file, int forceit) mode_t umask_save; #endif #ifdef UNIX - int shortname = FALSE; /* use 8.3 file name */ struct stat st_old; /* mch_stat() of existing viminfo file */ #endif @@ -1579,9 +1578,7 @@ void write_viminfo(char_u *file, int forceit) if (mch_stat((char *)tempname, &st_new) == 0) { /* * Try another name. Change one character, just before - * the extension. This should also work for an 8.3 - * file name, when after adding the extension it still is - * the same file as the original. + * the extension. */ wp = tempname + STRLEN(tempname) - 5; if (wp < path_tail(tempname)) /* empty file name? */ |