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

Unified Diff: runtime/bin/file_linux.cc

Issue 12758009: Support GZip encoding on the http server. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Add new test Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | sdk/lib/io/http_impl.dart » ('j') | sdk/lib/io/http_impl.dart » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/file_linux.cc
diff --git a/runtime/bin/file_linux.cc b/runtime/bin/file_linux.cc
index df43d2d86c9788693a7b9b563123a1160b2963e3..73b0912053582b12f1217b3a3d505cb6f3fb9857 100644
--- a/runtime/bin/file_linux.cc
+++ b/runtime/bin/file_linux.cc
@@ -123,6 +123,7 @@ File* File::Open(const char* name, FileOpenMode mode) {
flags |= O_CLOEXEC;
int fd = TEMP_FAILURE_RETRY(open(name, flags, 0666));
if (fd < 0) {
+ printf("Open failed\n");
Søren Gjesse 2013/03/12 08:54:09 Debug print :-).
Anders Johnsen 2013/03/12 10:04:59 Oops, bad merge :)
return NULL;
}
if (((mode & kWrite) != 0) && ((mode & kTruncate) == 0)) {
« no previous file with comments | « no previous file | sdk/lib/io/http_impl.dart » ('j') | sdk/lib/io/http_impl.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698