[pypy-commit] pypy default: Merge heads
timo_jbo
noreply at buildbot.pypy.org
Wed Oct 26 03:03:23 CEST 2011
Author: Timo Paulssen <timonator at perpetuum-immobile.de>
Branch:
Changeset: r48468:c0c84696f00b
Date: 2011-10-26 03:01 +0200
http://bitbucket.org/pypy/pypy/changeset/c0c84696f00b/
Log: Merge heads
diff --git a/pypy/rpython/module/ll_os.py b/pypy/rpython/module/ll_os.py
--- a/pypy/rpython/module/ll_os.py
+++ b/pypy/rpython/module/ll_os.py
@@ -959,8 +959,6 @@
os_ftruncate(rffi.cast(rffi.INT, fd),
rffi.cast(rffi.LONGLONG, length)))
if res < 0:
- # Note: for consistency we raise OSError, but CPython
- # raises IOError here
raise OSError(rposix.get_errno(), "os_ftruncate failed")
return extdef([int, r_longlong], s_None,
More information about the pypy-commit
mailing list