]>
Commit | Line | Data |
---|---|---|
25f687b8 AM |
1 | To: vim-dev@vim.org |
2 | Subject: patch 7.1.133 | |
3 | Fcc: outbox | |
4 | From: Bram Moolenaar <Bram@moolenaar.net> | |
5 | Mime-Version: 1.0 | |
6 | Content-Type: text/plain; charset=ISO-8859-1 | |
7 | Content-Transfer-Encoding: 8bit | |
8 | ------------ | |
9 | ||
10 | Patch 7.1.133 (after 7.1.126) | |
11 | Problem: shorten_fname1() linked when it's not needed. | |
12 | Solution: Add #ifdef. | |
13 | Files: src/fileio.c | |
14 | ||
15 | ||
16 | *** ../vim-7.1.132/src/fileio.c Sun Sep 30 14:00:41 2007 | |
17 | --- src/fileio.c Sun Sep 30 16:32:43 2007 | |
18 | *************** | |
19 | *** 5553,5558 **** | |
20 | --- 5554,5561 ---- | |
21 | } | |
22 | #endif | |
23 | ||
24 | + #if defined(FEAT_VIMINFO) || defined(FEAT_BROWSE) || \ | |
25 | + defined(FEAT_QUICKFIX) || defined(PROTO) | |
26 | /* | |
27 | * Try to find a shortname by comparing the fullname with the current | |
28 | * directory. | |
29 | *************** | |
30 | *** 5573,5578 **** | |
31 | --- 5576,5582 ---- | |
32 | } | |
33 | return p; | |
34 | } | |
35 | + #endif | |
36 | ||
37 | /* | |
38 | * Try to find a shortname by comparing the fullname with the current | |
39 | *** ../vim-7.1.132/src/version.c Tue Oct 2 22:07:58 2007 | |
40 | --- src/version.c Wed Oct 3 12:46:59 2007 | |
41 | *************** | |
42 | *** 668,669 **** | |
43 | --- 668,671 ---- | |
44 | { /* Add new patch number below this line */ | |
45 | + /**/ | |
46 | + 133, | |
47 | /**/ | |
48 | ||
49 | -- | |
50 | "Beware of bugs in the above code; I have only proved | |
51 | it correct, not tried it." -- Donald Knuth | |
52 | ||
53 | /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ | |
54 | /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ | |
55 | \\\ download, build and distribute -- http://www.A-A-P.org /// | |
56 | \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |