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

Issue 854883002: win: use FileOffset, not off_t in string_file_writer_test (Closed)

Created:
5 years, 11 months ago by scottmg
Modified:
5 years, 11 months ago
Reviewers:
Mark Mentovai
CC:
crashpad-dev_chromium.org
Base URL:
https://chromium.googlesource.com/crashpad/crashpad@master
Target Ref:
refs/heads/master
Project:
crashpad
Visibility:
Public.

Description

win: use FileOffset, not off_t in string_file_writer_test off_t exists on Windows, but Seek is implemented in terms of SetFilePointerEx which expects a LONGLONG, so FileOffset is LONGLONG. So, use FileOffset in the test code so that it wraps at the expected value. R=mark@chromium.org BUG=crashpad:1 Committed: https://chromium.googlesource.com/crashpad/crashpad/+/ac6a7455fde366e0619dac8a5bb04e09042d07dc

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -3 lines) Patch
M util/file/string_file_writer_test.cc View 2 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
scottmg
5 years, 11 months ago (2015-01-15 19:09:20 UTC) #1
Mark Mentovai
LGTM
5 years, 11 months ago (2015-01-15 19:23:36 UTC) #2
scottmg
5 years, 11 months ago (2015-01-15 19:24:32 UTC) #3
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
ac6a7455fde366e0619dac8a5bb04e09042d07dc (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698