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

Issue 11031015: Extract archives by writing .tar.gz to temp file on Windows. (Closed)

Created:
8 years, 2 months ago by Bob Nystrom
Modified:
8 years, 2 months ago
Reviewers:
nweiz
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Extract archives by writing .tar.gz to temp file on Windows. Committed: https://code.google.com/p/dart/source/detail?r=13096

Patch Set 1 #

Total comments: 6

Patch Set 2 : Respond to review. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+71 lines, -40 lines) Patch
M utils/pub/io.dart View 1 3 chunks +71 lines, -40 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Bob Nystrom
This patch is nasty. Even with this, I still get some (say 1 in 5) ...
8 years, 2 months ago (2012-10-02 00:51:30 UTC) #1
nweiz
lgtm https://chromiumcodereview.appspot.com/11031015/diff/1/utils/pub/io.dart File utils/pub/io.dart (right): https://chromiumcodereview.appspot.com/11031015/diff/1/utils/pub/io.dart#newcode159 utils/pub/io.dart:159: outputStream.onError = completer.completeException; It's possible that both streams ...
8 years, 2 months ago (2012-10-02 01:04:13 UTC) #2
Bob Nystrom
8 years, 2 months ago (2012-10-02 01:36:37 UTC) #3
Thanks!

https://chromiumcodereview.appspot.com/11031015/diff/1/utils/pub/io.dart
File utils/pub/io.dart (right):

https://chromiumcodereview.appspot.com/11031015/diff/1/utils/pub/io.dart#newc...
utils/pub/io.dart:159: outputStream.onError = completer.completeException;
On 2012/10/02 01:04:13, nweiz wrote:
> It's possible that both streams could throw errors. It might be better to
ensure
> that only the first one invokes the completer.

Done.

https://chromiumcodereview.appspot.com/11031015/diff/1/utils/pub/io.dart#newc...
utils/pub/io.dart:669: // TODO(rnystrom): Setting the working directory instead
of passing in
On 2012/10/02 01:04:13, nweiz wrote:
> I don't know if this is really a TODO, since you can't do anything about it.

Done.

https://chromiumcodereview.appspot.com/11031015/diff/1/utils/pub/io.dart#newc...
utils/pub/io.dart:712: /*
On 2012/10/02 01:04:13, nweiz wrote:
> I don't like checking in commented-out code. I feel like source control is
> supposed to handle keeping track of dead code.

Done.

Powered by Google App Engine
This is Rietveld 408576698