diff options
author | ewt <devnull@localhost> | 1997-05-29 20:09:45 +0000 |
---|---|---|
committer | ewt <devnull@localhost> | 1997-05-29 20:09:45 +0000 |
commit | 2eb5561b5add234d261f1b49593d72388137f241 (patch) | |
tree | 7d017ac442a52fe33449695e819d06023ac0e369 /lib/messages.c | |
parent | 2aff0769dab3ad948e9daca645ceee205df1e972 (diff) | |
download | librpm-tizen-2eb5561b5add234d261f1b49593d72388137f241.tar.gz librpm-tizen-2eb5561b5add234d261f1b49593d72388137f241.tar.bz2 librpm-tizen-2eb5561b5add234d261f1b49593d72388137f241.zip |
Replaced queryformat code with headerSprintf() <whew>
CVS patchset: 1666
CVS date: 1997/05/29 20:09:45
Diffstat (limited to 'lib/messages.c')
-rw-r--r-- | lib/messages.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/messages.c b/lib/messages.c index 953db687e..eee2290e7 100644 --- a/lib/messages.c +++ b/lib/messages.c @@ -38,26 +38,31 @@ void rpmMessage(int level, char * format, ...) { case RPMMESS_VERBOSE: case RPMMESS_NORMAL: vfprintf(stdout, format, args); + fflush(stdout); break; case RPMMESS_DEBUG: fprintf(stdout, "D: "); vfprintf(stdout, format, args); + fflush(stdout); break; case RPMMESS_WARNING: fprintf(stderr, "warning: "); vfprintf(stderr, format, args); + fflush(stderr); break; case RPMMESS_ERROR: fprintf(stderr, "error: "); vfprintf(stderr, format, args); + fflush(stderr); break; case RPMMESS_FATALERROR: fprintf(stderr, "fatal error: "); vfprintf(stderr, format, args); + fflush(stderr); exit(1); break; } |