Date: Fri, 20 Mar 2026 18:29:10 +0000 From: bugzilla-noreply@freebsd.org To: pkg@FreeBSD.org Subject: [Bug 233836] ports-mgmt/pkg : If both -A and -v are passed to 'pkg set', some packages may be skipped. Message-ID: <bug-233836-32340-QCNKh4SsW0@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-233836-32340@https.bugs.freebsd.org/bugzilla/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233836 --- Comment #2 from Stephen Wall <stephen.wall@redcom.com> --- There don't appear to be any significant changes with the `pkg set -[Av]` code in the last 12 years, so it's probably still an issue. It's gotta be the continue(s) here, and it'll also skip whatever the last if() is doing: while (pkgdb_it_next(it, &pkg, loads) == EPKG_OK) { gotone = true; if ((sets & AUTOMATIC) == AUTOMATIC) { pkg_get(pkg, PKG_ATTR_AUTOMATIC, &automatic); if (automatic == newautomatic) continue; ... } if ((sets & VITAL) == VITAL) { pkg_get(pkg, PKG_ATTR_VITAL, &vital); if (vital == newvital) continue; ... } if (sets & (ORIGIN|NAME)) { But at this point, I no longer care, so closing this is fine. -- You are receiving this mail because: You are the assignee for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-233836-32340-QCNKh4SsW0>
