summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordave <dave@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-01-26 13:54:41 +0000
committerdave <dave@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-01-26 13:54:41 +0000
commit51de9a847f0d7b652e96183995410fa0c5e5f3cc (patch)
treeee00912e1f3381c706449bbfdf1e6a24498e16df
parent8f186a1d76ef5b73693b4e2cc2b3130a72512c21 (diff)
downloadruby-51de9a847f0d7b652e96183995410fa0c5e5f3cc.tar.gz
ruby-51de9a847f0d7b652e96183995410fa0c5e5f3cc.tar.xz
ruby-51de9a847f0d7b652e96183995410fa0c5e5f3cc.zip
Remove references to defout
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@5558 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog4
-rw-r--r--io.c12
2 files changed, 10 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index 3cd704cf5..7d04bb9a0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Mon Jan 26 22:53:04 2004 Dave Thomas <dave@pragprog.com>
+
+ * io.c: Remove documentation references to $defout.
+
Mon Jan 26 15:11:47 2004 NAKAMURA Usaku <usa@ruby-lang.org>
* sample/exyacc.rb: escape '}' to avoid warning.
diff --git a/io.c b/io.c
index b68c75086..637b68def 100644
--- a/io.c
+++ b/io.c
@@ -3261,7 +3261,7 @@ rb_io_printf(argc, argv, out)
* Equivalent to:
* io.write(sprintf(string, obj, ...)
* or
- * $defout.write(sprintf(string, obj, ...)
+ * $stdout.write(sprintf(string, obj, ...)
*/
static VALUE
@@ -3344,7 +3344,7 @@ rb_io_print(argc, argv, out)
* call-seq:
* print(obj, ...) => nil
*
- * Prints each object in turn to <code>$defout</code>. If the output
+ * Prints each object in turn to <code>$stdout</code>. If the output
* field separator (<code>$,</code>) is not +nil+, its
* contents will appear between each field. If the output record
* separator (<code>$\</code>) is not +nil+, it will be
@@ -3404,7 +3404,7 @@ rb_io_putc(io, ch)
*
* Equivalent to:
*
- * $defout.putc(int)
+ * $stdout.putc(int)
*/
static VALUE
@@ -3493,7 +3493,7 @@ rb_io_puts(argc, argv, out)
*
* Equivalent to
*
- * $defout.puts(obj, ...)
+ * $stdout.puts(obj, ...)
*/
static VALUE
@@ -3632,7 +3632,7 @@ defout_setter(val, id, variable)
VALUE *variable;
{
stdout_setter(val, id, variable);
- rb_warn("$defout is obslete; use $stdout instead");
+ rb_warn("$defout is obsolete; use $stdout instead");
}
static void
@@ -3642,7 +3642,7 @@ deferr_setter(val, id, variable)
VALUE *variable;
{
stdout_setter(val, id, variable);
- rb_warn("$deferr is obslete; use $stderr instead");
+ rb_warn("$deferr is obsolete; use $stderr instead");
}
static VALUE