2013/9/12 Lennart Poettering <lenn...@poettering.net>: > On Thu, 12.09.13 09:43, cee1 (fykc...@gmail.com) wrote: > >> What about the following patch? It simply do read/write again if poll >> returns, and let read/write report error if something is wrong. > > I guess that patch makes sense, but could you change it to not just > comment but delete the old lines? Also, could you add a comment there: > > /* We knowingly ignore the revents value here, and expect that any > error/EOF is reported via read()/write() */ OK, see the attachment.
-- Regards, - cee1
0001-util.c-ignore-pollfd.revent-for-loop_read-loop_write.patch
Description: Binary data
_______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel