Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Mar 2010 16:22:37 +0100 (CET)
From:      Alexander Best <alexbestms@wwu.de>
To:        <freebsd-hackers@FreeBSD.org>
Subject:   Re: [patch] somebody please fix this outstanding mmap(2) bug
Message-ID:  <permail-2010032215223780e26a0b00007a34-a_best01@message-id.uni-muenster.de>

next in thread | raw e-mail | index | archive | help
  This is a MIME encoded multipart message.

--+permail-2010032215223780e26a0b00007a34-a_best01+
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

oops. forgot the patch. ;)

-- 
Alexander Best

--+permail-2010032215223780e26a0b00007a34-a_best01+
Content-Type: text/plain
Content-Transfer-Encoding: Base64
Content-Disposition: attachment; filename="vmmmap.c.patch.txt"

SW5kZXg6IHN5cy92bS92bV9tbWFwLmMKPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQotLS0gc3lzL3ZtL3ZtX21tYXAuYwko
cmV2aXNpb24gMjA1MzkwKQorKysgc3lzL3ZtL3ZtX21tYXAuYwkod29ya2luZyBjb3B5KQpAQCAt
MjQxLDE5ICsyNDEsMjMgQEAKIAkJICAgICgocHJvdCAmIChQUk9UX1JFQUQgfCBQUk9UX1dSSVRF
KSkgIT0gKFBST1RfUkVBRCB8IFBST1RfV1JJVEUpKSkKIAkJCXJldHVybiAoRUlOVkFMKTsKIAkJ
ZmxhZ3MgfD0gTUFQX0FOT047Ci0JCXBvcyA9IDA7CiAJfQogCi0JLyoKLQkgKiBBbGlnbiB0aGUg
ZmlsZSBwb3NpdGlvbiB0byBhIHBhZ2UgYm91bmRhcnksCi0JICogYW5kIHNhdmUgaXRzIHBhZ2Ug
b2Zmc2V0IGNvbXBvbmVudC4KLQkgKi8KLQlwYWdlb2ZmID0gKHBvcyAmIFBBR0VfTUFTSyk7Ci0J
cG9zIC09IHBhZ2VvZmY7CisJLyogSWYgTUFQX0FOT04gaGFzIGJlZW4gc2V0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24gYW5kCg==

--+permail-2010032215223780e26a0b00007a34-a_best01+--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?permail-2010032215223780e26a0b00007a34-a_best01>