#17197: Use CRLF for all text files written on Windows, accept either CRLF or LF on all platforms --------------------+------------------------------------ Reporter: teor | Owner: Type: defect | Status: new Priority: normal | Milestone: Tor: 0.2.8.x-final Component: Tor | Version: Keywords: | Actual Points: Parent ID: | Points: Sponsor: | --------------------+------------------------------------ In #17501, stem becomes confused because some text files written on Windows use CRLF, and others use LF.
We could use CRLF for all text files written on Windows, and accept either CRLF or LF on all platforms. Here is a list of files from DataDirectory with their line endings on Windows: {{{ CRLF cached-certs CRLF cached-consensus LF cached-descriptors LF cached-descriptors.new CRLF cached-microdesc-consensus LF cached-microdescs LF cached-microdescs.new CRLF state }}} We might want to review all files written by tor, including those only written by hidden services and any other components. -- Ticket URL: <https://trac.torproject.org/projects/tor/ticket/17197> Tor Bug Tracker & Wiki <https://trac.torproject.org/> The Tor Project: anonymity online _______________________________________________ tor-bugs mailing list tor-bugs@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs