Fix some typos in TODO and C coding standard document.

This commit is contained in:
Gregory Nutt 2019-01-11 08:57:35 -06:00
parent 44d6ce5785
commit c98309db84
2 changed files with 2 additions and 2 deletions

View File

@ -1000,7 +1000,7 @@ int animals(int animal)
All C statements (and case selectors) lie on lines that are multiples of 4 spaces (beginning with an indentation of two): 2, 6, 10, ... (4*n + 2) (for indentation level n = 0, 1, ...)
</p></li>
<li><p>
braces lie on a separate line also indented by multiple of 4 spaces: 4, 8, 12, ... 4*n (for indentation level n = 1, 2, ...)
Braces lie on a separate line also indented by multiple of 4 spaces: 4, 8, 12, ... 4*n (for indentation level n = 1, 2, ...)
</p></li>
</ul>
<p>

2
TODO
View File

@ -2029,7 +2029,7 @@ o File system / Generic drivers (fs/, drivers/)
socket descriptors: if a descriptor is in one range then it is
recognized as a file descriptor; if it is in another range
then it is recognized as a socket descriptor. These separate
descriptor ranges can cause problems, for example, they makes
descriptor ranges can cause problems, for example, they make
dup'ing descriptors with dup2() problematic. The two groups
of descriptors are really indices into two separate tables:
On an array of file structures and the other an array of