#29071 [NEW]: CLI returns an extra carriage return after exits.
| From: | nathan at nightsys dot net | Date: | Fri, 09 Jul 2004 05:13:58 +0000 |
| Subject: | #29071 [NEW]: CLI returns an extra carriage return after exits. | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-61946@lists.php.net to get a copy of this message | ||
From: nathan at nightsys dot net
Operating system: Linux 2.4.26 (Gentoo)
PHP version: 5.0.0RC3
PHP Bug Type: Output Control
Bug description: CLI returns an extra carriage return after exits.
Description:
------------
CLI executable returns an extra carriage return after exit, example
below.
Linux nathan1 2.4.26-gentoo-r4 #1 SMP Fri Jul 9 12:42:20 EST 2004 i686
Intel(R) Pentium(R) 4 CPU 2.00GHz GenuineIntel GNU/Linux
Dont know if the kernel upgrade (from 2.4.25) could have affected this.
Reproduce code:
---------------
/usr/local/php/bin/php -v
Expected result:
----------------
nathan@nathan1 nathan $ /usr/local/php/bin/php -v
PHP 5.0.0RC3 (cli) (built: Jul 1 2004 14:52:38)
Copyright (c) 1997-2004 The PHP Group
Zend Engine v2.0.0RC3, Copyright (c) 1998-2004 Zend Technologies
nathan@nathan1 nathan $
Actual result:
--------------
nathan@nathan1 nathan $ /usr/local/php/bin/php -v
PHP 5.0.0RC3 (cli) (built: Jul 1 2004 14:52:38)
Copyright (c) 1997-2004 The PHP Group
Zend Engine v2.0.0RC3, Copyright (c) 1998-2004 Zend Technologies
nathan@nathan1 nathan $
nathan@nathan1 nathan $
--
Edit bug report at http://bugs.php.net/?id=29071&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=29071&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=29071&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=29071&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=29071&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=29071&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=29071&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=29071&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=29071&r=support
Expected behavior: http://bugs.php.net/fix.php?id=29071&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=29071&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=29071&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=29071&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=29071&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=29071&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=29071&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=29071&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=29071&r=float