configure: Fix infinite loop displaying config.summary
authorJonathan Liu <net147@gmail.com>
Mon, 3 Sep 2012 10:54:33 +0000 (20:54 +1000)
committerQt by Nokia <qt-info@nokia.com>
Mon, 3 Sep 2012 11:41:55 +0000 (13:41 +0200)
commitd6d67d90119ced0af3b45677a15d428ed349407c
treeb4babcb25dfa5f5361055b5d6eb27d742514302c
parentbe71325421b50057e0d439a4ea93e65d50d4ec88
configure: Fix infinite loop displaying config.summary

Displaying config.summary sometimes results in an infinite loop because
the loop condition only checks that failbit and badbit are not set.
The eofbit may be set with failbit and badbit not set.

Change-Id: I209480fbf114365fd4fdf1289c988a386f9f2562
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
tools/configure/configureapp.cpp