#23296 [Com]: Writing lines to file breaks new line separation
| From: | jerry at reininger dot org | Date: | Tue, 29 Apr 2003 13:21:38 +0000 |
| Subject: | #23296 [Com]: Writing lines to file breaks new line separation | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-38710@lists.php.net to get a copy of this message | ||
ID: 23296
Comment by: jerry at reininger dot org
Reported By: gfraley5 at earthlink dot net
Status: Bogus
Bug Type: Filesystem function related
Operating System: WinXP, Win2k
PHP Version: 4.3.2RC1
New Comment:
This is a bug and I too have been able to reproduce it like Gaylen has
said, even on a Windows 98SE box.
Previous Comments:
------------------------------------------------------------------------
[2003-04-21 12:39:39] gfraley5 at earthlink dot net
Regardless, it does not work and \n does work in windows.
------------------------------------------------------------------------
[2003-04-21 12:29:15] sniper@php.net
I can _NOT_ reproduce this. (and \r\n is the only correct line-ending
in windows/dos)
------------------------------------------------------------------------
[2003-04-21 10:27:02] gfraley5 at earthlink dot net
I just pulled the latest win32 package and it does not work on XP or
win2k. It fails 100% of the time. It works 100% of the time when I
reinstall 4.3.1. Here is the link I am pulling the latest snap from
http://snaps.php.net/win32/php4-win32-STABLE-200304210830.zip.
If this
is correct, then the code does not work. Also, as to the \n or \r\n.
\n is working 100% of the time, on Windows, on php4.3.1 and prior. The
fact that I can go on 2 different versions of windows in 2 different
locations and reproduce this validates the test, imo. The win2k
version I am using is 5.00.2195.
------------------------------------------------------------------------
[2003-04-21 09:54:23] sniper@php.net
Can not reproduce in win2k using latest STABLE snapshot.
(and windows expects \r\n as line-end)
------------------------------------------------------------------------
[2003-04-21 09:45:55] gfraley5 at earthlink dot net
My mistake. It is not working on Win32.
------------------------------------------------------------------------
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/23296
--
Edit this bug report at http://bugs.php.net/?id=23296&edit=1