Mercurial > hg > mercurial-crew-with-dirclash
annotate templates/raw/fileannotate.tmpl @ 4131:1ca664c964e0
don't return uninitialized memory from bdiff.blocks()
bdiff.blocks() returns a dummy match at the end of both files; the
length of that chunk is never set, so it will sometimes contain random
heap garbage. There are apparently workarounds for this elsewhere:
# bdiff sometimes gives huge matches past eof, this check eats them,
author | Erling Ellingsen <erlingalf@gmail.com> |
---|---|
date | Tue, 20 Feb 2007 22:20:16 +0100 |
parents | a63be0dfa42e |
children |
rev | line source |
---|---|
1694
03cb6bf43a9b
Added raw view for file annotate in hgweb.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
diff
changeset
|
1 #header# |
03cb6bf43a9b
Added raw view for file annotate in hgweb.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
diff
changeset
|
2 #annotate%annotateline# |
03cb6bf43a9b
Added raw view for file annotate in hgweb.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
diff
changeset
|
3 #footer# |
03cb6bf43a9b
Added raw view for file annotate in hgweb.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
diff
changeset
|
4 |
03cb6bf43a9b
Added raw view for file annotate in hgweb.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
diff
changeset
|
5 |