]> git.pld-linux.org Git - packages/vim.git/commitdiff
- new patches
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Tue, 5 Jul 2005 21:07:59 +0000 (21:07 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    6.3.079 -> 1.1
    6.3.080 -> 1.1

6.3.079 [new file with mode: 0644]
6.3.080 [new file with mode: 0644]

diff --git a/6.3.079 b/6.3.079
new file mode 100644 (file)
index 0000000..dfd7894
--- /dev/null
+++ b/6.3.079
@@ -0,0 +1,57 @@
+To: vim-dev@vim.org
+Subject: Patch 6.3.079
+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 6.3.079
+Problem:    Crash when executing a command in the command line window while 
+            syntax highlighting is enabled. (Pero Brbora)
+Solution:   Don't use a pointer to a buffer that has been deleted.
+Files:      src/syntax.c
+
+
+*** ../vim-6.3.078/src/syntax.c        Tue May 31 21:30:24 2005
+--- src/syntax.c       Fri Jul  1 11:12:05 2005
+***************
+*** 1158,1164 ****
+      prev = NULL;
+      for (p = buf->b_sst_first; p != NULL; )
+      {
+!      if (p->sst_lnum + syn_buf->b_syn_sync_linebreaks > buf->b_mod_top)
+       {
+           n = p->sst_lnum + buf->b_mod_xlines;
+           if (n <= buf->b_mod_bot)
+--- 1158,1164 ----
+      prev = NULL;
+      for (p = buf->b_sst_first; p != NULL; )
+      {
+!      if (p->sst_lnum + buf->b_syn_sync_linebreaks > buf->b_mod_top)
+       {
+           n = p->sst_lnum + buf->b_mod_xlines;
+           if (n <= buf->b_mod_bot)
+*** ../vim-6.3.078/src/version.c       Tue Jun 14 19:08:07 2005
+--- src/version.c      Fri Jul  1 11:20:27 2005
+***************
+*** 643,644 ****
+--- 643,646 ----
+  {   /* Add new patch number below this line */
++ /**/
++     79,
+  /**/
+
+-- 
+Some of the well know MS-Windows errors:
+       EMEMORY         Memory error caused by..., eh...
+       ELICENSE        Your license has expired, give us more money!
+       EMOUSE          Mouse moved, reinstall Windows
+       EILLEGAL        Illegal error, you are not allowed to see this
+       EVIRUS          Undetectable virus found
+
+ /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
+///        Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
+\\\              Project leader for A-A-P -- http://www.A-A-P.org        ///
+ \\\     Buy LOTR 3 and help AIDS victims -- http://ICCF.nl/lotr.html   ///
diff --git a/6.3.080 b/6.3.080
new file mode 100644 (file)
index 0000000..160cc4e
--- /dev/null
+++ b/6.3.080
@@ -0,0 +1,114 @@
+To: vim-dev@vim.org
+Subject: Patch 6.3.080 (extra)
+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 6.3.080 (extra)
+Problem:    Win32: With 'encoding' set to utf-8 while the current codepage is
+           Chinese editing a file with some specific characters in the name
+           fails.
+Solution:   Use _wfullpath() instead of _fullpath() when necessary.
+Files:     src/os_mswin.c
+
+
+*** ../vim-6.3.079/src/os_mswin.c      Sun Dec  5 16:43:06 2004
+--- src/os_mswin.c     Sat Jul  2 13:07:35 2005
+***************
+*** 367,385 ****
+       nResult = mch_dirname(buf, len);
+      else
+  #endif
+-      if (_fullpath(buf, fname, len - 1) == NULL)
+      {
+!      STRNCPY(buf, fname, len);   /* failed, use the relative path name */
+!      buf[len - 1] = NUL;
+! #ifndef USE_FNAME_CASE
+!      slash_adjust(buf);
+  #endif
+      }
+-     else
+-      nResult = OK;
+  
+  #ifdef USE_FNAME_CASE
+      fname_case(buf, len);
+  #endif
+  
+      return nResult;
+--- 367,421 ----
+       nResult = mch_dirname(buf, len);
+      else
+  #endif
+      {
+! #ifdef FEAT_MBYTE
+!      if (enc_codepage >= 0 && (int)GetACP() != enc_codepage
+! # ifdef __BORLANDC__
+!              /* Wide functions of Borland C 5.5 do not work on Windows 98. */
+!              && g_PlatformId == VER_PLATFORM_WIN32_NT
+! # endif
+!         )
+!      {
+!          WCHAR       *wname;
+!          WCHAR       wbuf[MAX_PATH];
+!          char_u      *cname = NULL;
+! 
+!          /* Use the wide function:
+!           * - convert the fname from 'encoding' to UCS2.
+!           * - invoke _wfullpath()
+!           * - convert the result from UCS2 to 'encoding'.
+!           */
+!          wname = enc_to_ucs2(fname, NULL);
+!          if (wname != NULL && _wfullpath(wbuf, wname, MAX_PATH - 1) != NULL)
+!          {
+!              cname = ucs2_to_enc((short_u *)wbuf, NULL);
+!              if (cname != NULL)
+!              {
+!                  STRNCPY(buf, cname, len);
+!                  buf[len - 1] = NUL;
+!                  nResult = OK;
+!              }
+!          }
+!          vim_free(wname);
+!          vim_free(cname);
+!      }
+!      if (nResult == FAIL)        /* fall back to non-wide function */
+  #endif
++      {
++          if (_fullpath(buf, fname, len - 1) == NULL)
++          {
++              STRNCPY(buf, fname, len);   /* failed, use relative path name */
++              buf[len - 1] = NUL;
++          }
++          else
++              nResult = OK;
++      }
+      }
+  
+  #ifdef USE_FNAME_CASE
+      fname_case(buf, len);
++ #else
++     slash_adjust(buf);
+  #endif
+  
+      return nResult;
+*** ../vim-6.3.079/src/version.c       Fri Jul  1 11:20:39 2005
+--- src/version.c      Mon Jul  4 12:18:34 2005
+***************
+*** 643,644 ****
+--- 643,646 ----
+  {   /* Add new patch number below this line */
++ /**/
++     80,
+  /**/
+
+-- 
+hundred-and-one symptoms of being an internet addict:
+225. You sign up for free subscriptions for all the computer magazines
+
+ /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
+///        Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
+\\\              Project leader for A-A-P -- http://www.A-A-P.org        ///
+ \\\     Buy LOTR 3 and help AIDS victims -- http://ICCF.nl/lotr.html   ///
This page took 0.063482 seconds and 4 git commands to generate.