search for: ca1fd42

Displaying 1 result from an estimated 1 matches for "ca1fd42".

Did you mean: c1fd42b
2015 May 14
1
[PATCH] When calling getline first time, initialize length to zero.
...alize the length anyway. --- df/estimate-max-threads.c | 2 +- examples/libvirt-auth.c | 2 +- fuse/test-fuse.c | 2 +- p2v/main.c | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/df/estimate-max-threads.c b/df/estimate-max-threads.c index 7d5b090..ca1fd42 100644 --- a/df/estimate-max-threads.c +++ b/df/estimate-max-threads.c @@ -60,7 +60,7 @@ read_line_from (const char *cmd) { FILE *pp; char *ret = NULL; - size_t allocsize; + size_t allocsize = 0; pp = popen (cmd, "r"); if (pp == NULL) diff --git a/examples/libvirt-auth.c...