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 / 7.0 / 7.0.184 < prev    next >
Encoding:
Internet Message Format  |  2007-01-15  |  2.3 KB

  1. To: vim-dev@vim.org
  2. Subject: patch 7.0.184
  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.0.184
  11. Problem:    When the cscope program is called "mlcscope" the Cscope interface
  12.         doesn't work.
  13. Solution:   Accept "\S*cscope:" instead of "cscope:". (Frodak D. Baksik)
  14. Files:        src/if_cscope.c
  15.  
  16.  
  17. *** ../vim-7.0.183/src/if_cscope.c    Tue Nov 21 11:43:49 2006
  18. --- src/if_cscope.c    Fri Jan 12 20:02:37 2007
  19. ***************
  20. *** 627,636 ****
  21.        * If the database is out of date, or there's some other problem,
  22.        * cscope will output error messages before the number-of-lines output.
  23.        * Display/discard any output that doesn't match what we want.
  24.        */
  25.       if ((stok = strtok(buf, (const char *)" ")) == NULL)
  26.           continue;
  27. !     if (strcmp((const char *)stok, "cscope:"))
  28.           continue;
  29.   
  30.       if ((stok = strtok(NULL, (const char *)" ")) == NULL)
  31. --- 627,637 ----
  32.        * If the database is out of date, or there's some other problem,
  33.        * cscope will output error messages before the number-of-lines output.
  34.        * Display/discard any output that doesn't match what we want.
  35. +      * Accept "\S*cscope: X lines", also matches "mlcscope".
  36.        */
  37.       if ((stok = strtok(buf, (const char *)" ")) == NULL)
  38.           continue;
  39. !     if (strstr((const char *)stok, "cscope:") == NULL)
  40.           continue;
  41.   
  42.       if ((stok = strtok(NULL, (const char *)" ")) == NULL)
  43. *** ../vim-7.0.183/src/version.c    Sun Jan 14 15:27:05 2007
  44. --- src/version.c    Tue Jan 16 15:16:41 2007
  45. ***************
  46. *** 668,669 ****
  47. --- 668,671 ----
  48.   {   /* Add new patch number below this line */
  49. + /**/
  50. +     184,
  51.   /**/
  52.  
  53. -- 
  54. The technology involved in making anything invisible is so infinitely
  55. complex that nine hundred and ninety-nine billion, nine hundred and
  56. ninety-nine million, nine hundred and ninety-nine thousand, nine hundred
  57. and ninety-nine times out of a trillion it is much simpler and more
  58. effective just to take the thing away and do without it.
  59.         -- Douglas Adams, "The Hitchhiker's Guide to the Galaxy"
  60.  
  61.  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
  62. ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
  63. \\\        download, build and distribute -- http://www.A-A-P.org        ///
  64.  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
  65.