mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 13:31:49 +00:00
The output pipe is only used for writing, and not also for reading.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33756 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
62b0691b3c
commit
61096546b3
@ -829,7 +829,7 @@ int LyXComm::startPipe(string const & file, bool write)
|
||||
return -1;
|
||||
}
|
||||
int const fd = ::open(filename.toFilesystemEncoding().c_str(),
|
||||
write ? (O_RDWR) : (O_RDONLY|O_NONBLOCK));
|
||||
write ? (O_WRONLY) : (O_RDONLY|O_NONBLOCK));
|
||||
|
||||
if (fd < 0) {
|
||||
lyxerr << "LyXComm: Could not open pipe " << filename << '\n'
|
||||
|
Loading…
Reference in New Issue
Block a user