]> Cypherpunks repositories - gostls13.git/commit
runtime: fix freebsd/386 mmap
authorRuss Cox <rsc@golang.org>
Tue, 24 Aug 2010 17:04:02 +0000 (13:04 -0400)
committerRuss Cox <rsc@golang.org>
Tue, 24 Aug 2010 17:04:02 +0000 (13:04 -0400)
commite1e829b7866b0390e7c8e0dc425490b88264b67d
treea3e2ad094af3a8ffbbf8b58c77e05c8144012442
parentb1311cbc936e8f889719a865264c19c43a573886
runtime: fix freebsd/386 mmap

The runtime only passes 32 bits of file offset,
but the kernel wants 64 bits, so have to add
zeros explicitly in a copy of the arguments.

R=adg, Martin Neubauer
CC=golang-dev
https://golang.org/cl/1933044
src/pkg/runtime/freebsd/386/sys.s