Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(718)

Issue 902643002: Revert "Enable positional parameters for base::vsnprintf and base::vswprintf on Windows." (Closed)

Created:
5 years, 10 months ago by Nico
Modified:
5 years, 10 months ago
CC:
chromium-reviews, erikwright+watch_chromium.org, jshin+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Revert "Enable positional parameters for base::vsnprintf and base::vswprintf on Windows." This reverts r127788. Positional parameters aren't part of the C standard (they are part of POSIX though), we don't really use them in the codebase, and they don't work in chrome/android with libc++. Rather than have a test for them, make them also not work on Windows (like they originally didn't) -- we shouldn't use positional printf parameters anyways. Change the 5 uses to not use positional parameters. BUG=118064, 117028, 427718 Committed: https://crrev.com/c0107ee59bdb5b6337f7bbdb4e8210c0bfeb547b Cr-Commit-Position: refs/heads/master@{#314963}

Patch Set 1 #

Patch Set 2 : fixes #

Total comments: 3

Patch Set 3 : sergeyu #

Patch Set 4 : extension #

Unified diffs Side-by-side diffs Delta from patch set Stats (+58 lines, -71 lines) Patch
M base/strings/string_util_win.h View 2 chunks +6 lines, -12 lines 0 comments Download
M base/strings/stringprintf_unittest.cc View 1 chunk +0 lines, -13 lines 0 comments Download
M chrome/installer/setup/install.cc View 1 2 2 chunks +8 lines, -7 lines 0 comments Download
M extensions/browser/api/printer_provider/printer_provider_apitest.cc View 1 2 3 5 chunks +33 lines, -33 lines 0 comments Download
M remoting/host/ipc_util_win.cc View 1 1 chunk +4 lines, -2 lines 0 comments Download
M remoting/host/setup/me2me_native_messaging_host.cc View 1 2 1 chunk +4 lines, -2 lines 0 comments Download
M remoting/host/win/unprivileged_process_delegate.cc View 1 2 chunks +3 lines, -2 lines 0 comments Download

Messages

Total messages: 37 (12 generated)
Nico
First to stamp wins! I think this is what we should do about this test.
5 years, 10 months ago (2015-02-04 17:02:31 UTC) #2
Fabrice (no longer in Chrome)
On 2015/02/04 17:02:31, Nico wrote: > First to stamp wins! I think this is what ...
5 years, 10 months ago (2015-02-04 17:11:21 UTC) #3
Nico
On 2015/02/04 17:11:21, Fabrice wrote: > On 2015/02/04 17:02:31, Nico wrote: > > First to ...
5 years, 10 months ago (2015-02-04 17:14:21 UTC) #4
jdduke (slow)
On 2015/02/04 17:14:21, Nico wrote: > On 2015/02/04 17:11:21, Fabrice wrote: > > On 2015/02/04 ...
5 years, 10 months ago (2015-02-04 17:47:57 UTC) #5
Nico
On 2015/02/04 17:47:57, jdduke wrote: > On 2015/02/04 17:14:21, Nico wrote: > > On 2015/02/04 ...
5 years, 10 months ago (2015-02-04 17:48:44 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/902643002/1
5 years, 10 months ago (2015-02-04 17:49:57 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: win8_chromium_rel on tryserver.chromium.win (http://build.chromium.org/p/tryserver.chromium.win/builders/win8_chromium_rel/builds/51088)
5 years, 10 months ago (2015-02-04 19:12:04 UTC) #10
Nico
grt, do you know why this would anger test_installer?
5 years, 10 months ago (2015-02-04 19:14:17 UTC) #11
grt (UTC plus 2)
On 2015/02/04 19:14:17, Nico wrote: > grt, do you know why this would anger test_installer? ...
5 years, 10 months ago (2015-02-04 19:33:52 UTC) #12
Nico
On 2015/02/04 19:33:52, grt wrote: > On 2015/02/04 19:14:17, Nico wrote: > > grt, do ...
5 years, 10 months ago (2015-02-04 21:30:36 UTC) #13
Nico
grt: Please look at the installer change. sergeyu: Please look at the remoting changes.
5 years, 10 months ago (2015-02-04 22:03:34 UTC) #16
grt (UTC plus 2)
chrome/installer lgtm.
5 years, 10 months ago (2015-02-04 23:04:20 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/902643002/20001
5 years, 10 months ago (2015-02-05 18:25:25 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/40733)
5 years, 10 months ago (2015-02-05 18:31:29 UTC) #21
Nico
sergeyu: ping
5 years, 10 months ago (2015-02-05 18:35:22 UTC) #22
Sergey Ulanov
lgtm when my comment is addressed. https://codereview.chromium.org/902643002/diff/20001/remoting/host/setup/me2me_native_messaging_host.cc File remoting/host/setup/me2me_native_messaging_host.cc (right): https://codereview.chromium.org/902643002/diff/20001/remoting/host/setup/me2me_native_messaging_host.cc#newcode569 remoting/host/setup/me2me_native_messaging_host.cc:569: std::string user_sid_utf16 = ...
5 years, 10 months ago (2015-02-05 20:39:13 UTC) #23
Nico
https://codereview.chromium.org/902643002/diff/20001/remoting/host/setup/me2me_native_messaging_host.cc File remoting/host/setup/me2me_native_messaging_host.cc (right): https://codereview.chromium.org/902643002/diff/20001/remoting/host/setup/me2me_native_messaging_host.cc#newcode569 remoting/host/setup/me2me_native_messaging_host.cc:569: std::string user_sid_utf16 = base::WideToUTF8(user_sid); On 2015/02/05 20:39:12, Sergey Ulanov ...
5 years, 10 months ago (2015-02-05 20:41:30 UTC) #24
Nico
https://codereview.chromium.org/902643002/diff/20001/remoting/host/setup/me2me_native_messaging_host.cc File remoting/host/setup/me2me_native_messaging_host.cc (right): https://codereview.chromium.org/902643002/diff/20001/remoting/host/setup/me2me_native_messaging_host.cc#newcode569 remoting/host/setup/me2me_native_messaging_host.cc:569: std::string user_sid_utf16 = base::WideToUTF8(user_sid); On 2015/02/05 20:41:30, Nico wrote: ...
5 years, 10 months ago (2015-02-05 21:58:45 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/902643002/40001
5 years, 10 months ago (2015-02-05 22:01:00 UTC) #28
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/23535)
5 years, 10 months ago (2015-02-06 00:12:46 UTC) #30
Nico
tbarzic: Please look at the extensions/browser/api/printer_provider change
5 years, 10 months ago (2015-02-06 00:30:56 UTC) #32
tbarzic
On 2015/02/06 00:30:56, Nico wrote: > tbarzic: Please look at the extensions/browser/api/printer_provider change lgtm
5 years, 10 months ago (2015-02-06 00:41:04 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/902643002/60001
5 years, 10 months ago (2015-02-06 00:43:41 UTC) #35
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 10 months ago (2015-02-06 03:42:44 UTC) #36
commit-bot: I haz the power
5 years, 10 months ago (2015-02-06 03:45:01 UTC) #37
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/c0107ee59bdb5b6337f7bbdb4e8210c0bfeb547b
Cr-Commit-Position: refs/heads/master@{#314963}

Powered by Google App Engine
This is Rietveld 408576698