[pacman-dev] [PATCH] pacman-key: refactor get_from

Allan McRae allan at archlinux.org
Fri Jul 8 23:11:53 EDT 2011


On 09/07/11 12:40, Dave Reisner wrote:
> 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 at archlinux.org>

Signed-off-by: Allan

Pulled onto my working branch with the rest of the pacman-key stuff.

Allan



More information about the pacman-dev mailing list