diff options
author | jbj <devnull@localhost> | 1999-09-24 14:54:23 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 1999-09-24 14:54:23 +0000 |
commit | aa3a086ba2e1a4ecc2deaba687ed8d71426df217 (patch) | |
tree | 4bf99471a60a2f90a16246fa7161d34a6f962c86 /rpmio/messages.c | |
parent | cdaf55aa9c8ba8c4f31b0e8974cc0617f4cf04ed (diff) | |
download | librpm-tizen-aa3a086ba2e1a4ecc2deaba687ed8d71426df217.tar.gz librpm-tizen-aa3a086ba2e1a4ecc2deaba687ed8d71426df217.tar.bz2 librpm-tizen-aa3a086ba2e1a4ecc2deaba687ed8d71426df217.zip |
fix: version compares compatible with epoch-less requires/conflicts.
CVS patchset: 3323
CVS date: 1999/09/24 14:54:23
Diffstat (limited to 'rpmio/messages.c')
-rw-r--r-- | rpmio/messages.c | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/rpmio/messages.c b/rpmio/messages.c index e968247ec..72595b2bd 100644 --- a/rpmio/messages.c +++ b/rpmio/messages.c @@ -42,25 +42,37 @@ void rpmMessage(int level, const char * format, ...) { break; case RPMMESS_DEBUG: - fprintf(stdout, "D: "); + if (*format != '+') + fprintf(stdout, "D: "); + else + format++; vfprintf(stdout, format, args); fflush(stdout); break; case RPMMESS_WARNING: - fprintf(stderr, _("warning: ")); + if (*format != '+') + fprintf(stderr, _("warning: ")); + else + format++; vfprintf(stderr, format, args); fflush(stderr); break; case RPMMESS_ERROR: - fprintf(stderr, _("error: ")); + if (*format != '+') + fprintf(stderr, _("error: ")); + else + format++; vfprintf(stderr, format, args); fflush(stderr); break; case RPMMESS_FATALERROR: - fprintf(stderr, _("fatal error: ")); + if (*format != '+') + fprintf(stderr, _("fatal error: ")); + else + format++; vfprintf(stderr, format, args); fflush(stderr); exit(EXIT_FAILURE); |