Author: Armin Rigo <[email protected]>
Branch: stmgc-c7
Changeset: r76551:f8b5ab275a97
Date: 2015-03-24 20:36 +0100
http://bitbucket.org/pypy/pypy/changeset/f8b5ab275a97/
Log: make sure the PYPYLOG file is created
diff --git a/rpython/translator/c/genc.py b/rpython/translator/c/genc.py
--- a/rpython/translator/c/genc.py
+++ b/rpython/translator/c/genc.py
@@ -816,6 +816,9 @@
print >> f, '\t/* XXX temporary workaround for late_initializations */'
print >> f, '\tsyscall(SYS_arch_prctl, ARCH_SET_GS, (uint64_t)0);'
+ # make sure the PYPYLOG file is created
+ print >> f, '\tpypy_debug_ensure_opened();'
+
bk = database.translator.annotator.bookkeeper
if bk.thread_local_fields:
print >> f, '\tRPython_ThreadLocals_ProgramInit();'
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit