diff options
Diffstat (limited to 'meta/recipes-devtools/rpm/rpm/rpmdb-more-verbose-error-logging-in-rpmTempFile.patch')
-rw-r--r-- | meta/recipes-devtools/rpm/rpm/rpmdb-more-verbose-error-logging-in-rpmTempFile.patch | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/meta/recipes-devtools/rpm/rpm/rpmdb-more-verbose-error-logging-in-rpmTempFile.patch b/meta/recipes-devtools/rpm/rpm/rpmdb-more-verbose-error-logging-in-rpmTempFile.patch deleted file mode 100644 index 3a6f8746cc..0000000000 --- a/meta/recipes-devtools/rpm/rpm/rpmdb-more-verbose-error-logging-in-rpmTempFile.patch +++ /dev/null | |||
@@ -1,31 +0,0 @@ | |||
1 | rpmdb: more verbose error logging in rpmTempFile() | ||
2 | |||
3 | Upstream-Status: Inappropriate [debugging] | ||
4 | |||
5 | Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com> | ||
6 | |||
7 | diff --git a/rpmdb/signature.c b/rpmdb/signature.c | ||
8 | index 100204b..e56ab3d 100644 | ||
9 | --- a/rpmdb/signature.c | ||
10 | +++ b/rpmdb/signature.c | ||
11 | @@ -72,12 +72,16 @@ int rpmTempFile(const char * prefix, const char ** fnptr, void * fdptr) | ||
12 | #endif | ||
13 | |||
14 | temput = urlPath(tempfn, &tfn); | ||
15 | - if (*tfn == '\0') goto errxit; | ||
16 | + if (*tfn == '\0') { | ||
17 | + rpmlog(RPMLOG_ERR, _("error creating tempfile: empty filename\n")); | ||
18 | + goto errxit; | ||
19 | + } | ||
20 | |||
21 | switch (temput) { | ||
22 | case URL_IS_DASH: | ||
23 | case URL_IS_HKP: | ||
24 | case URL_IS_MONGO: /* XXX FIXME */ | ||
25 | + rpmlog(RPMLOG_ERR, _("error creating temporary file, invalid uri type: %d\n"), temput); | ||
26 | goto errxit; | ||
27 | /*@notreached@*/ /*@switchbreak@*/ break; | ||
28 | case URL_IS_HTTPS: | ||
29 | -- | ||
30 | 2.6.6 | ||
31 | |||