diff options
author | Aaron Griffin <aaron@archlinux.org> | 2007-03-07 08:45:30 +0100 |
---|---|---|
committer | Aaron Griffin <aaron@archlinux.org> | 2007-03-07 08:45:30 +0100 |
commit | 166ffc4f9e3bf3b0014c8c307f93af650fd24feb (patch) | |
tree | 578fc9393b80e07bec20f8684ca51685b646bb29 /src/pacman/log.c | |
parent | 1a9e6015c7ab67c137be3e1d89b90e67b635b50b (diff) | |
download | pacman-166ffc4f9e3bf3b0014c8c307f93af650fd24feb.tar.gz pacman-166ffc4f9e3bf3b0014c8c307f93af650fd24feb.tar.xz |
* Bug fix for makepkg dependency testing. This requires that we
expose alpm_splitdep and alpm_depcmp as public symbols
* Removed a duplicate strtrim for question responses
Diffstat (limited to 'src/pacman/log.c')
-rw-r--r-- | src/pacman/log.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/pacman/log.c b/src/pacman/log.c index 1b65e28d..9d719912 100644 --- a/src/pacman/log.c +++ b/src/pacman/log.c @@ -184,19 +184,6 @@ int yesno(char *fmt, ...) pm_fprintf(stderr, NL, str); \ if(fgets(response, 32, stdin)) { - /* trim whitespace and newlines */ - char *pch = response; - while(isspace(*pch)) { - pch++; - } - if(pch != response) { - memmove(response, pch, strlen(pch) + 1); - } - pch = response + strlen(response) - 1; - while(isspace(*pch)) { - pch--; - } - *++pch = 0; if(strlen(response) != 0) { strtrim(response); } |