Skip to content

Conversation

hebasto
Copy link
Member

@hebasto hebasto commented Oct 18, 2019

Fix #17179

@hebasto
Copy link
Member Author

hebasto commented Oct 18, 2019

@fanquake Could "Needs gitian build" label be assigned to this PR?

@jonasschnelli
Copy link
Contributor

Concept ACK.
It fairly is a bit of a hack.
Could we also add a link to the macOS documentation where this magical parameter is described?

@promag
Copy link
Contributor

promag commented Oct 18, 2019

Concept ACK, code LGTM.

@hebasto
Copy link
Member Author

hebasto commented Oct 18, 2019

Could we also add a link to the macOS documentation where this magical parameter is described?

All the links to the macOS docs I found are dead, unfortunately ((

@laanwj
Copy link
Member

laanwj commented Oct 18, 2019

ACK b5f0be3

I agree it's a hack, but it's also harmless, and apparently the same Qt used to do, when we still passed the command line arguments to it.

@fanquake
Copy link
Member

@jonasschnelli the Qt filtering was happening here.

#ifdef Q_OS_MAC
        } else if (strncmp(arg, "-psn_", 5) == 0) {
            // eat "-psn_xxxx" on Mac, which is passed when starting an app from Finder.

Documentation on the -psn_ params seems to be pretty light.

@maflcko
Copy link
Member

maflcko commented Oct 18, 2019

unsigned ACK b5f0be3

@promag
Copy link
Contributor

promag commented Oct 18, 2019

ACK b5f0be3.

Copy link
Member

@fanquake fanquake left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK b5f0be3 - Tested that this fixes #17179.

fanquake added a commit that referenced this pull request Oct 18, 2019
b5f0be3 util: Filter out macOS process serial number (Hennadii Stepanov)

Pull request description:

  Fix #17179

ACKs for top commit:
  laanwj:
    ACK b5f0be3
  MarcoFalke:
    unsigned ACK b5f0be3
  promag:
    ACK b5f0be3.
  fanquake:
    ACK b5f0be3 - Tested that this fixes #17179.

Tree-SHA512: 84ce859e53ebc7ad2d0a45e954243ef6efee640f1e0212322f68a317e4361a216ecb4b5a3a410ab31613adc285c8d3840fbf41fa9da9019be3d734db6b9427cd
@fanquake fanquake merged commit b5f0be3 into bitcoin:master Oct 18, 2019
@hebasto hebasto deleted the patch-1 branch October 19, 2019 15:20
fanquake pushed a commit to fanquake/bitcoin that referenced this pull request Oct 19, 2019
@fanquake fanquake mentioned this pull request Oct 19, 2019
laanwj added a commit that referenced this pull request Oct 21, 2019
334e27e util: Filter out macOS process serial number (Hennadii Stepanov)
e1bacb5 rpc: fix -rpcclienttimeout 0 option (Fabian Jahr)
6a45766 doc: update bips.md with buried BIP9 deployments (MarcoFalke)
dc0fe7a util: Filter control characters out of log messages (Wladimir J. van der Laan)
ba46f39 init: Change fallback locale to C.UTF-8 (Wladimir J. van der Laan)

Pull request description:

  Backports the following PRs to the `0.19.0` [branch](https://github.com/bitcoin/bitcoin/tree/0.19):
  * #17184 -  util: Filter out macOS process serial number
  * #17131 - rpc: fix -rpcclienttimeout 0 option
  * #17111 - doc: update bips.md with buried BIP9 deployments
  * #17095 - util: Filter control characters out of log messages
  * #17085 - init: Change fallback locale to C.UTF-8

ACKs for top commit:
  laanwj:
    ACK  334e27e

Tree-SHA512: 436064c00f98bae8475d0e46ab104df6fc9bdae4927dcdd5cffa4242704256c749352e9cabb23cf806911b1c303ddcb0208a42d540412e98da2513176e5e1023
HashUnlimited pushed a commit to HashUnlimited/chaincoin that referenced this pull request Nov 17, 2019
fxtc pushed a commit to fxtc/fxtc that referenced this pull request Nov 25, 2019
fxtc pushed a commit to fxtc/fxtc that referenced this pull request Nov 25, 2019
kwvg added a commit to kwvg/dash that referenced this pull request Jul 15, 2021
kwvg added a commit to kwvg/dash that referenced this pull request Jul 15, 2021
kwvg added a commit to kwvg/dash that referenced this pull request Jul 20, 2021
kwvg added a commit to kwvg/dash that referenced this pull request Jul 20, 2021
kwvg added a commit to kwvg/dash that referenced this pull request Jul 20, 2021
kwvg added a commit to kwvg/dash that referenced this pull request Jul 20, 2021
kwvg added a commit to kwvg/dash that referenced this pull request Aug 1, 2021
Fabcien pushed a commit to Bitcoin-ABC/bitcoin-abc that referenced this pull request Aug 24, 2021
Summary: This is a backport of [[bitcoin/bitcoin#17184 | core#17184]]

Test Plan:
I don't have a MacOS to test this. This should be trivial enough a change to simply check that it doesn't break regular CI builds and a standard local build.
`ninja all check-all`

Reviewers: #bitcoin_abc, majcosta

Reviewed By: #bitcoin_abc, majcosta

Differential Revision: https://reviews.bitcoinabc.org/D9901
kwvg added a commit to kwvg/dash that referenced this pull request Aug 24, 2021
kwvg added a commit to kwvg/dash that referenced this pull request Aug 24, 2021
kwvg added a commit to kwvg/dash that referenced this pull request Aug 25, 2021
kwvg added a commit to kwvg/dash that referenced this pull request Aug 26, 2021
kwvg added a commit to kwvg/dash that referenced this pull request Aug 26, 2021
kwvg added a commit to kwvg/dash that referenced this pull request Aug 27, 2021
kwvg added a commit to kwvg/dash that referenced this pull request Aug 30, 2021
kwvg added a commit to kwvg/dash that referenced this pull request Aug 31, 2021
Munkybooty pushed a commit to Munkybooty/dash that referenced this pull request Dec 9, 2021
334e27e util: Filter out macOS process serial number (Hennadii Stepanov)
e1bacb5 rpc: fix -rpcclienttimeout 0 option (Fabian Jahr)
6a45766 doc: update bips.md with buried BIP9 deployments (MarcoFalke)
dc0fe7a util: Filter control characters out of log messages (Wladimir J. van der Laan)
ba46f39 init: Change fallback locale to C.UTF-8 (Wladimir J. van der Laan)

Pull request description:

  Backports the following PRs to the `0.19.0` [branch](https://github.com/bitcoin/bitcoin/tree/0.19):
  * bitcoin#17184 -  util: Filter out macOS process serial number
  * bitcoin#17131 - rpc: fix -rpcclienttimeout 0 option
  * bitcoin#17111 - doc: update bips.md with buried BIP9 deployments
  * bitcoin#17095 - util: Filter control characters out of log messages
  * bitcoin#17085 - init: Change fallback locale to C.UTF-8

ACKs for top commit:
  laanwj:
    ACK  334e27e

Tree-SHA512: 436064c00f98bae8475d0e46ab104df6fc9bdae4927dcdd5cffa4242704256c749352e9cabb23cf806911b1c303ddcb0208a42d540412e98da2513176e5e1023
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Dec 16, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

macos: shutdown on first run due to -psn_ parameter
6 participants