On Fri, 10 Mar 2017, Manuel López-Ibáñez wrote:
>> I am currently translating GCC into German. During that, I noticed that
>> in some places the term "zero character" means '\0'. The official term
>> though is "null character", as per the C standard.
> I don't see anything explicit here: https://gcc.gnu.org/codingconventions.html
> But I believe we follow standards' language and it should always be "null
> character".
Agreed.
Joseph, do you also agree (and with the patch below to document this)?
Gerald
Index: codingconventions.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/codingconventions.html,v
retrieving revision 1.79
diff -u -r1.79 codingconventions.html
--- codingconventions.html 1 Mar 2017 12:53:57 -0000 1.79
+++ codingconventions.html 12 Mar 2017 21:26:56 -0000
@@ -439,6 +439,11 @@
<td></td>
</tr>
<tr>
+ <td>"null character"</td>
+ <td>"zero character"</td>
+ <td></td>
+ </tr>
+ <tr>
<td>"Objective-C"</td>
<td>"Objective C"</td>
</tr>