[pypy-commit] pypy more-rposix: Fix translation

amauryfa noreply at buildbot.pypy.org
Mon Apr 6 13:58:32 CEST 2015


Author: Amaury Forgeot d'Arc <amauryfa at gmail.com>
Branch: more-rposix
Changeset: r76722:aaf75c2912cb
Date: 2015-04-06 13:58 +0200
http://bitbucket.org/pypy/pypy/changeset/aaf75c2912cb/

Log:	Fix translation

diff --git a/rpython/rlib/rposix_stat.py b/rpython/rlib/rposix_stat.py
--- a/rpython/rlib/rposix_stat.py
+++ b/rpython/rlib/rposix_stat.py
@@ -417,6 +417,7 @@
         return build_statvfs_result(stresult)
 
 @replace_os_function('statvfs')
+ at specialize.argtype(0)
 def statvfs(path):
     with lltype.scoped_alloc(STATVFS_STRUCT.TO) as stresult:
         arg = _as_bytes0(path)


More information about the pypy-commit mailing list