Skip to content

Commit

Permalink
[fuchsia] Finish migration to fdio_pipe_half
Browse files Browse the repository at this point in the history
fdio_pipe_half is now the same as fdio_pipe_half2. We can complete the
migration by switch back to the cleaner name.

Change-Id: I6fbec450b9e2e1a4be1e68b8f9281e4d3e370e07
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/104805
Auto-Submit: Adam Barth <abarth@google.com>
Reviewed-by: Zach Anderson <zra@google.com>
Commit-Queue: Zach Anderson <zra@google.com>
  • Loading branch information
Adam Barth authored and commit-bot@chromium.org committed Jun 4, 2019
1 parent 64a9253 commit 20b2118
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime/bin/process_fuchsia.cc
Original file line number Diff line number Diff line change
Expand Up @@ -678,7 +678,7 @@ class ProcessStarter {

zx_status_t AddPipe(int target_fd, int* local_fd,
fdio_spawn_action_t* action) {
zx_status_t status = fdio_pipe_half2(local_fd, &action->h.handle);
zx_status_t status = fdio_pipe_half(local_fd, &action->h.handle);
if (status != ZX_OK) return status;
action->action = FDIO_SPAWN_ACTION_ADD_HANDLE;
action->h.id = PA_HND(PA_HND_TYPE(PA_FD), target_fd);
Expand Down

0 comments on commit 20b2118

Please sign in to comment.