summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--array.c2
-rw-r--r--compar.c2
-rw-r--r--dir.c2
-rw-r--r--dln.c2
-rw-r--r--enum.c2
-rw-r--r--error.c2
-rw-r--r--eval.c2
-rw-r--r--file.c2
-rw-r--r--gc.c2
-rw-r--r--hash.c2
-rw-r--r--inits.c2
-rw-r--r--io.c2
-rw-r--r--io.h2
-rw-r--r--lib/complex.rb4
-rw-r--r--lib/date.rb4
-rw-r--r--lib/e2mmap.rb6
-rw-r--r--lib/finalize.rb6
-rw-r--r--lib/ftplib.rb6
-rw-r--r--lib/mathn.rb4
-rw-r--r--lib/matrix.rb6
-rw-r--r--lib/mutex_m.rb4
-rw-r--r--lib/rational.rb4
-rw-r--r--lib/thwait.rb6
-rw-r--r--math.c2
-rw-r--r--missing/dir.h21
-rw-r--r--node.h2
-rw-r--r--numeric.c2
-rw-r--r--object.c2
-rw-r--r--pack.c2
-rw-r--r--parse.y2
-rw-r--r--process.c2
-rw-r--r--random.c2
-rw-r--r--range.c2
-rw-r--r--re.c2
-rw-r--r--re.h2
-rw-r--r--ruby.c2
-rw-r--r--ruby.h3
-rw-r--r--sample/rbc.rb6
-rw-r--r--sprintf.c2
-rw-r--r--string.c2
-rw-r--r--time.c2
-rw-r--r--util.c2
-rw-r--r--util.h2
-rw-r--r--variable.c5
-rw-r--r--version.c4
-rw-r--r--win32/sdbm.c4
47 files changed, 86 insertions, 69 deletions
diff --git a/ChangeLog b/ChangeLog
index 029e20077c..c02d7e1534 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
Fri Jan 16 00:43:43 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * variable.c (rb_ivar_get): Files can have instance variables now.
+
* ruby.h (CLONESETUP): copies its singleton classes too.
* class.c (singleton_class_attached): saves binded object in the
diff --git a/array.c b/array.c
index 388fb05bd7..a0e1e000d1 100644
--- a/array.c
+++ b/array.c
@@ -6,7 +6,7 @@
$Date$
created at: Fri Aug 6 09:46:12 JST 1993
- Copyright (C) 1993-1996 Yukihiro Matsumoto
+ Copyright (C) 1993-1998 Yukihiro Matsumoto
************************************************/
diff --git a/compar.c b/compar.c
index e852fb1e49..ce85198873 100644
--- a/compar.c
+++ b/compar.c
@@ -6,7 +6,7 @@
$Date$
created at: Thu Aug 26 14:39:48 JST 1993
- Copyright (C) 1993-1996 Yukihiro Matsumoto
+ Copyright (C) 1993-1998 Yukihiro Matsumoto
************************************************/
diff --git a/dir.c b/dir.c
index 29ce261272..e89f247a02 100644
--- a/dir.c
+++ b/dir.c
@@ -6,7 +6,7 @@
$Date$
created at: Wed Jan 5 09:51:01 JST 1994
- Copyright (C) 1993-1996 Yukihiro Matsumoto
+ Copyright (C) 1993-1998 Yukihiro Matsumoto
************************************************/
diff --git a/dln.c b/dln.c
index f4ab012021..0f1df35382 100644
--- a/dln.c
+++ b/dln.c
@@ -6,7 +6,7 @@
$Date$
created at: Tue Jan 18 17:05:06 JST 1994
- Copyright (C) 1993-1996 Yukihiro Matsumoto
+ Copyright (C) 1993-1998 Yukihiro Matsumoto
************************************************/
diff --git a/enum.c b/enum.c
index d8e2fcdc8b..e37fee7f03 100644
--- a/enum.c
+++ b/enum.c
@@ -6,7 +6,7 @@
$Date$
created at: Fri Oct 1 15:15:19 JST 1993
- Copyright (C) 1993-1996 Yukihiro Matsumoto
+ Copyright (C) 1993-1998 Yukihiro Matsumoto
************************************************/
diff --git a/error.c b/error.c
index 7163f62609..bdc38ecb55 100644
--- a/error.c
+++ b/error.c
@@ -6,7 +6,7 @@
$Date$
created at: Mon Aug 9 16:11:34 JST 1993
- Copyright (C) 1993-1996 Yukihiro Matsumoto
+ Copyright (C) 1993-1998 Yukihiro Matsumoto
************************************************/
diff --git a/eval.c b/eval.c
index 42617c2b27..c84031eac6 100644
--- a/eval.c
+++ b/eval.c
@@ -6,7 +6,7 @@
$Date$
created at: Thu Jun 10 14:22:17 JST 1993
- Copyright (C) 1993-1997 Yukihiro Matsumoto
+ Copyright (C) 1993-1998 Yukihiro Matsumoto
************************************************/
diff --git a/file.c b/file.c
index b60ec65d55..03089f5ce8 100644
--- a/file.c
+++ b/file.c
@@ -6,7 +6,7 @@
$Date$
created at: Mon Nov 15 12:24:34 JST 1993
- Copyright (C) 1993-1996 Yukihiro Matsumoto
+ Copyright (C) 1993-1998 Yukihiro Matsumoto
************************************************/
diff --git a/gc.c b/gc.c
index 27065af1cb..1b0b05f796 100644
--- a/gc.c
+++ b/gc.c
@@ -6,7 +6,7 @@
$Date$
created at: Tue Oct 5 09:44:46 JST 1993
- Copyright (C) 1993-1996 Yukihiro Matsumoto
+ Copyright (C) 1993-1998 Yukihiro Matsumoto
************************************************/
diff --git a/hash.c b/hash.c
index 49be7de6aa..ba531f4ded 100644
--- a/hash.c
+++ b/hash.c
@@ -6,7 +6,7 @@
$Date$
created at: Mon Nov 22 18:51:18 JST 1993
- Copyright (C) 1993-1997 Yukihiro Matsumoto
+ Copyright (C) 1993-1998 Yukihiro Matsumoto
************************************************/
diff --git a/inits.c b/inits.c
index 123b32c989..55db006bfe 100644
--- a/inits.c
+++ b/inits.c
@@ -6,7 +6,7 @@
$Date$
created at: Tue Dec 28 16:01:58 JST 1993
- Copyright (C) 1993-1996 Yukihiro Matsumoto
+ Copyright (C) 1993-1998 Yukihiro Matsumoto
************************************************/
diff --git a/io.c b/io.c
index f84e15e447..369fe9d838 100644
--- a/io.c
+++ b/io.c
@@ -6,7 +6,7 @@
$Date$
created at: Fri Oct 15 18:08:59 JST 1993
- Copyright (C) 1993-1996 Yukihiro Matsumoto
+ Copyright (C) 1993-1998 Yukihiro Matsumoto
************************************************/
diff --git a/io.h b/io.h
index c671fca8ed..73acbd7812 100644
--- a/io.h
+++ b/io.h
@@ -7,7 +7,7 @@
$Date$
created at: Fri Nov 12 16:47:09 JST 1993
- Copyright (C) 1993-1996 Yukihiro Matsumoto
+ Copyright (C) 1993-1998 Yukihiro Matsumoto
************************************************/
diff --git a/lib/complex.rb b/lib/complex.rb
index aa5d219d2f..69437b01bb 100644
--- a/lib/complex.rb
+++ b/lib/complex.rb
@@ -1,8 +1,8 @@
#
# complex.rb -
# $Release Version: 0.5 $
-# $Revision: 1.1 $
-# $Date: 1996/11/11 04:25:19 $
+# $Revision: 1.1.1.1 $
+# $Date: 1998/01/16 04:05:49 $
# by Keiju ISHITSUKA(SHL Japan Inc.)
#
# --
diff --git a/lib/date.rb b/lib/date.rb
index 998c2e8152..24731d7c68 100644
--- a/lib/date.rb
+++ b/lib/date.rb
@@ -1,8 +1,8 @@
#
# Date.rb -
# $Release Version: $
-# $Revision: 1.2 $
-# $Date: 1997/02/14 11:05:29 $
+# $Revision: 1.1.1.1 $
+# $Date: 1998/01/16 04:05:49 $
# by Yasuo OHBA(SHL Japan Inc. Technology Dept.)
#
# --
diff --git a/lib/e2mmap.rb b/lib/e2mmap.rb
index d10657bbad..37d36cb604 100644
--- a/lib/e2mmap.rb
+++ b/lib/e2mmap.rb
@@ -1,8 +1,8 @@
#
# e2mmap.rb - for ruby 1.1
# $Release Version: 1.1$
-# $Revision: 1.4 $
-# $Date: 1997/08/18 07:12:12 $
+# $Revision: 1.1.1.1 $
+# $Date: 1998/01/16 04:05:49 $
# by Keiju ISHITSUKA
#
# --
@@ -13,7 +13,7 @@ if VERSION < "1.1"
else
module Exception2MessageMapper
- RCS_ID='-$Header: /home/keiju/var/src/var.lib/ruby/RCS/e2mmap.rb,v 1.4 1997/08/18 07:12:12 keiju Exp keiju $-'
+ RCS_ID='-$Header: /home/cvsroot/ruby/lib/e2mmap.rb,v 1.1.1.1 1998/01/16 04:05:49 matz Exp $-'
E2MM = Exception2MessageMapper
diff --git a/lib/finalize.rb b/lib/finalize.rb
index 9b2ffefcf5..d91bb0d333 100644
--- a/lib/finalize.rb
+++ b/lib/finalize.rb
@@ -1,8 +1,8 @@
#
# finalizer.rb -
# $Release Version: 0.2$
-# $Revision: 1.3 $
-# $Date: 1998/01/09 08:09:49 $
+# $Revision: 1.1.1.2 $
+# $Date: 1998/01/16 04:14:51 $
# by Keiju ISHITSUKA
#
# --
@@ -44,7 +44,7 @@
#
module Finalizer
- RCS_ID='-$Header: /home/keiju/var/src/var.lib/ruby/RCS/finalize.rb,v 1.3 1998/01/09 08:09:49 keiju Exp keiju $-'
+ RCS_ID='-$Header: /home/cvsroot/ruby/lib/finalize.rb,v 1.1.1.2 1998/01/16 04:14:51 matz Exp $-'
# @dependency: {id => [[dependant, method, *opt], ...], ...}
diff --git a/lib/ftplib.rb b/lib/ftplib.rb
index 34ee2f8d62..a03760daf8 100644
--- a/lib/ftplib.rb
+++ b/lib/ftplib.rb
@@ -1,7 +1,7 @@
### ftplib.rb -*- Mode: ruby; tab-width: 8; -*-
-## $Revision: 1.5 $
-## $Date: 1997/09/16 08:03:31 $
+## $Revision: 1.1.1.1 $
+## $Date: 1998/01/16 04:05:49 $
## by maeda shugo <shugo@po.aianet.ne.jp>
### Code:
@@ -17,7 +17,7 @@ class FTPProtoError < FTPError; end
class FTP
- RCS_ID = '$Id: ftplib.rb,v 1.5 1997/09/16 08:03:31 shugo Exp $'
+ RCS_ID = '$Id: ftplib.rb,v 1.1.1.1 1998/01/16 04:05:49 matz Exp $'
FTP_PORT = 21
CRLF = "\r\n"
diff --git a/lib/mathn.rb b/lib/mathn.rb
index fdf27f6771..b5cc9b818b 100644
--- a/lib/mathn.rb
+++ b/lib/mathn.rb
@@ -1,8 +1,8 @@
#
# mathn.rb -
# $Release Version: 0.5 $
-# $Revision: 1.1 $
-# $Date: 1997/07/03 04:43:47 $
+# $Revision: 1.1.1.1 $
+# $Date: 1998/01/16 04:05:49 $
# by Keiju ISHITSUKA(SHL Japan Inc.)
#
# --
diff --git a/lib/matrix.rb b/lib/matrix.rb
index 394c66f098..53c8f8b19c 100644
--- a/lib/matrix.rb
+++ b/lib/matrix.rb
@@ -2,8 +2,8 @@
#
# matrix.rb -
# $Release Version: 1.0$
-# $Revision: 1.0 $
-# $Date: 97/05/23 11:35:28 $
+# $Revision: 1.1.1.1 $
+# $Date: 1998/01/16 04:05:49 $
# Original Version from Smalltalk-80 version
# on July 23, 1985 at 8:37:17 am
# by Keiju ISHITSUKA
@@ -36,7 +36,7 @@ module ExceptionForMatrix
end
class Matrix
- RCS_ID='-$Header: ruby-mode,v 1.2 91/04/20 17:24:57 keiju Locked $-'
+ RCS_ID='-$Header: /home/cvsroot/ruby/lib/matrix.rb,v 1.1.1.1 1998/01/16 04:05:49 matz Exp $-'
include ExceptionForMatrix
diff --git a/lib/mutex_m.rb b/lib/mutex_m.rb
index 823888e72f..693da41675 100644
--- a/lib/mutex_m.rb
+++ b/lib/mutex_m.rb
@@ -1,8 +1,8 @@
#
# mutex_m.rb -
# $Release Version: 2.0$
-# $Revision: 1.2 $
-# $Date: 1997/07/25 02:43:21 $
+# $Revision: 1.1.1.1 $
+# $Date: 1998/01/16 04:05:49 $
# Original from mutex.rb
# by Keiju ISHITSUKA(SHL Japan Inc.)
#
diff --git a/lib/rational.rb b/lib/rational.rb
index d4112c2956..a8c8322abc 100644
--- a/lib/rational.rb
+++ b/lib/rational.rb
@@ -1,8 +1,8 @@
#
# rational.rb -
# $Release Version: 0.5 $
-# $Revision: 1.1 $
-# $Date: 1996/11/11 04:25:14 $
+# $Revision: 1.1.1.1 $
+# $Date: 1998/01/16 04:05:49 $
# by Keiju ISHITSUKA(SHL Japan Inc.)
#
# --
diff --git a/lib/thwait.rb b/lib/thwait.rb
index c638335f5d..4ddd9b46ee 100644
--- a/lib/thwait.rb
+++ b/lib/thwait.rb
@@ -1,8 +1,8 @@
#
# thwait.rb -
# $Release Version: $
-# $Revision: 1.1 $
-# $Date: 1997/08/18 03:13:14 $
+# $Revision: 1.1.1.1 $
+# $Date: 1998/01/16 04:05:50 $
# by Keiju ISHITSUKA(Nippon Rational Inc.)
#
# --
@@ -14,7 +14,7 @@ require "thread.rb"
require "e2mmap.rb"
class ThreadsWait
- RCS_ID='-$Header: /home/keiju/var/src/var.lib/ruby/RCS/thwait.rb,v 1.1 1997/08/18 03:13:14 keiju Exp keiju $-'
+ RCS_ID='-$Header: /home/cvsroot/ruby/lib/thwait.rb,v 1.1.1.1 1998/01/16 04:05:50 matz Exp $-'
Exception2MessageMapper.extend_to(binding)
def_exception("ErrWaitThreadsNothing", "Wait threads nothing.")
diff --git a/math.c b/math.c
index 0e427035f4..775bddaf16 100644
--- a/math.c
+++ b/math.c
@@ -6,7 +6,7 @@
$Date$
created at: Tue Jan 25 14:12:56 JST 1994
- Copyright (C) 1993-1996 Yukihiro Matsumoto
+ Copyright (C) 1993-1998 Yukihiro Matsumoto
************************************************/
diff --git a/missing/dir.h b/missing/dir.h
index 34be77b9c0..6cf5318fa9 100644
--- a/missing/dir.h
+++ b/missing/dir.h
@@ -1,11 +1,14 @@
-/* $RCSfile: dir.h,v $$Revision: 4.0.1.1 $$Date: 91/06/07 11:22:10 $
+/* $RCSfile: dir.h,v $$Revision: 1.1.1.2 $$Date: 1998/01/16 04:14:54 $
*
* (C) Copyright 1987, 1990 Diomidis Spinellis.
*
* You may distribute under the terms of either the GNU General Public
* License or the Artistic License, as specified in the README file.
*
- * $Log: dir.h,v $
+ * $Log: dir.h,v $
+ * Revision 1.1.1.2 1998/01/16 04:14:54 matz
+ * *** empty log message ***
+ *
* Revision 4.0.1.1 91/06/07 11:22:10 lwall
* patch4: new copyright notice
*
@@ -61,14 +64,17 @@ void rewinddir(DIR *dirp);
void closedir(DIR *dirp);
#endif /* __DIR_INCLUDED */
-/* $RCSfile: dir.h,v $$Revision: 4.0.1.1 $$Date: 91/06/07 11:22:10 $
+/* $RCSfile: dir.h,v $$Revision: 1.1.1.2 $$Date: 1998/01/16 04:14:54 $
*
* (C) Copyright 1987, 1990 Diomidis Spinellis.
*
* You may distribute under the terms of either the GNU General Public
* License or the Artistic License, as specified in the README file.
*
- * $Log: dir.h,v $
+ * $Log: dir.h,v $
+ * Revision 1.1.1.2 1998/01/16 04:14:54 matz
+ * *** empty log message ***
+ *
* Revision 4.0.1.1 91/06/07 11:22:10 lwall
* patch4: new copyright notice
*
@@ -122,14 +128,17 @@ void rewinddir(DIR *dirp);
void closedir(DIR *dirp);
#endif /* __DIR_INCLUDED */
-/* $RCSfile: dir.h,v $$Revision: 4.0.1.1 $$Date: 91/06/07 11:22:10 $
+/* $RCSfile: dir.h,v $$Revision: 1.1.1.2 $$Date: 1998/01/16 04:14:54 $
*
* (C) Copyright 1987, 1990 Diomidis Spinellis.
*
* You may distribute under the terms of either the GNU General Public
* License or the Artistic License, as specified in the README file.
*
- * $Log: dir.h,v $
+ * $Log: dir.h,v $
+ * Revision 1.1.1.2 1998/01/16 04:14:54 matz
+ * *** empty log message ***
+ *
* Revision 4.0.1.1 91/06/07 11:22:10 lwall
* patch4: new copyright notice
*
diff --git a/node.h b/node.h
index cdb354c007..a4dab02ac0 100644
--- a/node.h
+++ b/node.h
@@ -6,7 +6,7 @@
$Date$
created at: Fri May 28 15:14:02 JST 1993
- Copyright (C) 1993-1996 Yukihiro Matsumoto
+ Copyright (C) 1993-1998 Yukihiro Matsumoto
************************************************/
diff --git a/numeric.c b/numeric.c
index b0d5f7f522..4bc9a604ec 100644
--- a/numeric.c
+++ b/numeric.c
@@ -6,7 +6,7 @@
$Date$
created at: Fri Aug 13 18:33:09 JST 1993
- Copyright (C) 1993-1996 Yukihiro Matsumoto
+ Copyright (C) 1993-1998 Yukihiro Matsumoto
************************************************/
diff --git a/object.c b/object.c
index 2e614b3a41..faf6983526 100644
--- a/object.c
+++ b/object.c
@@ -6,7 +6,7 @@
$Date$
created at: Thu Jul 15 12:01:24 JST 1993
- Copyright (C) 1993-1996 Yukihiro Matsumoto
+ Copyright (C) 1993-1998 Yukihiro Matsumoto
************************************************/
diff --git a/pack.c b/pack.c
index 20d12d4003..52a0dd5027 100644
--- a/pack.c
+++ b/pack.c
@@ -6,7 +6,7 @@
$Date$
created at: Thu Feb 10 15:17:05 JST 1994
- Copyright (C) 1993-1996 Yukihiro Matsumoto
+ Copyright (C) 1993-1998 Yukihiro Matsumoto
************************************************/
diff --git a/parse.y b/parse.y
index 4bf13cf398..26a7fd9452 100644
--- a/parse.y
+++ b/parse.y
@@ -6,7 +6,7 @@
$Date$
created at: Fri May 28 18:02:42 JST 1993
- Copyright (C) 1993-1996 Yukihiro Matsumoto
+ Copyright (C) 1993-1998 Yukihiro Matsumoto
************************************************/
diff --git a/process.c b/process.c
index 9d50fea8bf..0b9373a88c 100644
--- a/process.c
+++ b/process.c
@@ -6,7 +6,7 @@
$Date$
created at: Tue Aug 10 14:30:50 JST 1993
- Copyright (C) 1993-1996 Yukihiro Matsumoto
+ Copyright (C) 1993-1998 Yukihiro Matsumoto
************************************************/
diff --git a/random.c b/random.c
index d0a5756b69..8674dd0bad 100644
--- a/random.c
+++ b/random.c
@@ -6,7 +6,7 @@
$Date$
created at: Fri Dec 24 16:39:21 JST 1993
- Copyright (C) 1993-1996 Yukihiro Matsumoto
+ Copyright (C) 1993-1998 Yukihiro Matsumoto
************************************************/
diff --git a/range.c b/range.c
index 9596e07f93..121acfe5a6 100644
--- a/range.c
+++ b/range.c
@@ -6,7 +6,7 @@
$Date$
created at: Thu Aug 19 17:46:47 JST 1993
- Copyright (C) 1993-1996 Yukihiro Matsumoto
+ Copyright (C) 1993-1998 Yukihiro Matsumoto
************************************************/
diff --git a/re.c b/re.c
index cb0ade9aaf..2f1a9211e0 100644
--- a/re.c
+++ b/re.c
@@ -6,7 +6,7 @@
$Date$
created at: Mon Aug 9 18:24:49 JST 1993
- Copyright (C) 1993-1996 Yukihiro Matsumoto
+ Copyright (C) 1993-1998 Yukihiro Matsumoto
************************************************/
diff --git a/re.h b/re.h
index 8769d6ef39..dd93168ab1 100644
--- a/re.h
+++ b/re.h
@@ -7,7 +7,7 @@
$Date$
created at: Thu Sep 30 14:18:32 JST 1993
- Copyright (C) 1993-1996 Yukihiro Matsumoto
+ Copyright (C) 1993-1998 Yukihiro Matsumoto
************************************************/
diff --git a/ruby.c b/ruby.c
index 6e748f249d..620cffc542 100644
--- a/ruby.c
+++ b/ruby.c
@@ -6,7 +6,7 @@
$Date$
created at: Tue Aug 10 12:47:31 JST 1993
- Copyright (C) 1993-1996 Yukihiro Matsumoto
+ Copyright (C) 1993-1998 Yukihiro Matsumoto
************************************************/
diff --git a/ruby.h b/ruby.h
index ac53f620a9..16153e09ca 100644
--- a/ruby.h
+++ b/ruby.h
@@ -6,7 +6,7 @@
$Date$
created at: Thu Jun 10 14:26:32 JST 1993
- Copyright (C) 1993-1996 Yukihiro Matsumoto
+ Copyright (C) 1993-1998 Yukihiro Matsumoto
*************************************************/
@@ -227,6 +227,7 @@ struct RHash {
struct RFile {
struct RBasic basic;
+ struct st_table *iv_tbl;
struct OpenFile *fptr;
};
diff --git a/sample/rbc.rb b/sample/rbc.rb
index 88a5b2d069..485b558adb 100644
--- a/sample/rbc.rb
+++ b/sample/rbc.rb
@@ -2,8 +2,8 @@
#
# rbc.rb -
# $Release Version: 0.6 $
-# $Revision: 1.2 $
-# $Date: 1997/11/27 13:46:06 $
+# $Revision: 1.1.1.1 $
+# $Date: 1998/01/16 04:14:56 $
# by Keiju ISHITSUKA(Nippon Rational Inc.)
#
# --
@@ -32,7 +32,7 @@ require "e2mmap.rb"
$stdout.sync = TRUE
module BC_APPLICATION__
- RCS_ID='-$Header: /home/keiju/var/src/var.lib/ruby/ruby/RCS/rbc.rb,v 1.2 1997/11/27 13:46:06 keiju Exp keiju $-'
+ RCS_ID='-$Header: /home/cvsroot/ruby/sample/rbc.rb,v 1.1.1.1 1998/01/16 04:14:56 matz Exp $-'
extend Exception2MessageMapper
def_exception :UnrecognizedSwitch, "Unrecognized switch: %s"
diff --git a/sprintf.c b/sprintf.c
index 7862a469e8..07f8a42694 100644
--- a/sprintf.c
+++ b/sprintf.c
@@ -6,7 +6,7 @@
$Date$
created at: Fri Oct 15 10:39:26 JST 1993
- Copyright (C) 1993-1996 Yukihiro Matsumoto
+ Copyright (C) 1993-1998 Yukihiro Matsumoto
************************************************/
diff --git a/string.c b/string.c
index 3c3d24f3cf..8c5b4eb76b 100644
--- a/string.c
+++ b/string.c
@@ -6,7 +6,7 @@
$Date$
created at: Mon Aug 9 17:12:58 JST 1993
- Copyright (C) 1993-1996 Yukihiro Matsumoto
+ Copyright (C) 1993-1998 Yukihiro Matsumoto
************************************************/
diff --git a/time.c b/time.c
index 1749c32319..f1b40a3606 100644
--- a/time.c
+++ b/time.c
@@ -6,7 +6,7 @@
$Date$
created at: Tue Dec 28 14:31:59 JST 1993
- Copyright (C) 1993-1996 Yukihiro Matsumoto
+ Copyright (C) 1993-1998 Yukihiro Matsumoto
************************************************/
diff --git a/util.c b/util.c
index 21e0a55639..527ce87d03 100644
--- a/util.c
+++ b/util.c
@@ -6,7 +6,7 @@
$Date$
created at: Fri Mar 10 17:22:34 JST 1995
- Copyright (C) 1993-1996 Yukihiro Matsumoto
+ Copyright (C) 1993-1998 Yukihiro Matsumoto
************************************************/
diff --git a/util.h b/util.h
index 570d894ccb..78f8169fdb 100644
--- a/util.h
+++ b/util.h
@@ -6,7 +6,7 @@
$Date$
created at: Thu Mar 9 11:55:53 JST 1995
- Copyright (C) 1993-1996 Yukihiro Matsumoto
+ Copyright (C) 1993-1998 Yukihiro Matsumoto
************************************************/
#ifndef UTIL_H
diff --git a/variable.c b/variable.c
index 0115b87d68..afc4ea96b6 100644
--- a/variable.c
+++ b/variable.c
@@ -702,6 +702,7 @@ rb_ivar_get(obj, id)
case T_OBJECT:
case T_CLASS:
case T_MODULE:
+ case T_FILE:
if (ROBJECT(obj)->iv_tbl && st_lookup(ROBJECT(obj)->iv_tbl, id, &val))
return val;
return Qnil;
@@ -728,6 +729,7 @@ rb_ivar_set(obj, id, val)
case T_OBJECT:
case T_CLASS:
case T_MODULE:
+ case T_FILE:
if (!ROBJECT(obj)->iv_tbl) ROBJECT(obj)->iv_tbl = new_idhash();
st_insert(ROBJECT(obj)->iv_tbl, id, val);
break;
@@ -750,6 +752,7 @@ rb_ivar_defined(obj, id)
case T_OBJECT:
case T_CLASS:
case T_MODULE:
+ case T_FILE:
if (ROBJECT(obj)->iv_tbl && st_lookup(ROBJECT(obj)->iv_tbl, id, 0))
return TRUE;
break;
@@ -779,6 +782,7 @@ obj_instance_variables(obj)
case T_OBJECT:
case T_CLASS:
case T_MODULE:
+ case T_FILE:
if (ROBJECT(obj)->iv_tbl) {
st_foreach(ROBJECT(obj)->iv_tbl, ivar_i, hash);
}
@@ -804,6 +808,7 @@ obj_remove_instance_variable(obj, name)
case T_OBJECT:
case T_CLASS:
case T_MODULE:
+ case T_FILE:
if (ROBJECT(obj)->iv_tbl) {
st_delete(ROBJECT(obj)->iv_tbl, &id, &val);
}
diff --git a/version.c b/version.c
index 71f531c963..7f1832a4af 100644
--- a/version.c
+++ b/version.c
@@ -7,7 +7,7 @@
$Date$
created at: Thu Sep 30 20:08:01 JST 1993
- Copyright (C) 1993-1996 Yukihiro Matsumoto
+ Copyright (C) 1993-1998 Yukihiro Matsumoto
************************************************/
@@ -31,6 +31,6 @@ show_version()
void
show_copyright()
{
- fprintf(stderr, "ruby - Copyright (C) 1993-1997 Yukihiro Matsumoto\n");
+ fprintf(stderr, "ruby - Copyright (C) 1993-1998 Yukihiro Matsumoto\n");
exit(0);
}
diff --git a/win32/sdbm.c b/win32/sdbm.c
index 0e4673bbb5..39fbb72d40 100644
--- a/win32/sdbm.c
+++ b/win32/sdbm.c
@@ -8,7 +8,7 @@
*/
#ifndef lint
-/*char sdbm_rcsid[] = "$Id: sdbm.c,v 1.16 90/12/13 13:01:31 oz Exp $";*/
+/*char sdbm_rcsid[] = "$Id: sdbm.c,v 1.1.1.1 1998/01/16 04:14:57 matz Exp $";*/
#endif
#include "sdbm.h"
@@ -634,7 +634,7 @@ register DBM *db;
*/
#ifndef lint
-/*char pair_rcsid[] = "$Id: pair.c,v 1.10 90/12/13 13:00:35 oz Exp $";*/
+/*char pair_rcsid[] = "$Id: sdbm.c,v 1.1.1.1 1998/01/16 04:14:57 matz Exp $";*/
#endif
#ifndef BSD42