]> 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:56:52 +0000 (14:56 +0100)
commit96e14d81032cb53c56664e88816f57efd24c415b
treed7a888d0f361aad98a64b32121534d8fcc6efc13
parentcd4b77ab724a9e608eb2943cc189239087d4d26e
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