poke-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] ios: Improve error handling of ios_open.


From: Egeyar Bagcioglu
Subject: [PATCH] ios: Improve error handling of ios_open.
Date: Mon, 26 Oct 2020 00:20:35 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.3.1

Hello!

This patch needs a good review!

Some interesting points:
- I included errno.h in ios-dev-file.c to be able to distinguish fopen failures. - Regarding this patch and the previous: The line between EINVAL and EFLAGS is a bit blurry. I used the former for errors with get from system calls etc, and the latter for our own checks on the flags. We can opt to merge the two as well.

Regards,
Ege

Attachment: ios_open_error_handling.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]