mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-03 20:29:35 +01:00
merge from 2.0-ongoing @ 3581
git-svn-id: svn://localhost/ardour2/branches/3.0@3711 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
e4372df05b
commit
68e943265e
283 changed files with 8269 additions and 3942 deletions
|
|
@ -21,7 +21,8 @@
|
|||
#include <stdint.h>
|
||||
#include <unistd.h>
|
||||
#include <fcntl.h>
|
||||
#include <errno.h>
|
||||
#include <cerrno>
|
||||
#include <cstring>
|
||||
|
||||
#include <pbd/base_ui.h>
|
||||
#include <pbd/error.h>
|
||||
|
|
@ -85,20 +86,20 @@ BaseUI::setup_signal_pipe ()
|
|||
*/
|
||||
|
||||
if (pipe (signal_pipe)) {
|
||||
error << string_compose (_("%1-UI: cannot create error signal pipe (%2)"), _name, std::strerror (errno))
|
||||
error << string_compose (_("%1-UI: cannot create error signal pipe (%2)"), _name, ::strerror (errno))
|
||||
<< endmsg;
|
||||
|
||||
return -1;
|
||||
}
|
||||
|
||||
if (fcntl (signal_pipe[0], F_SETFL, O_NONBLOCK)) {
|
||||
error << string_compose (_("%1-UI: cannot set O_NONBLOCK on signal read pipe (%2)"), _name, std::strerror (errno))
|
||||
error << string_compose (_("%1-UI: cannot set O_NONBLOCK on signal read pipe (%2)"), _name, ::strerror (errno))
|
||||
<< endmsg;
|
||||
return -1;
|
||||
}
|
||||
|
||||
if (fcntl (signal_pipe[1], F_SETFL, O_NONBLOCK)) {
|
||||
error << string_compose (_("%1-UI: cannot set O_NONBLOCK on signal write pipe (%2)"), _name, std::strerror (errno))
|
||||
error << string_compose (_("%1-UI: cannot set O_NONBLOCK on signal write pipe (%2)"), _name, ::strerror (errno))
|
||||
<< endmsg;
|
||||
return -1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue