mirror of
https://gitlab.gnome.org/GNOME/libxslt
synced 2025-07-31 02:43:06 +03:00
fix an infinite loop bug Daniel
* python/generator.py: fix an infinite loop bug Daniel svn path=/trunk/; revision=1464
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
Tue Apr 8 10:19:01 CEST 2008 Daniel Veillard <daniel@veillard.com>
|
||||||
|
|
||||||
|
* python/generator.py: fix an infinite loop bug
|
||||||
|
|
||||||
Thu Apr 3 09:32:49 CEST 2008 Daniel Veillard <daniel@veillard.com>
|
Thu Apr 3 09:32:49 CEST 2008 Daniel Veillard <daniel@veillard.com>
|
||||||
|
|
||||||
* libxslt/xsltutils.c: avoid a scary realloc() loop should fix #520383
|
* libxslt/xsltutils.c: avoid a scary realloc() loop should fix #520383
|
||||||
|
@ -673,6 +673,9 @@ def writeDoc(name, args, indent, output):
|
|||||||
output.write(indent)
|
output.write(indent)
|
||||||
output.write('"""')
|
output.write('"""')
|
||||||
while len(val) > 60:
|
while len(val) > 60:
|
||||||
|
if val[0] == " ":
|
||||||
|
val = val[1:]
|
||||||
|
continue
|
||||||
str = val[0:60]
|
str = val[0:60]
|
||||||
i = string.rfind(str, " ");
|
i = string.rfind(str, " ");
|
||||||
if i < 0:
|
if i < 0:
|
||||||
|
Reference in New Issue
Block a user