summaryrefslogtreecommitdiff
path: root/lang/python31/files/patch-modules_mmapmodule.c
diff options
context:
space:
mode:
authorcvs2svn <cvs2svn@FreeBSD.org>2008-11-19 10:43:57 +0000
committercvs2svn <cvs2svn@FreeBSD.org>2008-11-19 10:43:57 +0000
commitf982be45e81588a27383cd1a3eb12789b8498904 (patch)
tree07be283d015b2c39f95e655cb7328ff355bc47fa /lang/python31/files/patch-modules_mmapmodule.c
parent- Fix modes of the temp directory [1] (diff)
This commit was manufactured by cvs2svn to create tag 'RELEASE_6_4_0'.release/6.4.0
Diffstat (limited to 'lang/python31/files/patch-modules_mmapmodule.c')
-rw-r--r--lang/python31/files/patch-modules_mmapmodule.c11
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);