Michael Henry wrote:

> On 02/17/2010 10:23 AM, Bram Moolenaar wrote:
> >
> > Patch 7.2.361
> > Problem:    Ruby 1.9 is not supported.
> > Solution:   Add Ruby 1.9 support. (Msaki Suketa)
> > Files:        src/Makefile, src/auto/configure, src/configure.in, 
> > src/if_ruby.c
> 
> Bram,
> 
> Something about this patch isn't quite right, though I don't
> yet know what.  It differs in a number of ways from Masaki Suketa's
> patch (note typo "Msaki" in Solution: line above).  I can build 7.2.360
> with Masaki's patch and it still works for me on Fedora 11.  I haven't
> yet gotten to try it on Arch with Ruby 1.9.
> 
> I can build 7.2.361, but it's giving me odd errors in the Ruby-based
> plugin I'm using:
> 
> IndexError: (eval):1063:in `append': NULL line
> 
> (This is the LustyExplorer plugin.)
> 
> I've attached a diff between 7.2.360 with Masaki's original
> patch and 7.2.361, in case that helps point out the difference
> that's causing the trouble.

I don't have Fedora 11 thus I can't try it out.  It builds find for me
on Ubuntu 9.10, but I haven't tried running any Ruby script.

Can you make a diff with "diff -w"?  And not include the .orig file or
auto/configure file.

I don't think I changed any of the logic compared to the original patch,
at least not intentional.

-- 
hundred-and-one symptoms of being an internet addict:
250. You've given up the search for the "perfect woman" and instead,
     sit in front of the PC until you're just too tired to care.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php

Raspunde prin e-mail lui