Skip to content

Conversation

maflcko
Copy link
Member

@maflcko maflcko commented Feb 27, 2016

@maflcko maflcko force-pushed the Mf1602-trivial9 branch 3 times, most recently from cd7f0ce to fa444e9 Compare February 28, 2016 21:51
@maflcko maflcko changed the title [doc] Minor corrections to release notes and links [doc/log] Fix markdown syntax and line terminate LogPrint Feb 28, 2016
@@ -701,7 +701,7 @@ git merge commit are mentioned.
- #7112 `96b8025` reduce cs_main locks during tip update, more fluently update UI (Jonas Schnelli)
- #7206 `f43c2f9` Add "NODE_BLOOM" to guiutil so that peers don't get UNKNOWN[4] (Matt Corallo)
- #7282 `5cadf3e` fix coincontrol update issue when deleting a send coins entry (Jonas Schnelli)
- #7319 `1320300` Intro: Display required space (Jonas Schnelli)
- #7319 `1320300` Intro: Display required space (MarcoFalke)
Copy link
Member

Choose a reason for hiding this comment

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

Oops, yes, this was a backport

@laanwj
Copy link
Member

laanwj commented Feb 29, 2016

ACK fa100ec

@jonasschnelli
Copy link
Contributor

ACK fa100ecb9795fe4a6c4a0f928fc8e9858e979303

@btcdrak
Copy link
Contributor

btcdrak commented Feb 29, 2016

ACK

@laanwj
Copy link
Member

laanwj commented Feb 29, 2016

Tangential: Would be awesome to have a lint-er that checked these kinds of things: LogPrint[f]/strprintf number of arguments versus number of %, line breaks (although there are cases where you explicitly don't want them, but I they could be marked insome way).

@@ -2470,7 +2470,7 @@ void CNode::BeginMessage(const char* pszCommand) EXCLUSIVE_LOCK_FUNCTION(cs_vSen
ENTER_CRITICAL_SECTION(cs_vSend);
assert(ssSend.size() == 0);
ssSend << CMessageHeader(Params().MessageStart(), pszCommand, 0);
LogPrint("net", "sending: %s ", SanitizeString(pszCommand));
LogPrint("net", "sending: %s\n", SanitizeString(pszCommand));
Copy link
Member

Choose a reason for hiding this comment

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

Are you sure this is correct? I think this was supposed to be un-terminated, because other message-related commands continue the logging.

Copy link
Member Author

Choose a reason for hiding this comment

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

I remember I saw at least one instance which was wrong but I can't recall which one as I have deleted the debug.log in the meantime. I have reverted for now and will look into this later.

@laanwj laanwj merged commit fa26652 into bitcoin:master Mar 1, 2016
laanwj added a commit that referenced this pull request Mar 1, 2016
fa26652 Make sure LogPrintf strings are line-terminated (MarcoFalke)
fa97f95 [doc] Fix markdown (MarcoFalke)
fa06ce0 Fix doxygen comment for payTxFee (MarcoFalke)
@maflcko maflcko deleted the Mf1602-trivial9 branch March 1, 2016 18:33
laanwj pushed a commit that referenced this pull request Mar 11, 2016
- Fix doxygen comment for payTxFee
- [doc] Fix markdown
- Make sure LogPrintf strings are line-terminated

Github-Pull: #7617
Rebased-From: fa06ce0 fa97f95 fa26652
zander pushed a commit to bitcoinclassic/bitcoinclassic that referenced this pull request Apr 22, 2016
- Fix doxygen comment for payTxFee
- [doc] Fix markdown
- Make sure LogPrintf strings are line-terminated

Github-Pull: bitcoin#7617
Rebased-From: fa06ce0 fa97f95 fa26652

Conflicts:
	README.md
	doc/release-process.md
zkbot added a commit to zcash/zcash that referenced this pull request Dec 18, 2019
Bitcoin 0.12 cleanup PRs 2

Cherry-picked from the following upstream PRs:

- bitcoin/bitcoin#6631
- bitcoin/bitcoin#6664
  - Only the first commit (we already had the second through bitcoin/bitcoin#6825).
- bitcoin/bitcoin#6669
- bitcoin/bitcoin#6887
  - Only the non-QT parts.
- bitcoin/bitcoin#6962
- bitcoin/bitcoin#6822
  - Only first and third commits (we already had the second through an earlier PR).
- bitcoin/bitcoin#7136
  - Excludes Travis CI changes, and fixes to documents we don't have anymore.
- bitcoin/bitcoin#7084
- bitcoin/bitcoin#7509
- bitcoin/bitcoin#7617
- bitcoin/bitcoin#7726

Part of #2074.
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Sep 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants