Mercurial > vim
diff src/filepath.c @ 18779:8f05b3cf8557 v8.1.2379
patch 8.1.2379: using old C style comments
Commit: https://github.com/vim/vim/commit/217e1b8359447f5550dcb0d1ee43380a90c253c5
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Dec 1 21:41:28 2019 +0100
patch 8.1.2379: using old C style comments
Problem: Using old C style comments.
Solution: Use // comments where appropriate.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 01 Dec 2019 21:45:04 +0100 |
parents | 9676dc5fd705 |
children | 410155e75efa |
line wrap: on
line diff
--- a/src/filepath.c +++ b/src/filepath.c @@ -162,7 +162,7 @@ shortpath_for_invalid_fname( * path with the remaining path at the tail. */ - /* Compute the length of the new path. */ + // Compute the length of the new path. sfx_len = (int)(save_endp - endp) + 1; new_len = len + sfx_len; @@ -2367,7 +2367,7 @@ fullpathcmp( r2 = mch_stat((char *)s2, &st2); if (r1 != 0 && r2 != 0) { - /* if mch_stat() doesn't work, may compare the names */ + // if mch_stat() doesn't work, may compare the names if (checkname) { if (fnamecmp(exp1, s2) == 0) @@ -3689,7 +3689,7 @@ gen_expand_wildcards( void addfile( garray_T *gap, - char_u *f, /* filename */ + char_u *f, // filename int flags) { char_u *p;