Merge lp:~karl-excors/gommap/gommap-darwin64 into lp:gommap

Proposed by Karl Möller
Status: Merged
Merged at revision: 15
Proposed branch: lp:~karl-excors/gommap/gommap-darwin64
Merge into: lp:gommap
Diff against target: 12 lines (+8/-0)
1 file modified
mmap_darwin_amd64.go (+8/-0)
To merge this branch: bzr merge lp:~karl-excors/gommap/gommap-darwin64
Reviewer Review Type Date Requested Status
Dave Chapeskie (community) Abstain
Matt Joiner (community) Approve
Wade Simmons (community) Approve
Gustavo Niemeyer Pending
Review via email: mp+129364@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Wade Simmons (wadesimmons) wrote :

This works for me on OS X 10.8.2.

review: Approve
Revision history for this message
Matt Joiner (anacrolix) wrote :

Works on OS X 10.9.2 amd64.

Revision history for this message
Matt Joiner (anacrolix) :
review: Approve
Revision history for this message
Dave Chapeskie (bzr-dave) :
review: Approve
Revision history for this message
Dave Chapeskie (bzr-dave) :
review: Abstain

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== added file 'mmap_darwin_amd64.go'
2--- mmap_darwin_amd64.go 1970-01-01 00:00:00 +0000
3+++ mmap_darwin_amd64.go 2012-10-12 08:09:24 +0000
4@@ -0,0 +1,8 @@
5+package gommap
6+
7+import "syscall"
8+
9+func mmap_syscall(addr, length, prot, flags, fd uintptr, offset int64) (uintptr, error) {
10+ addr, _, err := syscall.Syscall6(syscall.SYS_MMAP, addr, length, prot, flags, fd, uintptr(offset))
11+ return addr, err
12+}

Subscribers

People subscribed via source and target branches

to all changes: