diff options
author | aosipenko <[email protected]> | 2022-02-10 16:48:08 +0300 |
---|---|---|
committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:48:08 +0300 |
commit | 948fd24d47d4b3b7815aaef1686aea00ef3f4288 (patch) | |
tree | 8ad4c39c2a5f8b341bc02e3b0c5e8f26c40373cb /util/stream/pipe.cpp | |
parent | d2eb4aae699fa2f6901bf32d22eec019c8f29838 (diff) |
Restoring authorship annotation for <[email protected]>. Commit 1 of 2.
Diffstat (limited to 'util/stream/pipe.cpp')
-rw-r--r-- | util/stream/pipe.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/stream/pipe.cpp b/util/stream/pipe.cpp index 51be1934a75..abe1dcd2cb1 100644 --- a/util/stream/pipe.cpp +++ b/util/stream/pipe.cpp @@ -10,11 +10,11 @@ public: inline TImpl(const TString& command, const char* mode) : Pipe_(nullptr) { -#ifndef _freebsd_ +#ifndef _freebsd_ if (strcmp(mode, "r+") == 0) { ythrow TSystemError(EINVAL) << "pipe \"r+\" mode is implemented only on FreeBSD"; } -#endif +#endif Pipe_ = ::popen(command.data(), mode); if (Pipe_ == nullptr) { ythrow TSystemError() << "failed to open pipe: " << command.Quote(); |