CVSROOT: /cvs Module name: xenocara Changes by: clau...@cvs.openbsd.org 2024/11/21 06:45:40
Modified files: app/xlockmore/xlock: privsep.c Log message: xenocara xlock uses imsg for privsep. What changes: - imsg_init becomes imsgbuf_init but imsgbuf_init can now fail - Adding imsgbuf functions to hide the msgbuf functions: msgbuf_clear -> imsgbuf_clear msgbuf_write -> imsgbuf_write - Also rename imsg_read to imsgbuf_read. - Both imsgbuf_read and imsgbuf_write have simplified error handling. imsgbuf_write now returns 0 on success so that old wrong connection closed check must be removed - Remove now official ibuf_get_string() OK tb@ matthieu@