diff options
author | Dave Reisner <d@falconindy.com> | 2011-07-09 04:40:25 +0200 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2011-07-19 02:27:54 +0200 |
commit | df7b390514efa0ae6b84e8404806dee63d3524ad (patch) | |
tree | fd5492f555226623cdd901892571668c73788d76 /etc/pacman.conf.in | |
parent | 0e85c4989b7a7a20978ba0dcc7b56f0f1853b974 (diff) | |
download | pacman-df7b390514efa0ae6b84e8404806dee63d3524ad.tar.gz pacman-df7b390514efa0ae6b84e8404806dee63d3524ad.tar.xz |
pacman-key: refactor get_from
This function had a variety of pitfalls, including the inability to
successfully find a key=value pair where no whitespace surrounded the
equals sign. Make it more robust by splitting the line on the equals
itself, and performing whitespace trimming on the resulting key/value
pair.
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'etc/pacman.conf.in')
0 files changed, 0 insertions, 0 deletions