components/vim/vim72-patches/7.2.368
changeset 379 c6a17bba1da3
parent 378 f0b61ed1d10d
child 380 e92b3b4a1c66
equal deleted inserted replaced
378:f0b61ed1d10d 379:c6a17bba1da3
     1 To: [email protected]
       
     2 Subject: Patch 7.2.368
       
     3 Fcc: outbox
       
     4 From: Bram Moolenaar <[email protected]>
       
     5 Mime-Version: 1.0
       
     6 Content-Type: text/plain; charset=UTF-8
       
     7 Content-Transfer-Encoding: 8bit
       
     8 ------------
       
     9 
       
    10 Patch 7.2.368 (after 7.2.361)
       
    11 Problem:    Ruby interface: Appending line doesn't work. (Michael Henry)
       
    12 Solution:   Reverse check for NULL line. (James Vega)
       
    13 Files:      src/if_ruby.c
       
    14 
       
    15 
       
    16 *** ../vim-7.2.367/src/if_ruby.c	2010-02-17 16:23:03.000000000 +0100
       
    17 --- src/if_ruby.c	2010-02-18 15:47:42.000000000 +0100
       
    18 ***************
       
    19 *** 869,875 ****
       
    20       long	n = NUM2LONG(num);
       
    21       aco_save_T	aco;
       
    22   
       
    23 !     if (line != NULL) {
       
    24   	rb_raise(rb_eIndexError, "NULL line");
       
    25       }
       
    26       else if (n >= 0 && n <= buf->b_ml.ml_line_count)
       
    27 --- 869,875 ----
       
    28       long	n = NUM2LONG(num);
       
    29       aco_save_T	aco;
       
    30   
       
    31 !     if (line == NULL) {
       
    32   	rb_raise(rb_eIndexError, "NULL line");
       
    33       }
       
    34       else if (n >= 0 && n <= buf->b_ml.ml_line_count)
       
    35 *** ../vim-7.2.367/src/version.c	2010-02-17 18:28:06.000000000 +0100
       
    36 --- src/version.c	2010-02-18 15:48:09.000000000 +0100
       
    37 ***************
       
    38 *** 683,684 ****
       
    39 --- 683,686 ----
       
    40   {   /* Add new patch number below this line */
       
    41 + /**/
       
    42 +     368,
       
    43   /**/
       
    44 
       
    45 -- 
       
    46 hundred-and-one symptoms of being an internet addict:
       
    47 251. You've never seen your closest friends who usually live WAY too far away.
       
    48 
       
    49  /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
       
    50 ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
       
    51 \\\        download, build and distribute -- http://www.A-A-P.org        ///
       
    52  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///