[pypy-svn] r14844 - pypy/dist/pypy/rpython/module

ale at codespeak.net ale at codespeak.net
Thu Jul 21 03:59:13 CEST 2005


Author: ale
Date: Thu Jul 21 03:59:11 2005
New Revision: 14844

Modified:
   pypy/dist/pypy/rpython/module/ll_os.py
Log:
Remember to convert to rstr

Modified: pypy/dist/pypy/rpython/module/ll_os.py
==============================================================================
--- pypy/dist/pypy/rpython/module/ll_os.py	(original)
+++ pypy/dist/pypy/rpython/module/ll_os.py	Thu Jul 21 03:59:11 2005
@@ -117,7 +117,7 @@
 ll_os_fstat.suggested_primitive = True
 
 def ll_os_stat(path):
-    stat = os.fstat(path)
+    stat = os.stat(from_rstr(path))
     stat_to_tuple(stat)
     return tup
 ll_os_stat.suggested_primitive = True
\ No newline at end of file



More information about the Pypy-commit mailing list