1 cset was pushed to core/stable: - simplify the return of the windTo meth...
marcel-111RdWWlOxkOkXtL6OYfHgC/[email protected] (Marcel van der Boom)
| Newsgroups | gmane.comp.cms.xaraya.bk-notices |
|---|---|
| Organization | Xaraya |
| Message-ID | <[email protected]> |
Changes were applied by marcel to core/stable level 10.
The following cset was applied:
ChangeSet
1.2138 05/02/03 21:22:08 [email protected] +2 -0
- simplify the return of the windTo method
- reformulate the loop, so loop invariant actually holds at the end.
Elaboration:
The reason that the previous code worked was a coincedence. For needles of length one there was no difference plus for the
xar:comment tag (which uses a longer needle) in most cases it didnt really matter cos we skip that anyway.
Fix for bugs 4032, 3977, 4013, 4020 and 3997
html/includes/xarBLCompiler.php
1.270 05/02/03 21:22:07 [email protected] +3 -5
- simplify the return of the windTo method
- reformulate the loop, so loop invariant actually holds at the end.
Elaboration:
The reason that the previous code worked was a coincedence. For needles of length one there was no difference plus for the
xar:comment tag (which uses a longer needle) in most cases it didnt really matter cos we skip that anyway.
html/includes/blnodes/tags/comment.php
1.8 05/02/03 21:22:07 [email protected] +4 -3
initial code was actually good, revert back to that, the problem was deeper down in windTo method for needles longer than 1
Links for the differences:
http://xaraya.com:15000/core/stable/[email protected]