]> git.sur5r.net Git - i3/i3/commit
Separate the lines received in a single read.
authorFernando Tarlá Cardoso Lemos <fernandotcl@gmail.com>
Mon, 3 Jan 2011 00:39:49 +0000 (22:39 -0200)
committerAxel Wagner <mail@merovius.de>
Sat, 8 Jan 2011 13:57:00 +0000 (14:57 +0100)
commit29f153c6341c22ffb3ae83a5efcdbb518dd87171
tree6f8633378dc11ee9ee851bd27082832a8086e776
parent34dd4bc89eef50ed4dd6cc65fce8cd4fe458833c
Separate the lines received in a single read.

Fixes the case where multiple lines are read in a single read syscall
(it could be better optimized in the future). Also fixes a memory
corruption issue when rec == 0.
i3bar/include/common.h
i3bar/src/child.c
i3bar/src/main.c