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

Issue 12833: Making sure that the buffer we use with ReadFile/WriteFile is page... (Closed)

Created:
12 years ago by tommi (sloooow) - chröme
Modified:
9 years, 7 months ago
Reviewers:
brettw
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Making sure that the buffer we use with ReadFile/WriteFile is page aligned. Also restoring file attributes after evicting it from the cache (since the function writes to the file). Depending on hardware, file operations will fail if the buffer isn't aligned when using the FILE_FLAG_NO_BUFFERING flag. For more details: http://msdn.microsoft.com/en-us/library/cc644950(VS.85).aspx Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=6157

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+67 lines, -10 lines) Patch
M base/test_file_util_win.cc View 1 chunk +67 lines, -10 lines 0 comments Download

Messages

Total messages: 1 (0 generated)
tommi (sloooow) - chröme
12 years ago (2008-12-01 19:53:13 UTC) #1
hey brett - this is the same change as before, but after fixing my gclient spec

Powered by Google App Engine
This is Rietveld 408576698