diff options
author | dkegel@google.com <dkegel@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-08 23:29:11 +0000 |
---|---|---|
committer | dkegel@google.com <dkegel@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-08 23:29:11 +0000 |
commit | 78c6dd65953307dd0b550a16d92267a450c01309 (patch) | |
tree | 41fbb424f0285933d7fddd1d06d24b0b3a1a349b /base/logging.cc | |
parent | 37cd3a96b55aac1dad9016c05e78b5983972f985 (diff) | |
download | chromium_src-78c6dd65953307dd0b550a16d92267a450c01309.zip chromium_src-78c6dd65953307dd0b550a16d92267a450c01309.tar.gz chromium_src-78c6dd65953307dd0b550a16d92267a450c01309.tar.bz2 |
Enable zygote manager by default.
Fix broken recursion check.
Make OpenFile warning less scary, indicate it's normal at start of ui tests.
Make ui tests pass.
Avoid generating extra code on Mac.
BUG=11841
TEST=start the browser, then make chrome and all .pak files unreadable; or alternately, start an installed browser, and uninstall the browser while it's running. Then create a new tab and browse to two new sites.
Review URL: http://codereview.chromium.org/119289
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17909 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/logging.cc')
-rw-r--r-- | base/logging.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/base/logging.cc b/base/logging.cc index b6aa730..77e9583 100644 --- a/base/logging.cc +++ b/base/logging.cc @@ -208,7 +208,7 @@ bool InitializeLogFileHandle() { } } SetFilePointer(log_file, 0, 0, FILE_END); -#elif defined(OS_POSIX) +#elif defined(OS_LINUX) // Reserve global fd slots. int reserved_fds[kReservedFds]; for (int i=0; i < kReservedFds; i++) @@ -222,6 +222,10 @@ bool InitializeLogFileHandle() { if (log_file == NULL) return false; +#elif defined(OS_POSIX) + log_file = fopen(log_file_name->c_str(), "a"); + if (log_file == NULL) + return false; #endif } |