From:             jsgoupil at lookstrike dot com
Operating system: WinXP
PHP version:      5.0.0RC2
PHP Bug Type:     Output Control
Bug description:  Counting Twice EOL ^M

Description:
------------
We are currently working on WinXP and we change the CVS server to linux.
Now some lines are counted twice when we do an error. So it says "error
line 8" (supposed to be 4).

If we open the file with NotePad on Windows, we got the correct result (no
double line)
If we open the file with WordPad on Windows, we got a wrong result
(everything is on the same line)
If we open the file with vim on Linux, we got ^M at the end of the line.

We can delete these ^M with linux, but there is no way to delete it easily
with Windows.

Expected result:
----------------
Just count Once line even they finished by a ^M

Actual result:
--------------
Counting twice line with ^M

-- 
Edit bug report at http://bugs.php.net/?id=28665&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=28665&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=28665&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=28665&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=28665&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=28665&r=needtrace
Need Reproduce Script:      http://bugs.php.net/fix.php?id=28665&r=needscript
Try newer version:          http://bugs.php.net/fix.php?id=28665&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=28665&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=28665&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=28665&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=28665&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=28665&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28665&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=28665&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=28665&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=28665&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=28665&r=float

Reply via email to