[pypy-commit] pypy use-file-star-for-file: add a comment
bdkearns
noreply at buildbot.pypy.org
Thu Sep 11 08:36:28 CEST 2014
Author: Brian Kearns <bdkearns at gmail.com>
Branch: use-file-star-for-file
Changeset: r73446:a03b54d0c322
Date: 2014-09-11 01:17 -0400
http://bitbucket.org/pypy/pypy/changeset/a03b54d0c322/
Log: add a comment
diff --git a/rpython/rlib/rfile.py b/rpython/rlib/rfile.py
--- a/rpython/rlib/rfile.py
+++ b/rpython/rlib/rfile.py
@@ -287,7 +287,7 @@
if not self._univ_newline:
return c_fread(buf, 1, n, stream)
- i = 0
+ i = 0 # XXX how to do ptrdiff (dst - buf) instead?
dst = buf
newlinetypes = self._newlinetypes
skipnextlf = self._skipnextlf
More information about the pypy-commit
mailing list