diff options
author | cvs2svn <cvs2svn@FreeBSD.org> | 2008-12-19 21:12:36 +0000 |
---|---|---|
committer | cvs2svn <cvs2svn@FreeBSD.org> | 2008-12-19 21:12:36 +0000 |
commit | 616aaf4b1fc83a87f7a49e0e81e8f7c9db6dbcad (patch) | |
tree | eca5ff8ef89030731d682a14daebcc8cbd2245ac /lang/python27/files/patch-modules_mmapmodule.c | |
parent | 856c5bf9f133ae5d553d972d5a940586d3f56048 (diff) |
This commit was manufactured by cvs2svn to create tag 'RELEASE_7_1_0'.release/7.1.0
Notes
Notes:
svn path=/head/; revision=224474
svn path=/tags/RELEASE_7_1_0/; revision=224475; tag=release/7.1.0
Diffstat (limited to 'lang/python27/files/patch-modules_mmapmodule.c')
-rw-r--r-- | lang/python27/files/patch-modules_mmapmodule.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/lang/python27/files/patch-modules_mmapmodule.c b/lang/python27/files/patch-modules_mmapmodule.c deleted file mode 100644 index 60f3d71ff349..000000000000 --- a/lang/python27/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); |