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