CVSROOT: /cvs Module name: src Changes by: [email protected] 2024/11/21 05:49:58
Modified files:
lib/libutil : ibuf_add.3 imsg-buffer.c imsg.c imsg_init.3
Log message:
Simplify imsg_write, msgbuf_write and ibuf_write return codes.
Return 0 on success or when a temporary error happened (EAGAIN, ENOBUFS).
Return -1 on error and set errno otherwise.
Kill the old 0 return for EOF. This is not how write operations work.
OK tb@
