#24933 [NEW]: missing increment in configure_options generation of PEAR_Common::xmlFromInfo()

From: Date: Mon, 04 Aug 2003 12:45:05 +0000
Subject: #24933 [NEW]: missing increment in configure_options generation of PEAR_Common::xmlFromInfo()
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-19248@lists.php.net to get a copy of this message
From: greg at chiaraquartet dot net Operating system: na PHP version: 4.3.3RC2 PHP Bug Type: PEAR related Bug description: missing increment in configure_options generation of PEAR_Common::xmlFromInfo() Description: ------------ This is a really minor bug, as it only affects error output. The variable $i is used to display which configure option has an error, if any, and is never incremented, so errors will always display as occurring in the first configure option. Greg Index: pear/PEAR/Common.php =================================================================== RCS file: /repository/php-src/pear/PEAR/Common.php,v retrieving revision 1.95 diff -u -r1.95 Common.php --- pear/PEAR/Common.php 4 Aug 2003 10:32:11 -0000 1.95 +++ pear/PEAR/Common.php 4 Aug 2003 12:41:59 -0000 @@ -1104,6 +1104,7 @@ if (empty($c['prompt'])) { $errors[] = "configure option $i: missing prompt"; } + $i++; } } if (empty($info['filelist'])) { -- Edit bug report at http://bugs.php.net/?id=24933&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=24933&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=24933&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=24933&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=24933&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=24933&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=24933&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=24933&r=support Expected behavior: http://bugs.php.net/fix.php?id=24933&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=24933&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=24933&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=24933&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24933&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=24933&r=dst IIS Stability: http://bugs.php.net/fix.php?id=24933&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=24933&r=gnused

« previous php.pear.dev (#19248) next »