summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2012-03-24 20:40:14 -0700
committerKaz Kylheku <kaz@kylheku.com>2012-03-24 20:40:14 -0700
commit108a4fd92f79a47261e1ad5e06f6333ac03b91d5 (patch)
tree579fa68a154c418d48af32e9e0659007e9192c11
parent1e95ef5e4bfee32bb4c52a59b5bd510f87288569 (diff)
downloadtxr-108a4fd92f79a47261e1ad5e06f6333ac03b91d5.tar.gz
txr-108a4fd92f79a47261e1ad5e06f6333ac03b91d5.tar.bz2
txr-108a4fd92f79a47261e1ad5e06f6333ac03b91d5.zip
Bug #35989
* match.c (syms_init): text_s must be in the system package because it's not a user-visible operator.
-rw-r--r--ChangeLog7
-rw-r--r--match.c2
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index c97cf6a9..a3ed8f68 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
2012-03-24 Kaz Kylheku <kaz@kylheku.com>
+ Bug #35989
+
+ * match.c (syms_init): text_s must be in the system
+ package because it's not a user-visible operator.
+
+2012-03-24 Kaz Kylheku <kaz@kylheku.com>
+
Performance improvement in the GC: keep at least one heap's worth
of free space, so programs close to exhausting a heap do not
waste cycles frequently calling the collector.
diff --git a/match.c b/match.c
index de32a99f..19366350 100644
--- a/match.c
+++ b/match.c
@@ -3681,7 +3681,7 @@ static void syms_init(void)
times_k = intern(lit("times"), keyword_package);
lines_k = intern(lit("lines"), keyword_package);
chars_k = intern(lit("chars"), keyword_package);
- text_s = intern(lit("text"), user_package);
+ text_s = intern(lit("text"), system_package);
choose_s = intern(lit("choose"), user_package);
gather_s = intern(lit("gather"), user_package);
do_s = intern(lit("do"), user_package);