1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-09-28 03:06:20 -04:00
elinks/src/scripting/ruby
Thomas Adam d90702aeca Fix crashes and problems with rerendering when preformatting with Ruby
This reverts baf7b0e91d:

	Fix segfaults caused by ruby scripting (gentoo bug #121247).

which reverted 5145ae266a:

	Change the Python, Ruby, and SEE hooks for pre-format-html to work
	properly now that they are given a non-NUL-terminated string.

and also makes the Ruby hooks interface generally use rb_str_new(str, len)
in favor of rb_str_new2(str) to avoid relying on NUL-terminated being
handled correctly by Ruby. Also, it was wrong for the preformat hook which
is not always handed a NUL-terminated string. Finally, the gentoo bug
(http://bugs.gentoo.org/show_bug.cgi?id=121247) is currently reopened which
suggests that the previous fix was not correct.
2006-12-04 23:45:40 +01:00
..
core.c Introduced STRING_DIR_SEP for better portability 2006-07-02 08:44:52 +02:00
core.h Remove now useless $Id: lines. 2005-10-21 09:14:07 +02:00
hooks.c Fix crashes and problems with rerendering when preformatting with Ruby 2006-12-04 23:45:40 +01:00
hooks.h Remove now useless $Id: lines. 2005-10-21 09:14:07 +02:00
Makefile path_to_top -> top_builddir 2005-10-20 04:00:35 +02:00
ruby.c Remove now useless $Id: lines. 2005-10-21 09:14:07 +02:00
ruby.h Remove now useless $Id: lines. 2005-10-21 09:14:07 +02:00