diff options
author | dpranke@chromium.org <dpranke@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-05 03:26:16 +0000 |
---|---|---|
committer | dpranke@chromium.org <dpranke@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-05 03:26:16 +0000 |
commit | e3e9b5e80a05c69714a8942fc941dd58dfb50017 (patch) | |
tree | 99012d45995fda15adaf2cf48fd5507e151487ed /build/linux | |
parent | b4b3ca91faef2219ef7044bc68338b6e794703ac (diff) | |
download | chromium_src-e3e9b5e80a05c69714a8942fc941dd58dfb50017.zip chromium_src-e3e9b5e80a05c69714a8942fc941dd58dfb50017.tar.gz chromium_src-e3e9b5e80a05c69714a8942fc941dd58dfb50017.tar.bz2 |
Change default fopen() on Windows from fopen_s() to fsopen(,,_SH_DENYNO).
fopen_s() won't let you open a file that is open by another process. This
has the unfortunate property of triggering a race condition in Python
exposed by running run-webkit-tests using a lot of threads and spawning
off image_diff. There doesn't seem to be a good reason to disallow files
that are open in other processes, so I'm changing this.
BUG=none
TEST=run_webkit_tests doesn't produce "image_diff: can't open file" errors
R=darin@chromium.org
Review URL: http://codereview.chromium.org/668022
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40710 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build/linux')
0 files changed, 0 insertions, 0 deletions