microcom icon indicating copy to clipboard operation
microcom copied to clipboard

handling of errors from `write` and `read` in `can.c`

Open ukleinek opened this issue 6 years ago • 0 comments

@afa pointed out in https://github.com/pengutronix/microcom/pull/15#pullrequestreview-279354563 that with the signal handling in microcom errno cannot be EINTR when write or read returns with an error.

This allows some cleanup. (But I havn't understood the matter completely yet and also with some bits I understand today the signal handling isn't optimal and might see a redesign soon.)

ukleinek avatar Aug 25 '19 21:08 ukleinek