Merge branch 'smartlist_shorten' into maint-0.2.3

This commit is contained in:
Nick Mathewson
2012-07-18 10:14:14 -04:00
21 changed files with 166 additions and 193 deletions
+8
View File
@@ -0,0 +1,8 @@
o Code simplification and refactoring:
- Do not use SMARTLIST_FOREACH for any loop whose body exceeds
10 lines. Doing so in the past has led to hard-to-debug code.
The new style is to use the SMARTLIST_FOREACH_{BEGIN,END} pair.
Issue 6400.
- Do not nest SMARTLIST_FOREACH blocks within one another. Any
nested block ought to be using SMARTLIST_FOREACH_{BEGIN,END}.
Issue 6400.