From 9e59712eca2bb7e6332c1ca48940e4f6b155d2f0 Mon Sep 17 00:00:00 2001
From: Martin Nilsson <mani@lysator.liu.se>
Date: Sat, 5 Jun 2004 19:22:05 +0200
Subject: [PATCH] Print the number of consts

Rev: tools/release_checks.pike:1.9
---
 tools/release_checks.pike | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tools/release_checks.pike b/tools/release_checks.pike
index dbff75f34c..4eaadf12f4 100644
--- a/tools/release_checks.pike
+++ b/tools/release_checks.pike
@@ -11,7 +11,8 @@ int test_constants() {
   if(allocated < consts*105/100) {
     // Overallocating by less than 5%.
     write("Consider increasing the size of the builtin_constants mapping "
-	  "to %d entries (currently %d).\n", consts*110/100, allocated);
+	  "to %d entries (currently %d/%d).\n", consts*110/100, allocated,
+	  consts);
   } else if (allocated > consts*115/100) {
     // Overallocating by more than 15% seems excessive.
     write("Consider decreasing the size of the builtin_constants mapping "
-- 
GitLab