1
0
mirror of https://github.com/rkd77/elinks.git synced 2025-02-02 15:09:23 -05:00
Thomas Adam d90702aeca Fix crashes and problems with rerendering when preformatting with Ruby
This reverts baf7b0e91da55376968e99f42bf62f7091a2a4b4:

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

which reverted 5145ae266a1a541fc26df046af65f7800c6e9b91:

	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
..
2005-10-21 09:14:07 +02:00
2005-10-21 09:14:07 +02:00
2005-10-20 04:00:35 +02:00
2005-10-21 09:14:07 +02:00
2005-10-21 09:14:07 +02:00