Typo in gc.c 'descarding' should be 'discarding' [PATCH]

From: Eric Hodel <drbrain@...7.net>
Date: 2004-04-11 22:17:50 UTC
List: ruby-core #2774
On line 1722, 'descarding' should be 'discarding'.

-- 
Eric Hodel - drbrain@segment7.net - http://segment7.net
All messages signed with fingerprint:
FEC2 57F1 D465 EB15 5D6E  7C11 332A 551C 796C 9F04

Attachments (1)

descard-typo.patch (586 Bytes, text/x-diff)
Index: gc.c
===================================================================
RCS file: /src/ruby/gc.c,v
retrieving revision 1.174
diff -u -r1.174 gc.c
--- gc.c	7 Apr 2004 06:30:14 -0000	1.174
+++ gc.c	11 Apr 2004 22:12:34 -0000
@@ -1719,7 +1719,7 @@
     if (!finalizer_table) return;
     if (!FL_TEST(obj, FL_FINALIZE)) return;
     if (FL_TEST(dest, FL_FINALIZE)) {
-	rb_warn("copy_finalizer: descarding old finalizers");
+	rb_warn("copy_finalizer: discarding old finalizers");
     }
     if (st_lookup(finalizer_table, obj, &table)) {
 	st_insert(finalizer_table, dest, table);

In This Thread

Prev Next