]> git.alsa-project.org Git - alsa-gobject.git/commit
rawmidi: report open/read/write/fcntl error
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Mon, 16 Nov 2020 02:45:41 +0000 (11:45 +0900)
committerTakashi Sakamoto <o-takashi@sakamocchi.jp>
Mon, 16 Nov 2020 02:45:41 +0000 (11:45 +0900)
commit318cdfc1f25b89c608d895ed88289d7c3816a3f0
tree575b36680ede7a63c839be55c545d8a99a3bcc65
parent514f1578f1c266170863358ac12f2f932e60ca37
rawmidi: report open/read/write/fcntl error

The call of open/read/write system call can return several types of error
from VFS. It's hard to dispatch all of the error in local error domain.

This commit uses GFileError to dispatch the most of the error. At
failure of conversion to GFileError, local error domain is used.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
src/rawmidi/stream-pair.c