Merged
Conversation
Contributor
Author
Member
There was a problem hiding this comment.
The . should not be removed. Otherwise we get ${id}.000000.
Contributor
Author
There was a problem hiding this comment.
P.S. why is it a double?
Member
There was a problem hiding this comment.
why is it a double?
So that it isn’t limited by 2^32 in its range, but still representable in JS. If you prefer, casting to uint64_t should be safe here.
Contributor
Author
There was a problem hiding this comment.
If you prefer, casting to uint64_t should be safe here.
I'll read a bit about fprintf on windows and think about it.
IMHO for this PR %.f works
addaleax
approved these changes
Jun 4, 2017
AndreasMadsen
approved these changes
Jun 4, 2017
cjihrig
approved these changes
Jun 4, 2017
Member
|
Worth adding a |
jasnell
approved these changes
Jun 5, 2017
It is not supported on Windows so it emits: warning C4476: 'fprintf' : unknown type field character ''' in format specifier warning C4474: 'fprintf' : too many arguments passed for format string PR-URL: nodejs#13447 Fixes: nodejs#13463 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Andreas Madsen <amwebdk@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Contributor
Author
|
landed in f06c05c |
jasnell
pushed a commit
that referenced
this pull request
Jun 7, 2017
It is not supported on Windows so it emits: warning C4476: 'fprintf' : unknown type field character ''' in format specifier warning C4474: 'fprintf' : too many arguments passed for format string PR-URL: #13447 Fixes: #13463 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Andreas Madsen <amwebdk@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
3 tasks
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
It is not supported on Windows so it emits:
Fixes: #13463
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passesAffected core subsystem(s)
src