From e548c70dde9f70a50fa177dc5ce0512a59b613c4 Mon Sep 17 00:00:00 2001 From: ewt Date: Fri, 17 Oct 1997 03:12:03 +0000 Subject: [PATCH] when evaluating conditionals, array iteration number stays the same CVS patchset: 1861 CVS date: 1997/10/17 03:12:03 --- Makefile.in | 4 ++-- lib/header.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile.in b/Makefile.in index 927a834..87ede9d 100644 --- a/Makefile.in +++ b/Makefile.in @@ -168,12 +168,12 @@ depend: (cd $$d; $(MAKE) $@) ;\ done -.PHONY noconfig +.PHONY: noconfig noconfig: find . -name "Makefile" -exec rm {} \; rm -f *gz *rpm config.* -.PHONY archive +.PHONY: archive archive: @echo " " @echo "I hope you checked everything out and made sure it builds" diff --git a/lib/header.c b/lib/header.c index 86fec96..a1ad35c 100644 --- a/lib/header.c +++ b/lib/header.c @@ -1649,7 +1649,7 @@ static char * singleSprintf(Header h, struct sprintfToken * token, for (i = 0; i < condNumFormats; i++) { thisItem = singleSprintf(h, condFormat + i, - extensions, extCache, i); + extensions, extCache, element); thisItemLen = strlen(thisItem); if ((thisItemLen + len) >= alloced) { alloced = (thisItemLen + len) + 200; -- 2.7.4