Do not shadow variable, use deprecated MAP_ANON if MAP_ANONYMOUS is not defined#9063
Merged
laanwj merged 1 commit intobitcoin:masterfrom Nov 2, 2016
Merged
Conversation
laanwj
reviewed
Nov 2, 2016
| } | ||
|
|
||
| // Some systems (at least OS X) do not define MAP_ANONYMOUS yet and define | ||
| // MAP_ANON which is deprecated |
Member
There was a problem hiding this comment.
If MAP_ANON is deprecated, what is the new name?
Also: this passed Travis, how is that possible if it didn't exist on MacOSX?
Contributor
|
utACK FreeBSD manpage Linux manpage OSX 10.11 manpage |
Member
|
So apparently all three OSes support MAP_ANONYMOUS? What am I missing? |
Contributor
Author
|
My build machine is 10.10. |
Contributor
|
@paveljanik what does you 10.10s |
Contributor
Author
|
@jonasschnelli Nothing... |
Member
|
That's really strange. I really don't understand MacOSX' deprecation policy, from release to release it seems to oscillate wildly. In any case utACK. |
Contributor
Author
|
Interesting: but |
Contributor
Author
|
We are not alone: https://gmtk-trac.bitnamiapp.com/trac/gmtk/ticket/371 and others... |
laanwj
added a commit
that referenced
this pull request
Nov 2, 2016
…NONYMOUS is not defined 4a9f3c5 Do not shadow variable, use deprecated MAP_ANON if MAP_ANONYMOUS is not defined. (Pavel Janík)
codablock
pushed a commit
to codablock/dash
that referenced
this pull request
Jan 13, 2018
…f MAP_ANONYMOUS is not defined 4a9f3c5 Do not shadow variable, use deprecated MAP_ANON if MAP_ANONYMOUS is not defined. (Pavel Janík)
andvgal
pushed a commit
to energicryptocurrency/gen2-energi
that referenced
this pull request
Jan 6, 2019
…f MAP_ANONYMOUS is not defined 4a9f3c5 Do not shadow variable, use deprecated MAP_ANON if MAP_ANONYMOUS is not defined. (Pavel Janík)
CryptoCentric
pushed a commit
to absolute-community/absolute
that referenced
this pull request
Feb 15, 2019
…f MAP_ANONYMOUS is not defined 4a9f3c5 Do not shadow variable, use deprecated MAP_ANON if MAP_ANONYMOUS is not defined. (Pavel Janík)
zkbot
added a commit
to zcash/zcash
that referenced
this pull request
Sep 29, 2020
Locked memory manager Add a pool for locked memory chunks, replacing `LockedPageManager`. Cherry-picked from the following upstream PRs: - bitcoin/bitcoin#8321 - bitcoin/bitcoin#8753 - bitcoin/bitcoin#9063 - bitcoin/bitcoin#9070 - bitcoin/bitcoin#11385 - bitcoin/bitcoin#12048 - Excludes change to benchmark. - bitcoin/bitcoin#15117 - bitcoin/bitcoin#16161 - Excludes Travis CI changes. - Includes change from bitcoin/bitcoin#13163 - bitcoin/bitcoin#15600 - bitcoin/bitcoin#18443 - Assorted small changes from: - bitcoin/bitcoin#9233 - bitcoin/bitcoin#10483 - bitcoin/bitcoin#10645 - bitcoin/bitcoin#10969 - bitcoin/bitcoin#11351 - bitcoin/bitcoin#19111 - Excludes change to `src/rpc/server.cpp` - bitcoin/bitcoin#9804 - Only the commit for `src/key.cpp` - bitcoin/bitcoin#9598
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Two minor fixes after merging #8753.