]> 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)
committer坂本 貴史 <o-takashi@sakamocchi.jp>
Mon, 16 Nov 2020 12:04:53 +0000 (21:04 +0900)
commit1302eaf32f8f3a0d843f5e1c717513e73cfb502a
tree575b36680ede7a63c839be55c545d8a99a3bcc65
parent3a3d539b6129ae0454a2c31e4097caa2c601880d
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