All pastes #1744285 Raw Edit

clueless

public text v1 · immutable
#1744285 ·published 2010-01-09 17:11 UTC
rendered paste body
Index: main/astobj2.c===================================================================--- main/astobj2.c	(revision 238997)+++ main/astobj2.c	(working copy)@@ -731,9 +731,10 @@ 				ast_free(cur);	/* free the link record */ 			} -			if ((match & CMP_STOP) || (multi_container == NULL)) {-				/* We found the only match we need */-				i = last;	/* force exit from outer loop */+			if ((match & CMP_STOP) ||+				((flags & (OBJ_MULTIPLE | OBJ_NODATA)) == OBJ_MULTIPLE && multi_container == NULL)) {+				/* Force exit from outside loop */+				i = last; 				break; 			} 		}