Closed
Bug 275644
Opened 20 years ago
Closed 20 years ago
OS conformance - unix vs. dos linefeeds
Categories
(Firefox Build System :: General, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: woehlkmp, Assigned: bryner)
Details
Windows versions of Moz apps (FF and TB observed, may also affect others) write plaintext files with UNIX-style line feeds instead of DOS-style CRLF as expected. Presumably affects all M$ operating systems, but is correct behavior on *nix. Steps to reproduce: 1. Run a Moz application (e.g. FF, TB) 2. Open chrome://chrome.rdf (or any plaintext file written by the aforementioned program) in Notepad.exe Actual results: File is a mess of wrapped lines and 'garbage' characters. Expected results: File has linefeeds that conform to OS specs.
Updated•20 years ago
|
Assignee: general → bryner
Component: DOM: Load and Save → Build Config
Product: Core → Firefox
QA Contact: ian → asa
Version: Trunk → unspecified
Comment 1•20 years ago
|
||
This has nothing to do with OS conformance. Our whole build system is built on UNIX linefeeds and that's not going to change. -> WONTFIX
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → WONTFIX
| Reporter | ||
Comment 2•20 years ago
|
||
I don't get it. If you're going to write text files (as oposed to binary files), what's the problem writing properly formatted text files? Or for that matter, why not just open the files in text mode and let the system handle the translation?
Comment 3•20 years ago
|
||
Since Firefox, Thunderbird and other Mozilla-based apps are cross-platform by nature, our build system and in the end our linefeed format also has to be cross-platform. We use UNIX linefeeds purely for historical reasons, since our build system is UNIX-based. Changing the linefeed would have to be done during or after building the relevant application, which would prolong our build process and give us no serious benefit, which is why this is not an option.
Updated•6 years ago
|
Component: Build Config → General
Product: Firefox → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•