Bug #13938 Updated: Windows-newlines are counted twice
| From: | mfischer@php.net | Date: | Fri, 14 Dec 2001 19:11:52 +0000 |
| Subject: | Bug #13938 Updated: Windows-newlines are counted twice | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-73800@lists.php.net to get a copy of this message | ||
ID: 13938
Updated by: mfischer
Reported By: troy@leaver.com
Status: Feedback
Bug Type: Scripting Engine problem
Operating System: WinNT 4.0
PHP Version: 4.0.6
New Comment:
Originator of this BR: please make a zipped version of such a bogus behaving script for download so
we can play with it.
Previous Comments:
------------------------------------------------------------------------
[2001-12-14 13:30:01] yohgaki@php.net
Could you try 4.1.0 and report the result ?
------------------------------------------------------------------------
[2001-11-10 11:56:55] sander@php.net
I'm always using Windows-newlines on Windows. But I never experienced this, neither with the
Apache-module, nor with the CGI-executable.
------------------------------------------------------------------------
[2001-11-09 10:54:50] troy@leaver.com
Ok, Gotchya. If it would help at all, I can change to Unix style with Homesite and let you know if
the line is correctly identified.
Also, I'm very suprised that this has not been reported previously. 4.0.6 has been out for
awhile, and I'm sure there must be some other Windows PHP users out there. Is there any way
that this has anything to do with the ISAPI dll I'm using vs cgi, or possibly the obscure web
server software I'm using? I'm using a web server called Sambar Server (www.sambar.com),
which is not widely used.
I just figure somebody else would be complaining about this if it happened under IIS.
------------------------------------------------------------------------
[2001-11-09 10:37:22] jeroen@php.net
I didn't say it wasn't a bug, I was trying to track down the problem.
Changed summary.
(the *nix php version handles winnewlines correctly)
------------------------------------------------------------------------
[2001-11-09 10:17:41] troy@leaver.com
Yes, I am using Windows, and the Windows convention is CR+LF, while I guess the Unix convention is
LF only. However, the Windows version of PHP should understand the difference, in fact version
4.0.4pl1 worked fine. I still consider this a bug. You are correct, the error in the script I was
working on earlier this morning was very close to line 919.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/?id=13938
Edit this bug report at http://bugs.php.net/?id=13938&edit=1