[pypy-commit] pypy default: End even these temporary C sources with an end-of-line.

arigo noreply at buildbot.pypy.org
Thu Apr 26 10:44:38 CEST 2012


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r54759:9803dee0cbdb
Date: 2012-04-25 22:03 +0200
http://bitbucket.org/pypy/pypy/changeset/9803dee0cbdb/

Log:	End even these temporary C sources with an end-of-line.

diff --git a/pypy/module/cpyext/api.py b/pypy/module/cpyext/api.py
--- a/pypy/module/cpyext/api.py
+++ b/pypy/module/cpyext/api.py
@@ -103,8 +103,8 @@
 """.split()
 for name in constant_names:
     setattr(CConfig_constants, name, rffi_platform.ConstantInteger(name))
-udir.join('pypy_decl.h').write("/* Will be filled later */")
-udir.join('pypy_macros.h').write("/* Will be filled later */")
+udir.join('pypy_decl.h').write("/* Will be filled later */\n")
+udir.join('pypy_macros.h').write("/* Will be filled later */\n")
 globals().update(rffi_platform.configure(CConfig_constants))
 
 def copy_header_files(dstdir):


More information about the pypy-commit mailing list