On Sat, 25 Oct 2014, at 02:00 AM, Carlin Bingham wrote:
> If pkg_add asks for a dependency immediately the "No change in quirks"
> text isn't cleared, and the "Ambiguous..." message prints on the same 
> line.
> 

> 
> Index: usr.sbin/pkg_add/OpenBSD/Dependencies.pm
> ===================================================================
> RCS file: /cvs/src/usr.sbin/pkg_add/OpenBSD/Dependencies.pm,v
> retrieving revision 1.152
> diff -u -p -u -r1.152 Dependencies.pm
> --- usr.sbin/pkg_add/OpenBSD/Dependencies.pm    1 Feb 2014 11:37:58 -0000
>       1.152
> +++ usr.sbin/pkg_add/OpenBSD/Dependencies.pm    24 Oct 2014 11:21:47
> -0000
> @@ -577,6 +577,7 @@ sub find_dep_in_repositories
>                 # put default first if available
>                 @pkgs = ((grep {$_ eq $dep->{def}} @pkgs),
>                     (sort (grep {$_ ne $dep->{def}} @pkgs)));
> +               $state->progress->clear;
>                 my $good = $state->ask_list(
>                     'Ambiguous: choose dependency for
>                     '.$self->{set}->print.': ',
>                     $state->{interactive}, @pkgs);
> 
> 

Was there a problem with this or is it too trivial to worry about?


--
Carlin

Reply via email to