-
Notifications
You must be signed in to change notification settings - Fork 37.7k
[doc/log] Fix markdown syntax and line terminate LogPrint #7617
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
maflcko
commented
Feb 27, 2016
- Fix three minor issues in the 0.12 historical release notes.
- Fix some links
- Yet another Make sure LogPrintf strings are line-terminated #6497
cd7f0ce
to
fa444e9
Compare
fa444e9
to
fa100ec
Compare
@@ -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) |
There was a problem hiding this comment.
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
ACK fa100ec |
ACK fa100ecb9795fe4a6c4a0f928fc8e9858e979303 |
ACK |
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)); |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
- 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
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.