From: espie Date: Tue, 2 Mar 2021 10:59:20 +0000 (+0000) Subject: finish GC old unintuitive interface X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=92c1b6f558a9484431a9effa851d89cc1259a6aa;p=openbsd finish GC old unintuitive interface now handle_continue and find_window_size are fully separated. --- diff --git a/usr.sbin/pkg_add/OpenBSD/State.pm b/usr.sbin/pkg_add/OpenBSD/State.pm index ff600033cbf..b4d094ae12c 100644 --- a/usr.sbin/pkg_add/OpenBSD/State.pm +++ b/usr.sbin/pkg_add/OpenBSD/State.pm @@ -1,5 +1,5 @@ # ex:ts=8 sw=4: -# $OpenBSD: State.pm,v 1.69 2021/02/01 20:15:01 espie Exp $ +# $OpenBSD: State.pm,v 1.70 2021/03/02 10:59:20 espie Exp $ # # Copyright (c) 2007-2014 Marc Espie # @@ -134,7 +134,7 @@ sub repo sub handle_continue { my $self = shift; - $self->find_window_size(1); # 1 is legacy interface for dpb + $self->find_window_size; # invalidate cache so this runs again after continue delete $self->{can_output}; }