commit | 02f3b879a704171ef295c08d37591f2741ef5c7e | [log] [tgz] |
---|---|---|
author | Nigel Tao <nigeltao@golang.org> | Tue Oct 18 16:10:24 2022 +1100 |
committer | Nigel Tao <nigeltao@golang.org> | Tue Oct 18 22:16:08 2022 +0000 |
tree | ebabc4daaec46f628629f7f2453870f1e600fa53 | |
parent | 5c77f4b2bbd775a85106750977b6581f50d56dd5 [diff] |
mmap: allow mapping a zero-sized file Fixes golang/go#56261 Change-Id: Iff450c457edf2b83b24b35199a2643ef9fed48ab Reviewed-on: https://go-review.googlesource.com/c/exp/+/443576 Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org> Reviewed-by: Nigel Tao (INACTIVE; USE @golang.org INSTEAD) <nigeltao@google.com>
This subrepository holds experimental and deprecated (in the old
directory) packages.
The idea for this subrepository originated as the pkg/exp
directory of the main repository, but its presence there made it unavailable to users of the binary downloads of the Go installation. The subrepository has therefore been created to make it possible to go get
these packages.
Warning: Packages here are experimental and unreliable. Some may one day be promoted to the main repository or other subrepository, or they may be modified arbitrarily or even disappear altogether.
In short, code in this subrepository is not subject to the Go 1 compatibility promise. (No subrepo is, but the promise is even more likely to be violated by go.exp than the others.)
Caveat emptor.