search for: after_add_appl

Displaying 5 results from an estimated 5 matches for "after_add_appl".

2014 Nov 17
1
[PATCH] list-applications: Add support for pacman
...+ else if (STREQ (line, "%URL%")) + key = &url; + else if (STREQ (line, "%ARCH%")) + key = &arch; + } + + if ((name == NULL) || (version == NULL) || (arch == NULL)) + /* Those are mandatory fields. The file is corrupted */ + goto after_add_application; + + /* version: [epoch:]ver-rel */ + p = strchr (version, ':'); + if (p) { + *p = '\0'; + epoch = guestfs___parse_unsigned_int (g, version); /* -1 on error */ + ver = p + 1; + } else { + epoch = 0; + ver = version; + } + + p = strch...
2017 Feb 23
2
[PATCH 1/3] inspect: add source and summary to internal add_application
...l[0] != '\0')) add_application (g, apps, name, "", epoch, ver, rel, arch, "", "", - url ? : "", desc ? : ""); + url ? : "", "", "", desc ? : ""); after_add_application: key = NULL; @@ -708,7 +708,8 @@ list_applications_apk (guestfs_h *g, struct inspect_fs *fs) case '\0': if (name && version && (epoch >= 0)) add_application (g, apps, name, "", epoch, version, release ? : "", -...
2017 Feb 24
3
[PATCH v2 1/3] inspect: add source and summary to internal add_application
...l[0] != '\0')) add_application (g, apps, name, "", epoch, ver, rel, arch, "", "", - url ? : "", desc ? : ""); + url ? : "", "", "", desc ? : ""); after_add_application: key = NULL; @@ -708,7 +708,8 @@ list_applications_apk (guestfs_h *g, struct inspect_fs *fs) case '\0': if (name && version && (epoch >= 0)) add_application (g, apps, name, "", epoch, version, release ? : "", -...
2015 Oct 05
0
[PATCH 2/2] Fix whitespace.
...+ MAX_PKG_DB_SIZE); if (status == NULL) return NULL; @@ -617,8 +617,8 @@ list_applications_pacman (guestfs_h *g, struct inspect_fs *fs) } if ((name == NULL) || (version == NULL) || (arch == NULL)) - /* Those are mandatory fields. The file is corrupted */ - goto after_add_application; + /* Those are mandatory fields. The file is corrupted */ + goto after_add_application; /* version: [epoch:]ver-rel */ p = strchr (version, ':'); @@ -642,28 +642,28 @@ list_applications_pacman (guestfs_h *g, struct inspect_fs *fs) add_application (g, app...
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