[pypy-svn] r16102 - pypy/dist/pypy/translator/c

pedronis at codespeak.net pedronis at codespeak.net
Tue Aug 16 22:18:48 CEST 2005


Author: pedronis
Date: Tue Aug 16 22:18:47 2005
New Revision: 16102

Modified:
   pypy/dist/pypy/translator/c/node.py
Log:
NULL (pointer) vs NUL char



Modified: pypy/dist/pypy/translator/c/node.py
==============================================================================
--- pypy/dist/pypy/translator/c/node.py	(original)
+++ pypy/dist/pypy/translator/c/node.py	Tue Aug 16 22:18:47 2005
@@ -180,7 +180,7 @@
         self.LLTYPE = ARRAY
         original_varlength = varlength
         if ARRAY is STR.chars:
-            varlength += 1   # for the NULL char at the end of the string
+            varlength += 1   # for the NUL char terminator at the end of the string
         self.varlength = varlength
         if original_varlength == 1:
             basename = 'array'



More information about the Pypy-commit mailing list