Loading adb/adb_unique_fd.h +2 −2 Original line number Diff line number Diff line Loading @@ -28,9 +28,9 @@ struct AdbCloser { using unique_fd = android::base::unique_fd_impl<AdbCloser>; #if !defined(_WIN32) inline bool Pipe(unique_fd* read, unique_fd* write, int flags = 0) { inline bool Pipe(unique_fd* read, unique_fd* write) { int pipefd[2]; if (pipe2(pipefd, flags) != 0) { if (pipe(pipefd) != 0) { return false; } read->reset(pipefd[0]); Loading Loading
adb/adb_unique_fd.h +2 −2 Original line number Diff line number Diff line Loading @@ -28,9 +28,9 @@ struct AdbCloser { using unique_fd = android::base::unique_fd_impl<AdbCloser>; #if !defined(_WIN32) inline bool Pipe(unique_fd* read, unique_fd* write, int flags = 0) { inline bool Pipe(unique_fd* read, unique_fd* write) { int pipefd[2]; if (pipe2(pipefd, flags) != 0) { if (pipe(pipefd) != 0) { return false; } read->reset(pipefd[0]); Loading