From: espie Date: Sat, 27 May 2023 10:01:51 +0000 (+0000) Subject: comments X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=f2490bab50b5af6a8bf85d24a8e57cfa0244773a;p=openbsd comments --- diff --git a/usr.sbin/pkg_add/OpenBSD/OldLibs.pm b/usr.sbin/pkg_add/OpenBSD/OldLibs.pm index 646f66286e4..e4e214d1267 100644 --- a/usr.sbin/pkg_add/OpenBSD/OldLibs.pm +++ b/usr.sbin/pkg_add/OpenBSD/OldLibs.pm @@ -1,5 +1,5 @@ # ex:ts=8 sw=4: -# $OpenBSD: OldLibs.pm,v 1.15 2023/05/21 16:07:35 espie Exp $ +# $OpenBSD: OldLibs.pm,v 1.16 2023/05/27 10:01:51 espie Exp $ # # Copyright (c) 2004-2010 Marc Espie # @@ -19,6 +19,8 @@ use warnings; package OpenBSD::PackingElement; +# $self->mark_lib($libs, $libpatterns) +# store libs into hashes sub mark_lib { } @@ -27,6 +29,8 @@ sub unmark_lib { } +# $self->separate_element($libs, $c1, $c2) +# based on libs hash, do we sort it into clone 1 or clone 2 sub separate_element { my ($self, $libs, $c1, $c2) = @_; @@ -41,6 +45,7 @@ sub special_deep_copy package OpenBSD::PackingElement::Meta; +# so every meta element ends up in both sub separate_element { my ($self, $libs, $c1, $c2) = @_;