diff options
author | Dan McGee <dan@archlinux.org> | 2011-07-05 14:18:16 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-07-05 21:38:32 -0500 |
commit | 043931ca452f6b231eb5b9b0863329843677bd2a (patch) | |
tree | be7dc14140b098e90174dd7457f39bf57f1a809b /missing | |
parent | e2f00abe26c530a380ef687e50d91e07c6ba57c4 (diff) | |
download | pacman-043931ca452f6b231eb5b9b0863329843677bd2a.tar.xz |
Rework -Si display logic
We did some funny stuff here before to allow specifying fully-qualified
package names, such as 'testing/gcc' or 'core/gcc'. However, it was done
by duplicating code, not to mention an early escape if a repository
could not be found for an early target. Something like `pacman -Si
foo/bar core/gcc' would not give expected results, although `pacman -Si
bar gcc' would.
Clean up the code, remove strncpy() usage, and clarify the error
messages a bit.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'missing')
0 files changed, 0 insertions, 0 deletions