[pypy-commit] pypy default: Issue #3125
arigo
pypy.commits at gmail.com
Tue Dec 3 16:44:18 EST 2019
Author: Armin Rigo <arigo at tunes.org>
Branch:
Changeset: r98227:c3817c90d7af
Date: 2019-12-03 22:43 +0100
http://bitbucket.org/pypy/pypy/changeset/c3817c90d7af/
Log: Issue #3125
Ooops!
diff --git a/rpython/rlib/rposix.py b/rpython/rlib/rposix.py
--- a/rpython/rlib/rposix.py
+++ b/rpython/rlib/rposix.py
@@ -800,7 +800,7 @@
DIRENT = rffi_platform.Struct('struct dirent',
[('d_name', lltype.FixedSizeArray(rffi.CHAR, 1)),
('d_ino', lltype.Signed)]
- + [('d_type', rffi.INT)] if HAVE_D_TYPE else [])
+ + ([('d_type', rffi.INT)] if HAVE_D_TYPE else []))
if HAVE_D_TYPE:
DT_UNKNOWN = rffi_platform.ConstantInteger('DT_UNKNOWN')
DT_REG = rffi_platform.ConstantInteger('DT_REG')
More information about the pypy-commit
mailing list