Displaying 3 results from an estimated 3 matches for "8a5db77".
Did you mean:
8a5b787
2015 May 14
1
[PATCH] When calling getline first time, initialize length to zero.
...++ 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 b/examples/libvirt-auth.c
index 699dd87..8a5db77 100644
--- a/examples/libvirt-auth.c
+++ b/examples/libvirt-auth.c
@@ -109,7 +109,7 @@ auth_callback (guestfs_h *g,
size_t i;
char *prompt;
char *reply = NULL;
- size_t allocsize;
+ size_t allocsize = 0;
char *pass;
ssize_t len;
int r;
diff --git a/fuse/test-fuse.c b/fuse/test-f...
2015 Oct 05
0
[PATCH 2/2] Fix whitespace.
...optional arguments */
+ /* GUESTFS_ADD_DRIVE_OPTS_FORMAT, "raw", */
+ GUESTFS_ADD_DRIVE_OPTS_READONLY, 1,
+ -1) /* this marks end of optional arguments */
== -1)
exit (EXIT_FAILURE);
diff --git a/examples/libvirt-auth.c b/examples/libvirt-auth.c
index 8a5db77..12825f4 100644
--- a/examples/libvirt-auth.c
+++ b/examples/libvirt-auth.c
@@ -14,25 +14,25 @@ static void
usage (void)
{
fprintf (stderr,
- "Usage:\n"
- "\n"
- " libvirt-auth URI domain\n"
- "\n"
- "where:\n"
- "\n&quo...
2015 Oct 05
3
[PATCH 1/2] Change 'fprintf (stdout,...)' -> printf.
Result of earlier copy and paste.
---
align/scan.c | 35 ++++++++++---------
cat/cat.c | 39 +++++++++++----------
cat/filesystems.c | 69 +++++++++++++++++++-------------------
cat/log.c | 35 ++++++++++---------
cat/ls.c | 61 +++++++++++++++++----------------
df/main.c | 43 ++++++++++++------------
diff/diff.c | 67