Fix: initialize getline linesize argument to 0
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 13 Oct 2015 18:44:05 +0000 (14:44 -0400)
committerMichael Jeanson <mjeanson@efficios.com>
Fri, 16 Oct 2015 19:40:33 +0000 (15:40 -0400)
commitf77968f52cf4e04d08683a5f703c84dbaafb2d75
treed6cf62e3c26c0579aecea7c439c2ee5e90dd72ac
parent6a724a1e8fa7ee107b43198f7ecf5f803ddd977e
Fix: initialize getline linesize argument to 0

It works by accident because getline() reallocates based on the initial
pointer, but doing this falls into a blind spot of the Linux man pages.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
converter/babeltrace-log.c
This page took 0.023877 seconds and 4 git commands to generate.