Trivial update to coding standard document.

This commit is contained in:
Gregory Nutt 2018-10-21 17:21:52 -06:00
parent fb3dc07a42
commit 21d2dfc80b

View File

@ -259,7 +259,7 @@
<h2>1.2 <a name="lines">Lines</a></h2>
<p>
<b>Line Endings</b>.
Files should be formatted with <code>\n</code> as the line ending (Unix-style line endings), not <code>\r\n</code> (Windows line endings).
Files should be formatted with the newline character (<code>\n</code>) as the line ending (Unix-style line endings) and specifically <i>not</i> the carriage return, newline sequence (<code>\r\n</code>) used with Windows-style line endings.
There should be no extra whitespace at the end of the line.
In addition, all text files should end in a single newline (<code>\n</code>). This avoids the <i>"No newline at end of file"</i> warning generated by certain tools.
</p>