diff options
author | Aaron Griffin <aaron@archlinux.org> | 2007-02-09 16:02:01 +0000 |
---|---|---|
committer | Aaron Griffin <aaron@archlinux.org> | 2007-02-09 16:02:01 +0000 |
commit | d8fd645c4c5aff5042da158d2471a2f72c443aad (patch) | |
tree | 6f8a76f1afcc3e4c8ce7ee0ca3ceb739b00fd361 /src/pacman/log.c | |
parent | 4e0b649c3af6deeb6fcf765deaa3dc9b2f68452d (diff) | |
download | pacman-d8fd645c4c5aff5042da158d2471a2f72c443aad.tar.xz |
* Cleaned up direct pm_fprintf usage (move to MSG/ERR macros for now)
* Moved some stderr output to stdout
* Remove "RETRIEVE_LOCAL" trans event as libdownload handles local files
Diffstat (limited to 'src/pacman/log.c')
-rw-r--r-- | src/pacman/log.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/pacman/log.c b/src/pacman/log.c index 4bed22ae..e33001b3 100644 --- a/src/pacman/log.c +++ b/src/pacman/log.c @@ -173,7 +173,9 @@ int yesno(char *fmt, ...) va_start(args, fmt); vsnprintf(str, LOG_STR_LEN, fmt, args); va_end(args); - pm_fprintf(stderr, NL, str); + + /* Use stderr so questions are always displayed when redirecting output */ + ERR(NL, str); if(fgets(response, 32, stdin)) { /* trim whitespace and newlines */ |