mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-05-02 03:48:10 +02:00
dbus/dbus-sysdeps-win.c: set an error when _close fails in _dbus_pipe_close (cherry picked from commit 6671b4a20da468bad6842815a1161a98251b66fc)
This commit is contained in:
parent
22d12f61fa
commit
2df200caf9
1 changed files with 2 additions and 0 deletions
|
|
@ -124,6 +124,8 @@ _dbus_pipe_close (DBusPipe *pipe,
|
|||
|
||||
if (_close (pipe->fd_or_handle) < 0)
|
||||
{
|
||||
dbus_set_error (error, _dbus_error_from_errno (errno),
|
||||
"Could not close pipe %d: %s", pipe->fd_or_handle, strerror (errno));
|
||||
return -1;
|
||||
}
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue