[gpm] EINTR select() - also fd null upon daemon restart

Nico Schottelius nico-gpm@schottelius.org
Wed Apr 23 18:23:38 CEST 2008


Hello ECS,

First of all, thank you very much for your report and path.

ECS Engineering [Wed, Apr 23, 2008 at 09:58:58AM -0400]:
> [...] <html> [...]

Secondly, never send html-e-mails, please.

They are unreadable and not usable for patches.

I think the right solution would be to check if errno == EINTR and if
yes to redo the select() call.

For daemon restart: I think the only right solution would be
to reconnect to it.

Sincerly

Nico
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.linux.it/pipermail/gpm/attachments/20080423/e778c3a5/attachment.pgp 


More information about the gpm mailing list