DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: https://bugs.horde.org/ticket/14738
------------------------------------------------------------------------------
Ticket | 14738
Updated By | [email protected]
Summary | Failed asserts in Text_Diff in 'native' engine
Queue | Horde Framework Packages
Type | Bug
State | Feedback
Priority | 2. Medium
Milestone |
Patch |
Owners |
------------------------------------------------------------------------------
[email protected] (2018-09-23 19:07) wrote:
$a="a =
print (a)
print ()
print (a)
print ()
print (a)
";
$b = "a =
print ()
print (a)
print ()
print (a)
print ()
";
$diff = new Horde_Text_Diff('auto',[explode("\n",$a),explode("\n",$b)]);
produces:
PHP Warning: assert(): assert($y <= $this->seq[$k]) failed in
/usr/share/pear/Horde/Text/Diff/Engine/Native.php on line 199
PHP Stack trace:
PHP 1. {main}() /var/www/util/compute_metrics.php:0
PHP 2. Horde_Text_Diff->__construct() /var/www/util/compute_metrics.php:198
PHP 3. Horde_Text_Diff_Engine_Native->diff()
/usr/share/pear/Horde/Text/Diff.php:47
PHP 4. Horde_Text_Diff_Engine_Native->_compareseq()
/usr/share/pear/Horde/Text/Diff/Engine/Native.php:86
PHP 5. Horde_Text_Diff_Engine_Native->_diag()
/usr/share/pear/Horde/Text/Diff/Engine/Native.php:283
PHP 6. assert() /usr/share/pear/Horde/Text/Diff/Engine/Native.php:199
--
bugs mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.