Date: Sun, 24 Jul 2016 16:23:13 +0200 From: Stefan Esser <se@freebsd.org> To: freebsd-ports@freebsd.org Cc: Walter Schwarzenfeld <w.schwarzenfeld@utanet.at>, jakub_lach@mailplus.pl Subject: [FIXED] Re: portmaster --check-port-dbdir is broken for me Message-ID: <0cdb5c39-636b-9348-d292-8ca949dff583@freebsd.org> In-Reply-To: <5236822d-88ab-96c1-15bc-30a700a3fd88@utanet.at> References: <0b9a1969-b905-1b38-d13b-77cf79ceb4bc@toco-domains.de> <5236822d-88ab-96c1-15bc-30a700a3fd88@utanet.at>
next in thread | previous in thread | raw e-mail | index | archive | help
Am 21.07.2016 um 15:18 schrieb Walter Schwarzenfeld: > Thorsten, after the remove of the patch portmaster find the right files > which are not installed, and nothing other. > It seems is was the patch. Sorry if my patch broke some of portmaster's functionality. I had tested the behaviour of the loop with and without the patch (you can repeat my test by adding "set -x" after the line reading echo "===>>> Building list of installed port names"; echo '' and "set +x" before echo "===>>> Checking $port_dbdir" The trace output is identical (except for the variable assignment in all_pkgs_by_origin() for the patched file) and $unique_list is identical throughout the loop. BUT in case of the patched version, $unique_list is created in the second process in the pipe, and lost when that process terminates. This should be fixed in SVN rev. 419005. Thanks for reporting and sorry for the incompete testing that I had done for the initial patch. Regards, STefan
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0cdb5c39-636b-9348-d292-8ca949dff583>