0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-06-02 10:08:56 +02:00

ircd::fs: Translate boost to std for exceptions out of stdin::readline.

This commit is contained in:
Jason Volk 2018-12-11 14:32:51 -08:00
parent e686f0fafe
commit 638a629151

View file

@ -421,6 +421,7 @@ ircd::fs::support::aio_fdsync
ircd::string_view
ircd::fs::stdin::readline(const mutable_buffer &buf)
try
{
boost::asio::posix::stream_descriptor fd
{
@ -450,6 +451,11 @@ ircd::fs::stdin::readline(const mutable_buffer &buf)
data(buf), size_t(is.gcount())
};
}
catch(boost::system::system_error &e)
{
throw_system_error(e);
__builtin_unreachable();
}
//
// tty