This is an archive of the discontinued LLVM Phabricator instance.

[libc++] [ssh] Fix tarring test dependencies on Windows
AbandonedPublic

Authored by broadwaylamb on Apr 5 2020, 7:48 AM.

Details

Reviewers
ldionne
Group Reviewers
Restricted Project
Summary

The motivation for this change is in the comment.

Diff Detail

Event Timeline

broadwaylamb created this revision.Apr 5 2020, 7:48 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 5 2020, 7:48 AM
Herald added a reviewer: Restricted Project. · View Herald Transcript

After offline discussion with @broadwaylamb, we went ahead with b00a874b7c7371 instead. The main difference is that b00a874b7c7371 makes sure to close the NamedTemporaryFile before it tries to scp it, which is more in-line with the Python documentation:

Whether the name can be used to open the file a second time, while the named temporary file is still open, varies across platforms (it can be so used on Unix; it cannot on Windows NT or later).

broadwaylamb abandoned this revision.Apr 6 2020, 7:02 AM