Use the locked version of the query-pr program to avoid running

www.FreeBSD.org out of memory.
This commit is contained in:
Simon L. B. Nielsen 2006-11-03 12:32:59 +00:00
parent 4e444d1745
commit 1fd366d976
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/www/; revision=28996

View file

@ -26,7 +26,7 @@
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
#
# $FreeBSD: www/en/cgi/query-pr.cgi,v 1.56 2006/10/11 21:02:58 danger Exp $
# $FreeBSD: www/en/cgi/query-pr.cgi,v 1.57 2006/10/26 11:13:34 yar Exp $
#
use strict;
@ -257,9 +257,9 @@ $PR = quotemeta $PR;
if ($category) {
$category = quotemeta $category;
@query = split /\n/, qx(query-pr --full --category=${category} ${PR});
@query = split /\n/, qx(query-pr.web --full --category=${category} ${PR});
} else {
@query = split /\n/, qx(query-pr --full ${PR});
@query = split /\n/, qx(query-pr.web --full ${PR});
}
if (!@query) {