Descriptionruntime: improve mmap return value checking for netbsd/openbsd
Rather than just checking for ENOMEM, check for a return value of less
than 4096, so that we catch other errors such as EACCES and EINVAL.
Patch Set 1 #Patch Set 2 : diff -r ee1b8339ab04 https://go.googlecode.com/hg/ #Patch Set 3 : diff -r ff779e477085 https://go.googlecode.com/hg/ #Patch Set 4 : diff -r 9ca85035f95a https://go.googlecode.com/hg/ #
MessagesTotal messages: 3
|