| To: vim-dev@vim.org |
| Subject: patch 7.1.133 |
| Fcc: outbox |
| From: Bram Moolenaar <Bram@moolenaar.net> |
| Mime-Version: 1.0 |
| Content-Type: text/plain; charset=ISO-8859-1 |
| Content-Transfer-Encoding: 8bit |
| |
| |
| Patch 7.1.133 (after 7.1.126) |
| Problem: shorten_fname1() linked when it's not needed. |
| Solution: Add #ifdef. |
| Files: src/fileio.c |
| |
| |
| |
| |
| |
| *** 5553,5558 **** |
| --- 5554,5561 ---- |
| } |
| #endif |
| |
| + #if defined(FEAT_VIMINFO) || defined(FEAT_BROWSE) || \ |
| + defined(FEAT_QUICKFIX) || defined(PROTO) |
| /* |
| * Try to find a shortname by comparing the fullname with the current |
| * directory. |
| |
| *** 5573,5578 **** |
| --- 5576,5582 ---- |
| } |
| return p; |
| } |
| + #endif |
| |
| /* |
| * Try to find a shortname by comparing the fullname with the current |
| |
| |
| |
| *** 668,669 **** |
| --- 668,671 ---- |
| { /* Add new patch number below this line */ |
| + /**/ |
| + 133, |
| /**/ |
| |
| -- |
| "Beware of bugs in the above code; I have only proved |
| it correct, not tried it." -- Donald Knuth |
| |
| /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ |
| /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ |
| \\\ download, build and distribute -- http://www.A-A-P.org /// |
| \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |