search for: c0ee1c9

Displaying 3 results from an estimated 3 matches for "c0ee1c9".

Did you mean: c03eec9
2012 Jul 16
1
[PATCH] isoinfo: remove the useless goto
Code cleanup. Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com> --- daemon/isoinfo.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/daemon/isoinfo.c b/daemon/isoinfo.c index c0ee1c9..fd777bd 100644 --- a/daemon/isoinfo.c +++ b/daemon/isoinfo.c @@ -255,8 +255,6 @@ isoinfo (const char *path) goto done; ret = parse_isoinfo (lines); - if (ret == NULL) - goto done; done: free (out); -- 1.7.11.2.249.g31c7954
2012 Aug 30
2
[PATCH v2] daemon: collect list of called external commands
...return NULL; } - snprintf (cmd, sizeof cmd, "sort -u > %s", tempfile); + snprintf (cmd, sizeof cmd, "%s -u > %s", str_sort, tempfile); fp = popen (cmd, "w"); if (fp == NULL) { diff --git a/daemon/isoinfo.c b/daemon/isoinfo.c index c0ee1c9..d117b40 100644 --- a/daemon/isoinfo.c +++ b/daemon/isoinfo.c @@ -30,6 +30,8 @@ #include "daemon.h" #include "actions.h" +GUESTFSD_EXT_CMD(str_isoinfo, isoinfo); + static int parse_uint32 (uint32_t *ret, const char *str) { @@ -244,7 +246,7 @@ isoinfo (cons...
2012 Aug 30
1
[PATCH] collect list of called external commands
...return NULL; } - snprintf (cmd, sizeof cmd, "sort -u > %s", tempfile); + snprintf (cmd, sizeof cmd, "%s -u > %s", str_sort, tempfile); fp = popen (cmd, "w"); if (fp == NULL) { diff --git a/daemon/isoinfo.c b/daemon/isoinfo.c index c0ee1c9..ce92240 100644 --- a/daemon/isoinfo.c +++ b/daemon/isoinfo.c @@ -30,6 +30,8 @@ #include "daemon.h" #include "actions.h" +GUESTFS_EXT_CMD(str_isoinfo, isoinfo); + static int parse_uint32 (uint32_t *ret, const char *str) { @@ -244,7 +246,7 @@ isoinfo (const...