Fix reading from the metadata pipe, remove old code

We must not open the pipe with O_NONBLOCK, because it might not be ready yet.
This commit is contained in:
Christian Flach 2020-01-29 14:21:40 +01:00
parent 4fe4310ff2
commit 0aed04f9b3
No known key found for this signature in database
GPG key ID: 02D48802CD830869
2 changed files with 13 additions and 47 deletions

View file

@ -65,10 +65,10 @@ public:
protected:
#ifdef HAS_EXPAT
XML_Parser parser_;
#endif
std::unique_ptr<TageEntry> entry_;
std::string buf_;
json jtag_;
#endif
void pipeReadLine();
#ifdef HAS_EXPAT