diff options
Diffstat (limited to 'lang/python24/patches/patch-bb')
-rw-r--r-- | lang/python24/patches/patch-bb | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/lang/python24/patches/patch-bb b/lang/python24/patches/patch-bb deleted file mode 100644 index 7e6baf459ea..00000000000 --- a/lang/python24/patches/patch-bb +++ /dev/null @@ -1,13 +0,0 @@ -$NetBSD: patch-bb,v 1.1 2008/08/05 10:13:34 drochner Exp $ - ---- Modules/mmapmodule.c.orig 2008-08-05 12:00:52.000000000 +0200 -+++ Modules/mmapmodule.c -@@ -223,7 +223,7 @@ mmap_read_method(mmap_object *self, - 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); |