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.0.185 < prev    next >
Encoding:
Internet Message Format  |  2002-02-03  |  1.5 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 6.0.185
  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.0.185
  11. Problem:    Crash in Vim when pasting a selection in another application, on a
  12.         64 bit machine.
  13. Solution:   Fix the format for an Atom to 32 bits. (Peter Derr)
  14. Files:        src/ui.c
  15.  
  16.  
  17. *** ../vim60.184/src/ui.c    Tue Jan 29 16:23:04 2002
  18. --- src/ui.c    Mon Feb  4 23:09:56 2002
  19. ***************
  20. *** 1981,1987 ****
  21.       array[3] = text_atom;
  22.       array[4] = compound_text_atom;
  23.       *type = XA_ATOM;
  24. !     *format = sizeof(Atom) * 8;
  25.       *length = 5;
  26.       return True;
  27.       }
  28. --- 1981,1989 ----
  29.       array[3] = text_atom;
  30.       array[4] = compound_text_atom;
  31.       *type = XA_ATOM;
  32. !     /* This used to be: *format = sizeof(Atom) * 8; but that caused
  33. !      * crashes on 64 bit machines. (Peter Derr) */
  34. !     *format = 32;
  35.       *length = 5;
  36.       return True;
  37.       }
  38. *** ../vim60.184/src/version.c    Mon Feb  4 22:49:06 2002
  39. --- src/version.c    Mon Feb  4 23:12:20 2002
  40. ***************
  41. *** 608,609 ****
  42. --- 608,611 ----
  43.   {   /* Add new patch number below this line */
  44. + /**/
  45. +     185,
  46.   /**/
  47.  
  48. -- 
  49. hundred-and-one symptoms of being an internet addict:
  50. 213. Your kids start referring to you as "that guy in front of the monitor."
  51.  
  52.  ///  Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net  \\\
  53. (((   Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim   )))
  54.  \\\  Help me helping AIDS orphans in Uganda - http://iccf-holland.org  ///
  55.