home *** CD-ROM | disk | FTP | other *** search
/ vim.ftp.fu-berlin.de / 2015-02-03.vim.ftp.fu-berlin.de.tar / vim.ftp.fu-berlin.de / patches / 6.1.153 < prev    next >
Encoding:
Internet Message Format  |  2002-08-12  |  1.7 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 6.1.153
  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 6.1.153
  11. Problem:    Searching in included files may search recursively when the path
  12.         starts with "../".  (Sven Berkvens-Matthijsse)
  13. Solution:   Compare full file names, use inode/device when possible.
  14. Files:        src/search.c
  15.  
  16.  
  17. *** ../vim61.152/src/search.c    Sat Jun 29 15:57:43 2002
  18. --- src/search.c    Tue Aug 13 19:49:28 2002
  19. ***************
  20. *** 3531,3537 ****
  21.               i = old_files;
  22.               if (i == max_path_depth)
  23.               break;
  24. !             if (STRCMP(new_fname, files[i].name) == 0)
  25.               {
  26.               if (type != CHECK_PATH &&
  27.                   action == ACTION_SHOW_ALL && files[i].matched)
  28. --- 3531,3537 ----
  29.               i = old_files;
  30.               if (i == max_path_depth)
  31.               break;
  32. !             if (fullpathcmp(new_fname, files[i].name, TRUE) & FPC_SAME)
  33.               {
  34.               if (type != CHECK_PATH &&
  35.                   action == ACTION_SHOW_ALL && files[i].matched)
  36. *** ../vim61.152/src/version.c    Mon Aug 12 20:57:48 2002
  37. --- src/version.c    Tue Aug 13 21:33:44 2002
  38. ***************
  39. *** 608,609 ****
  40. --- 608,611 ----
  41.   {   /* Add new patch number below this line */
  42. + /**/
  43. +     153,
  44.   /**/
  45.  
  46. -- 
  47. % cat /usr/include/sys/errno.h
  48. #define    EPERM        1        /* Operation not permitted */
  49. #define    ENOENT        2        /* No such file or directory */
  50. #define    ESRCH        3        /* No such process */
  51. [...]
  52. #define EMACS        666        /* Too many macros */
  53. %
  54.  
  55.  ///  Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net  \\\
  56. ///   Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim   \\\
  57. \\\           Project leader for A-A-P -- http://www.a-a-p.org           ///
  58.  \\\ Lord Of The Rings helps Uganda - http://iccf-holland.org/lotr.html ///
  59.