diff options
author | Hye-Shik Chang <perky@FreeBSD.org> | 2008-10-13 08:23:00 +0000 |
---|---|---|
committer | Hye-Shik Chang <perky@FreeBSD.org> | 2008-10-13 08:23:00 +0000 |
commit | 3813a5dbe7d0608965d690d98e1730ad5c8878ff (patch) | |
tree | c6bc50f8d593ff6f8b9f46161b022682d1e508cd /lang/python31/files/patch-modules_mmapmodule.c | |
parent | - Fix synergy crashing on copy and paste from Fedora (diff) |
Introduce two new versions of Python: 2.6 and 3.0rc1 (finally!)
Python 2.6 will be the next default python version when enough
testings of consumer ports are done. The new "2to3" program is
renamed to 2to3-2.6 and 2to3-3.0 for each version, respectively.
Repo-copied by: marcus
Notes
Notes:
svn path=/head/; revision=221521
Diffstat (limited to 'lang/python31/files/patch-modules_mmapmodule.c')
-rw-r--r-- | lang/python31/files/patch-modules_mmapmodule.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/lang/python31/files/patch-modules_mmapmodule.c b/lang/python31/files/patch-modules_mmapmodule.c deleted file mode 100644 index 60f3d71ff349..000000000000 --- a/lang/python31/files/patch-modules_mmapmodule.c +++ /dev/null @@ -1,11 +0,0 @@ ---- Modules/mmapmodule.c.orig 2006-08-22 14:57:07.000000000 +0100 -+++ Modules/mmapmodule.c 2008-08-30 10:16:13.000000000 +0100 -@@ -223,7 +223,7 @@ - return(NULL); - - /* silently 'adjust' out-of-range requests */ -- if ((self->pos + num_bytes) > self->size) { -+ if (num_bytes > self->size - self->pos) { - num_bytes -= (self->pos+num_bytes) - self->size; - } - result = Py_BuildValue("s#", self->data+self->pos, num_bytes); |