Created
April 27, 2010 19:34
-
-
Save paukul/381188 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -x .git -x .gitignore -ruB array.c array.c | |
--- array.c 2010-04-27 21:51:03.000000000 +0200 | |
+++ array.c 2010-04-27 21:11:07.000000000 +0200 | |
@@ -2,8 +2,8 @@ | |
array.c - | |
- $Author: shyouhei $ | |
- $Date: 2009-02-05 00:55:33 +0100 (Do, 05 Feb 2009) $ | |
+ $Author$ | |
+ $Date$ | |
created at: Fri Aug 6 09:46:12 JST 1993 | |
Copyright (C) 1993-2003 Yukihiro Matsumoto | |
diff -x .git -x .gitignore -ruB bignum.c bignum.c | |
--- bignum.c 2010-04-27 21:51:03.000000000 +0200 | |
+++ bignum.c 2010-04-27 21:11:07.000000000 +0200 | |
@@ -2,8 +2,8 @@ | |
bignum.c - | |
- $Author: shyouhei $ | |
- $Date: 2009-07-30 02:31:59 +0200 (Do, 30 Jul 2009) $ | |
+ $Author$ | |
+ $Date$ | |
created at: Fri Jun 10 00:48:55 JST 1994 | |
Copyright (C) 1993-2003 Yukihiro Matsumoto | |
diff -x .git -x .gitignore -ruB bin/irb bin/irb | |
--- bin/irb 2010-04-27 21:24:05.000000000 +0200 | |
+++ bin/irb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -2,8 +2,8 @@ | |
# | |
# irb.rb - intaractive ruby | |
# $Release Version: 0.9.5 $ | |
-# $Revision: 11708 $ | |
-# $Date: 2007-02-13 00:01:19 +0100 (Di, 13 Feb 2007) $ | |
+# $Revision$ | |
+# $Date$ | |
# by Keiju ISHITSUKA([email protected]) | |
# | |
diff -x .git -x .gitignore -ruB bin/rdoc bin/rdoc | |
--- bin/rdoc 2010-04-27 21:24:05.000000000 +0200 | |
+++ bin/rdoc 2010-04-27 21:11:07.000000000 +0200 | |
@@ -6,7 +6,7 @@ | |
# Copyright (c) 2003 Dave Thomas | |
# Released under the same terms as Ruby | |
# | |
-# $Revision: 11708 $ | |
+# $Revision$ | |
## Transitional Hack #### | |
# | |
diff -x .git -x .gitignore -ruB class.c class.c | |
--- class.c 2010-04-27 21:24:05.000000000 +0200 | |
+++ class.c 2010-04-27 21:11:07.000000000 +0200 | |
@@ -2,8 +2,8 @@ | |
class.c - | |
- $Author: shyouhei $ | |
- $Date: 2009-09-11 05:23:37 +0200 (Fr, 11 Sep 2009) $ | |
+ $Author$ | |
+ $Date$ | |
created at: Tue Aug 10 15:05:44 JST 1993 | |
Copyright (C) 1993-2003 Yukihiro Matsumoto | |
diff -x .git -x .gitignore -ruB compar.c compar.c | |
--- compar.c 2010-04-27 21:24:05.000000000 +0200 | |
+++ compar.c 2010-04-27 21:11:07.000000000 +0200 | |
@@ -2,8 +2,8 @@ | |
compar.c - | |
- $Author: shyouhei $ | |
- $Date: 2007-02-13 00:01:19 +0100 (Di, 13 Feb 2007) $ | |
+ $Author$ | |
+ $Date$ | |
created at: Thu Aug 26 14:39:48 JST 1993 | |
Copyright (C) 1993-2003 Yukihiro Matsumoto | |
diff -x .git -x .gitignore -ruB configure.in configure.in | |
--- configure.in 2010-04-27 21:54:12.000000000 +0200 | |
+++ configure.in 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1544,6 +1544,14 @@ | |
LDFLAGS="-L. $LDFLAGS" | |
AC_SUBST(ARCHFILE) | |
+dnl enable gc debugging | |
+AC_ARG_ENABLE(gcdebug, | |
+ [ --enable-gcdebug build garbage collector with debugging enabled. ], | |
+ [enable_gcdebug=$enableval]) | |
+if test "$enable_gcdebug" = 'yes'; then | |
+ AC_DEFINE(GC_DEBUG, 1) | |
+fi | |
+ | |
dnl build rdoc index if requested | |
RDOCTARGET="" | |
AC_ARG_ENABLE(install-doc, | |
diff -x .git -x .gitignore -ruB defines.h defines.h | |
--- defines.h 2010-04-27 21:24:05.000000000 +0200 | |
+++ defines.h 2010-04-27 21:11:07.000000000 +0200 | |
@@ -2,8 +2,8 @@ | |
defines.h - | |
- $Author: knu $ | |
- $Date: 2008-05-18 17:02:36 +0200 (So, 18 Mai 2008) $ | |
+ $Author$ | |
+ $Date$ | |
created at: Wed May 18 00:21:44 JST 1994 | |
************************************************/ | |
diff -x .git -x .gitignore -ruB dir.c dir.c | |
--- dir.c 2010-04-27 21:24:05.000000000 +0200 | |
+++ dir.c 2010-04-27 21:11:07.000000000 +0200 | |
@@ -2,8 +2,8 @@ | |
dir.c - | |
- $Author: shyouhei $ | |
- $Date: 2009-02-04 06:27:05 +0100 (Mi, 04 Feb 2009) $ | |
+ $Author$ | |
+ $Date$ | |
created at: Wed Jan 5 09:51:01 JST 1994 | |
Copyright (C) 1993-2003 Yukihiro Matsumoto | |
diff -x .git -x .gitignore -ruB dln.c dln.c | |
--- dln.c 2010-04-27 21:24:05.000000000 +0200 | |
+++ dln.c 2010-04-27 21:11:07.000000000 +0200 | |
@@ -2,8 +2,8 @@ | |
dln.c - | |
- $Author: knu $ | |
- $Date: 2008-06-06 12:39:57 +0200 (Fr, 06 Jun 2008) $ | |
+ $Author$ | |
+ $Date$ | |
created at: Tue Jan 18 17:05:06 JST 1994 | |
Copyright (C) 1993-2003 Yukihiro Matsumoto | |
diff -x .git -x .gitignore -ruB dln.h dln.h | |
--- dln.h 2010-04-27 21:24:05.000000000 +0200 | |
+++ dln.h 2010-04-27 21:11:07.000000000 +0200 | |
@@ -2,8 +2,8 @@ | |
dln.h - | |
- $Author: shyouhei $ | |
- $Date: 2007-02-13 00:01:19 +0100 (Di, 13 Feb 2007) $ | |
+ $Author$ | |
+ $Date$ | |
created at: Wed Jan 19 16:53:09 JST 1994 | |
Copyright (C) 1993-2003 Yukihiro Matsumoto | |
diff -x .git -x .gitignore -ruB doc/forwardable.rd doc/forwardable.rd | |
--- doc/forwardable.rd 2010-04-27 21:24:05.000000000 +0200 | |
+++ doc/forwardable.rd 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,8 +1,8 @@ | |
-- forwardable.rb | |
$Release Version: 1.1 $ | |
- $Revision: 11708 $ | |
- $Date: 2007-02-13 00:01:19 +0100 (Di, 13 Feb 2007) $ | |
+ $Revision$ | |
+ $Date$ | |
Original version by Tosh | |
=begin | |
diff -x .git -x .gitignore -ruB doc/forwardable.rd.ja doc/forwardable.rd.ja | |
--- doc/forwardable.rd.ja 2010-04-27 21:24:05.000000000 +0200 | |
+++ doc/forwardable.rd.ja 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,7 +1,7 @@ | |
-- forwatable.rb | |
$Release Version: 1.1 $ | |
- $Revision: 11708 $ | |
- $Date: 2007-02-13 00:01:19 +0100 (Di, 13 Feb 2007) $ | |
+ $Revision$ | |
+ $Date$ | |
=begin | |
= Forwardable | |
diff -x .git -x .gitignore -ruB doc/irb/irb-tools.rd.ja doc/irb/irb-tools.rd.ja | |
--- doc/irb/irb-tools.rd.ja 2010-04-27 21:24:05.000000000 +0200 | |
+++ doc/irb/irb-tools.rd.ja 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,7 +1,7 @@ | |
irb´ØÏ¢¤ª¤Þ¤±¥³¥Þ¥ó¥É¤È¥é¥¤¥Ö¥é¥ê | |
$Release Version: 0.7.1 $ | |
- $Revision: 11708 $ | |
- $Date: 2007-02-13 00:01:19 +0100 (Di, 13 Feb 2007) $ | |
+ $Revision$ | |
+ $Date$ | |
by Keiju ISHITSUKA(Nihon Rational Co.,Ltd.) | |
=begin | |
diff -x .git -x .gitignore -ruB doc/irb/irb.rd doc/irb/irb.rd | |
--- doc/irb/irb.rd 2010-04-27 21:24:05.000000000 +0200 | |
+++ doc/irb/irb.rd 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,7 +1,7 @@ | |
irb -- interactive ruby | |
$Release Version: 0.9 $ | |
- $Revision: 11708 $ | |
- $Date: 2007-02-13 00:01:19 +0100 (Di, 13 Feb 2007) $ | |
+ $Revision$ | |
+ $Date$ | |
by Keiju ISHITSUKA([email protected]) | |
by gotoken-san who is original translater from japanese version | |
diff -x .git -x .gitignore -ruB doc/irb/irb.rd.ja doc/irb/irb.rd.ja | |
--- doc/irb/irb.rd.ja 2010-04-27 21:24:05.000000000 +0200 | |
+++ doc/irb/irb.rd.ja 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,7 +1,7 @@ | |
irb -- interactive ruby | |
$Release Version: 0.9.5 $ | |
- $Revision: 11708 $ | |
- $Date: 2007-02-13 00:01:19 +0100 (Di, 13 Feb 2007) $ | |
+ $Revision$ | |
+ $Date$ | |
by Keiju ISHITSUKA([email protected]) | |
=begin | |
= irb¤È¤Ï? | |
diff -x .git -x .gitignore -ruB doc/shell.rd doc/shell.rd | |
--- doc/shell.rd 2010-04-27 21:24:05.000000000 +0200 | |
+++ doc/shell.rd 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,7 +1,7 @@ | |
-- shell.rb | |
$Release Version: 0.6.0 $ | |
- $Revision: 11708 $ | |
- $Date: 2007-02-13 00:01:19 +0100 (Di, 13 Feb 2007) $ | |
+ $Revision$ | |
+ $Date$ | |
by Keiju ISHITSUKA([email protected]) | |
=begin | |
diff -x .git -x .gitignore -ruB doc/shell.rd.ja doc/shell.rd.ja | |
--- doc/shell.rd.ja 2010-04-27 21:24:05.000000000 +0200 | |
+++ doc/shell.rd.ja 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,7 +1,7 @@ | |
-- shell.rb | |
$Release Version: 0.6.0 $ | |
- $Revision: 11708 $ | |
- $Date: 2007-02-13 00:01:19 +0100 (Di, 13 Feb 2007) $ | |
+ $Revision$ | |
+ $Date$ | |
by Keiju ISHITSUKA([email protected]) | |
=begin | |
diff -x .git -x .gitignore -ruB enum.c enum.c | |
--- enum.c 2010-04-27 21:24:05.000000000 +0200 | |
+++ enum.c 2010-04-27 21:11:07.000000000 +0200 | |
@@ -2,8 +2,8 @@ | |
enum.c - | |
- $Author: shyouhei $ | |
- $Date: 2009-07-25 14:36:29 +0200 (Sa, 25 Jul 2009) $ | |
+ $Author$ | |
+ $Date$ | |
created at: Fri Oct 1 15:15:19 JST 1993 | |
Copyright (C) 1993-2003 Yukihiro Matsumoto | |
diff -x .git -x .gitignore -ruB enumerator.c enumerator.c | |
--- enumerator.c 2010-04-27 21:24:05.000000000 +0200 | |
+++ enumerator.c 2010-04-27 21:11:07.000000000 +0200 | |
@@ -2,13 +2,13 @@ | |
enumerator.c - provides Enumerator class | |
- $Author: knu $ | |
+ $Author$ | |
Copyright (C) 2001-2003 Akinori MUSHA | |
$Idaemons: /home/cvs/rb/enumerator/enumerator.c,v 1.1.1.1 2001/07/15 10:12:48 knu Exp $ | |
$RoughId: enumerator.c,v 1.6 2003/07/27 11:03:24 nobu Exp $ | |
- $Id: enumerator.c 16794 2008-06-03 11:06:38Z knu $ | |
+ $Id$ | |
************************************************/ | |
diff -x .git -x .gitignore -ruB env.h env.h | |
--- env.h 2010-04-27 21:24:05.000000000 +0200 | |
+++ env.h 2010-04-27 21:11:07.000000000 +0200 | |
@@ -2,8 +2,8 @@ | |
env.h - | |
- $Author: knu $ | |
- $Date: 2007-03-03 08:28:54 +0100 (Sa, 03 Mär 2007) $ | |
+ $Author$ | |
+ $Date$ | |
created at: Mon Jul 11 11:53:03 JST 1994 | |
Copyright (C) 1993-2003 Yukihiro Matsumoto | |
diff -x .git -x .gitignore -ruB error.c error.c | |
--- error.c 2010-04-27 21:24:05.000000000 +0200 | |
+++ error.c 2010-04-27 21:11:07.000000000 +0200 | |
@@ -2,8 +2,8 @@ | |
error.c - | |
- $Author: shyouhei $ | |
- $Date: 2008-08-04 05:24:26 +0200 (Mo, 04 Aug 2008) $ | |
+ $Author$ | |
+ $Date$ | |
created at: Mon Aug 9 16:11:34 JST 1993 | |
Copyright (C) 1993-2003 Yukihiro Matsumoto | |
diff -x .git -x .gitignore -ruB eval.c eval.c | |
--- eval.c 2010-04-27 21:54:12.000000000 +0200 | |
+++ eval.c 2010-04-27 21:11:07.000000000 +0200 | |
@@ -2,8 +2,8 @@ | |
eval.c - | |
- $Author: shyouhei $ | |
- $Date: 2009-09-11 05:23:37 +0200 (Fr, 11 Sep 2009) $ | |
+ $Author$ | |
+ $Date$ | |
created at: Thu Jun 10 14:22:17 JST 1993 | |
Copyright (C) 1993-2003 Yukihiro Matsumoto | |
@@ -1160,7 +1160,7 @@ | |
static int tracing = 0; | |
static void call_trace_func _((rb_event_t,NODE*,VALUE,ID,VALUE)); | |
-#if 0 | |
+#if 1 | |
#define SET_CURRENT_SOURCE() (ruby_sourcefile = ruby_current_node->nd_file, \ | |
ruby_sourceline = nd_line(ruby_current_node)) | |
#else | |
@@ -1324,8 +1324,8 @@ | |
int truncate = eclass == rb_eSysStackError; | |
#define TRACE_MAX (TRACE_HEAD+TRACE_TAIL+5) | |
-#define TRACE_HEAD 8 | |
-#define TRACE_TAIL 5 | |
+#define TRACE_HEAD 100 | |
+#define TRACE_TAIL 100 | |
ep = RARRAY(errat); | |
for (i=1; i<ep->len; i++) { | |
@@ -12244,6 +12244,12 @@ | |
static int thread_init; | |
+#if defined(POSIX_SIGNAL) | |
+#define CATCH_VTALRM() posix_signal(SIGVTALRM, catch_timer) | |
+#else | |
+#define CATCH_VTALRM() signal(SIGVTALRM, catch_timer) | |
+#endif | |
+ | |
#if defined(_THREAD_SAFE) | |
static void | |
catch_timer(sig) | |
@@ -12327,6 +12333,7 @@ | |
static pthread_cond_t start = PTHREAD_COND_INITIALIZER; | |
if (thread_init) return; | |
+ CATCH_VTALRM(); | |
args[0] = &time_thread; | |
args[1] = &start; | |
safe_mutex_lock(&time_thread.lock); | |
@@ -12368,6 +12375,8 @@ | |
struct itimerval tval; | |
if (thread_init) return; | |
+ if (rb_thread_alone()) return; | |
+ CATCH_VTALRM(); | |
tval.it_interval.tv_sec = 0; | |
tval.it_interval.tv_usec = 10000; | |
tval.it_value = tval.it_interval; | |
@@ -12408,18 +12417,6 @@ | |
"can't start a new thread (frozen ThreadGroup)"); | |
} | |
- if (!thread_init) { | |
-#if defined(HAVE_SETITIMER) || defined(_THREAD_SAFE) | |
-#if defined(POSIX_SIGNAL) | |
- posix_signal(SIGVTALRM, catch_timer); | |
-#else | |
- signal(SIGVTALRM, catch_timer); | |
-#endif | |
- | |
- rb_thread_start_timer(); | |
-#endif | |
- } | |
- | |
if (THREAD_SAVE_CONTEXT(curr_thread)) { | |
return thread; | |
} | |
@@ -12441,6 +12438,11 @@ | |
curr_thread->next = th; | |
th->priority = curr_thread->priority; | |
th->thgroup = curr_thread->thgroup; | |
+#if defined(HAVE_SETITIMER) || defined(_THREAD_SAFE) | |
+ if (!thread_init) { | |
+ rb_thread_start_timer(); | |
+ } | |
+#endif | |
} | |
PUSH_TAG(PROT_THREAD); | |
@@ -13167,6 +13169,9 @@ | |
main_thread = curr_thread; | |
curr_thread->next = curr_thread; | |
curr_thread->prev = curr_thread; | |
+#if defined(HAVE_SETITIMER) || defined(_THREAD_SAFE) | |
+ rb_thread_stop_timer(); | |
+#endif | |
} | |
diff -x .git -x .gitignore -ruB ext/curses/curses.c ext/curses/curses.c | |
--- ext/curses/curses.c 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/curses/curses.c 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,5 +1,5 @@ | |
/* -*- C -*- | |
- * $Id: curses.c 11708 2007-02-12 23:01:19Z shyouhei $ | |
+ * $Id$ | |
* | |
* ext/curses/curses.c | |
* | |
diff -x .git -x .gitignore -ruB ext/dbm/dbm.c ext/dbm/dbm.c | |
--- ext/dbm/dbm.c 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/dbm/dbm.c 2010-04-27 21:11:07.000000000 +0200 | |
@@ -2,8 +2,8 @@ | |
dbm.c - | |
- $Author: knu $ | |
- $Date: 2008-05-18 17:02:36 +0200 (So, 18 Mai 2008) $ | |
+ $Author$ | |
+ $Date$ | |
created at: Mon Jan 24 15:59:52 JST 1994 | |
Copyright (C) 1995-2001 Yukihiro Matsumoto | |
diff -x .git -x .gitignore -ruB ext/digest/bubblebabble/bubblebabble.c ext/digest/bubblebabble/bubblebabble.c | |
--- ext/digest/bubblebabble/bubblebabble.c 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/digest/bubblebabble/bubblebabble.c 2010-04-27 21:11:07.000000000 +0200 | |
@@ -2,12 +2,12 @@ | |
bubblebabble.c - BubbleBabble encoding support | |
- $Author: shyouhei $ | |
+ $Author$ | |
created at: Fri Oct 13 18:31:42 JST 2006 | |
Copyright (C) 2006 Akinori MUSHA | |
- $Id: bubblebabble.c 11708 2007-02-12 23:01:19Z shyouhei $ | |
+ $Id$ | |
************************************************/ | |
diff -x .git -x .gitignore -ruB ext/digest/defs.h ext/digest/defs.h | |
--- ext/digest/defs.h 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/digest/defs.h 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,5 +1,5 @@ | |
/* -*- C -*- | |
- * $Id: defs.h 11708 2007-02-12 23:01:19Z shyouhei $ | |
+ * $Id$ | |
*/ | |
#ifndef DEFS_H | |
diff -x .git -x .gitignore -ruB ext/digest/digest.c ext/digest/digest.c | |
--- ext/digest/digest.c 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/digest/digest.c 2010-04-27 21:11:07.000000000 +0200 | |
@@ -2,14 +2,14 @@ | |
digest.c - | |
- $Author: nobu $ | |
+ $Author$ | |
created at: Fri May 25 08:57:27 JST 2001 | |
Copyright (C) 1995-2001 Yukihiro Matsumoto | |
Copyright (C) 2001-2006 Akinori MUSHA | |
$RoughId: digest.c,v 1.16 2001/07/13 15:38:27 knu Exp $ | |
- $Id: digest.c 12800 2007-07-15 13:24:51Z nobu $ | |
+ $Id$ | |
************************************************/ | |
diff -x .git -x .gitignore -ruB ext/digest/digest.h ext/digest/digest.h | |
--- ext/digest/digest.h 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/digest/digest.h 2010-04-27 21:11:07.000000000 +0200 | |
@@ -2,14 +2,14 @@ | |
digest.h - header file for ruby digest modules | |
- $Author: shyouhei $ | |
+ $Author$ | |
created at: Fri May 25 08:54:56 JST 2001 | |
Copyright (C) 2001-2006 Akinori MUSHA | |
$RoughId: digest.h,v 1.3 2001/07/13 15:38:27 knu Exp $ | |
- $Id: digest.h 11708 2007-02-12 23:01:19Z shyouhei $ | |
+ $Id$ | |
************************************************/ | |
diff -x .git -x .gitignore -ruB ext/digest/extconf.rb ext/digest/extconf.rb | |
--- ext/digest/extconf.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/digest/extconf.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,5 +1,5 @@ | |
# $RoughId: extconf.rb,v 1.6 2001/07/13 15:38:27 knu Exp $ | |
-# $Id: extconf.rb 11708 2007-02-12 23:01:19Z shyouhei $ | |
+# $Id$ | |
require "mkmf" | |
diff -x .git -x .gitignore -ruB ext/digest/lib/md5.rb ext/digest/lib/md5.rb | |
--- ext/digest/lib/md5.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/digest/lib/md5.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,7 +1,7 @@ | |
# just for compatibility; requiring "md5" is obsoleted | |
# | |
# $RoughId: md5.rb,v 1.4 2001/07/13 15:38:27 knu Exp $ | |
-# $Id: md5.rb 12007 2007-03-06 10:09:51Z knu $ | |
+# $Id$ | |
require 'digest/md5' | |
diff -x .git -x .gitignore -ruB ext/digest/lib/sha1.rb ext/digest/lib/sha1.rb | |
--- ext/digest/lib/sha1.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/digest/lib/sha1.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,7 +1,7 @@ | |
# just for compatibility; requiring "sha1" is obsoleted | |
# | |
# $RoughId: sha1.rb,v 1.4 2001/07/13 15:38:27 knu Exp $ | |
-# $Id: sha1.rb 12007 2007-03-06 10:09:51Z knu $ | |
+# $Id$ | |
require 'digest/sha1' | |
diff -x .git -x .gitignore -ruB ext/digest/md5/extconf.rb ext/digest/md5/extconf.rb | |
--- ext/digest/md5/extconf.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/digest/md5/extconf.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,5 +1,5 @@ | |
# $RoughId: extconf.rb,v 1.3 2001/08/14 19:54:51 knu Exp $ | |
-# $Id: extconf.rb 11708 2007-02-12 23:01:19Z shyouhei $ | |
+# $Id$ | |
require "mkmf" | |
diff -x .git -x .gitignore -ruB ext/digest/md5/md5.c ext/digest/md5/md5.c | |
--- ext/digest/md5/md5.c 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/digest/md5/md5.c 2010-04-27 21:11:07.000000000 +0200 | |
@@ -49,7 +49,7 @@ | |
/*$OrigId: md5c.c,v 1.2 2001/03/26 08:57:14 matz Exp $ */ | |
/*$RoughId: md5.c,v 1.2 2001/07/13 19:48:41 knu Exp $ */ | |
-/*$Id: md5.c 11708 2007-02-12 23:01:19Z shyouhei $ */ | |
+/*$Id$ */ | |
#include "md5.h" | |
diff -x .git -x .gitignore -ruB ext/digest/md5/md5.h ext/digest/md5/md5.h | |
--- ext/digest/md5/md5.h 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/digest/md5/md5.h 2010-04-27 21:11:07.000000000 +0200 | |
@@ -41,7 +41,7 @@ | |
/* $OrigId: md5.h,v 1.2 2001/03/26 08:57:14 matz Exp $ */ | |
/* $RoughId: md5.h,v 1.3 2002/02/24 08:14:31 knu Exp $ */ | |
-/* $Id: md5.h 11708 2007-02-12 23:01:19Z shyouhei $ */ | |
+/* $Id$ */ | |
#ifndef MD5_INCLUDED | |
# define MD5_INCLUDED | |
diff -x .git -x .gitignore -ruB ext/digest/md5/md5init.c ext/digest/md5/md5init.c | |
--- ext/digest/md5/md5init.c 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/digest/md5/md5init.c 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,5 +1,5 @@ | |
/* $RoughId: md5init.c,v 1.2 2001/07/13 19:49:10 knu Exp $ */ | |
-/* $Id: md5init.c 11708 2007-02-12 23:01:19Z shyouhei $ */ | |
+/* $Id$ */ | |
#include "digest.h" | |
#if defined(HAVE_OPENSSL_MD5_H) | |
diff -x .git -x .gitignore -ruB ext/digest/md5/md5ossl.c ext/digest/md5/md5ossl.c | |
--- ext/digest/md5/md5ossl.c 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/digest/md5/md5ossl.c 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,4 +1,4 @@ | |
-/* $Id: md5ossl.c 11708 2007-02-12 23:01:19Z shyouhei $ */ | |
+/* $Id$ */ | |
#include "md5ossl.h" | |
diff -x .git -x .gitignore -ruB ext/digest/md5/md5ossl.h ext/digest/md5/md5ossl.h | |
--- ext/digest/md5/md5ossl.h 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/digest/md5/md5ossl.h 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,4 +1,4 @@ | |
-/* $Id: md5ossl.h 11708 2007-02-12 23:01:19Z shyouhei $ */ | |
+/* $Id$ */ | |
#ifndef MD5OSSL_H_INCLUDED | |
#define MD5OSSL_H_INCLUDED | |
diff -x .git -x .gitignore -ruB ext/digest/rmd160/extconf.rb ext/digest/rmd160/extconf.rb | |
--- ext/digest/rmd160/extconf.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/digest/rmd160/extconf.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,5 +1,5 @@ | |
# $RoughId: extconf.rb,v 1.3 2001/08/14 19:54:51 knu Exp $ | |
-# $Id: extconf.rb 11708 2007-02-12 23:01:19Z shyouhei $ | |
+# $Id$ | |
require "mkmf" | |
diff -x .git -x .gitignore -ruB ext/digest/rmd160/rmd160.c ext/digest/rmd160/rmd160.c | |
--- ext/digest/rmd160/rmd160.c 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/digest/rmd160/rmd160.c 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,6 +1,6 @@ | |
/* $NetBSD: rmd160.c,v 1.1.1.1 2001/03/06 11:21:05 agc Exp $ */ | |
/* $RoughId: rmd160.c,v 1.2 2001/07/13 19:49:10 knu Exp $ */ | |
-/* $Id: rmd160.c 11708 2007-02-12 23:01:19Z shyouhei $ */ | |
+/* $Id$ */ | |
/********************************************************************\ | |
* | |
diff -x .git -x .gitignore -ruB ext/digest/rmd160/rmd160.h ext/digest/rmd160/rmd160.h | |
--- ext/digest/rmd160/rmd160.h 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/digest/rmd160/rmd160.h 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,6 +1,6 @@ | |
/* $NetBSD: rmd160.h,v 1.2 2000/07/07 10:47:06 ad Exp $ */ | |
/* $RoughId: rmd160.h,v 1.3 2002/02/24 08:14:31 knu Exp $ */ | |
-/* $Id: rmd160.h 11708 2007-02-12 23:01:19Z shyouhei $ */ | |
+/* $Id$ */ | |
/********************************************************************\ | |
* | |
diff -x .git -x .gitignore -ruB ext/digest/rmd160/rmd160init.c ext/digest/rmd160/rmd160init.c | |
--- ext/digest/rmd160/rmd160init.c 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/digest/rmd160/rmd160init.c 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,5 +1,5 @@ | |
/* $RoughId: rmd160init.c,v 1.3 2001/07/13 20:00:43 knu Exp $ */ | |
-/* $Id: rmd160init.c 11708 2007-02-12 23:01:19Z shyouhei $ */ | |
+/* $Id$ */ | |
#include "digest.h" | |
#if defined(HAVE_OPENSSL_RIPEMD_H) | |
diff -x .git -x .gitignore -ruB ext/digest/rmd160/rmd160ossl.c ext/digest/rmd160/rmd160ossl.c | |
--- ext/digest/rmd160/rmd160ossl.c 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/digest/rmd160/rmd160ossl.c 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,4 +1,4 @@ | |
-/* $Id: rmd160ossl.c 11905 2007-02-27 10:38:32Z knu $ */ | |
+/* $Id$ */ | |
#include "defs.h" | |
#include "rmd160ossl.h" | |
diff -x .git -x .gitignore -ruB ext/digest/rmd160/rmd160ossl.h ext/digest/rmd160/rmd160ossl.h | |
--- ext/digest/rmd160/rmd160ossl.h 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/digest/rmd160/rmd160ossl.h 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,4 +1,4 @@ | |
-/* $Id: rmd160ossl.h 11708 2007-02-12 23:01:19Z shyouhei $ */ | |
+/* $Id$ */ | |
#ifndef RMD160OSSL_H_INCLUDED | |
#define RMD160OSSL_H_INCLUDED | |
diff -x .git -x .gitignore -ruB ext/digest/sha1/extconf.rb ext/digest/sha1/extconf.rb | |
--- ext/digest/sha1/extconf.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/digest/sha1/extconf.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,5 +1,5 @@ | |
# $RoughId: extconf.rb,v 1.3 2001/08/14 19:54:51 knu Exp $ | |
-# $Id: extconf.rb 11708 2007-02-12 23:01:19Z shyouhei $ | |
+# $Id$ | |
require "mkmf" | |
diff -x .git -x .gitignore -ruB ext/digest/sha1/sha1.c ext/digest/sha1/sha1.c | |
--- ext/digest/sha1/sha1.c 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/digest/sha1/sha1.c 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,7 +1,7 @@ | |
/* $NetBSD: sha1.c,v 1.2 2001/03/22 09:51:48 agc Exp $ */ | |
/* $OpenBSD: sha1.c,v 1.9 1997/07/23 21:12:32 kstailey Exp $ */ | |
/* $RoughId: sha1.c,v 1.2 2001/07/13 19:49:10 knu Exp $ */ | |
-/* $Id: sha1.c 11708 2007-02-12 23:01:19Z shyouhei $ */ | |
+/* $Id$ */ | |
/* | |
* SHA-1 in C | |
diff -x .git -x .gitignore -ruB ext/digest/sha1/sha1.h ext/digest/sha1/sha1.h | |
--- ext/digest/sha1/sha1.h 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/digest/sha1/sha1.h 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,6 +1,6 @@ | |
/* $NetBSD: sha1.h,v 1.2 1998/05/29 22:55:44 thorpej Exp $ */ | |
/* $RoughId: sha1.h,v 1.3 2002/02/24 08:14:32 knu Exp $ */ | |
-/* $Id: sha1.h 11708 2007-02-12 23:01:19Z shyouhei $ */ | |
+/* $Id$ */ | |
/* | |
* SHA-1 in C | |
diff -x .git -x .gitignore -ruB ext/digest/sha1/sha1init.c ext/digest/sha1/sha1init.c | |
--- ext/digest/sha1/sha1init.c 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/digest/sha1/sha1init.c 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,5 +1,5 @@ | |
/* $RoughId: sha1init.c,v 1.2 2001/07/13 19:49:10 knu Exp $ */ | |
-/* $Id: sha1init.c 11708 2007-02-12 23:01:19Z shyouhei $ */ | |
+/* $Id$ */ | |
#include "digest.h" | |
#if defined(HAVE_OPENSSL_SHA_H) | |
diff -x .git -x .gitignore -ruB ext/digest/sha1/sha1ossl.c ext/digest/sha1/sha1ossl.c | |
--- ext/digest/sha1/sha1ossl.c 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/digest/sha1/sha1ossl.c 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,4 +1,4 @@ | |
-/* $Id: sha1ossl.c 11905 2007-02-27 10:38:32Z knu $ */ | |
+/* $Id$ */ | |
#include "defs.h" | |
#include "sha1ossl.h" | |
diff -x .git -x .gitignore -ruB ext/digest/sha1/sha1ossl.h ext/digest/sha1/sha1ossl.h | |
--- ext/digest/sha1/sha1ossl.h 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/digest/sha1/sha1ossl.h 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,4 +1,4 @@ | |
-/* $Id: sha1ossl.h 11708 2007-02-12 23:01:19Z shyouhei $ */ | |
+/* $Id$ */ | |
#ifndef SHA1OSSL_H_INCLUDED | |
#define SHA1OSSL_H_INCLUDED | |
diff -x .git -x .gitignore -ruB ext/digest/sha2/extconf.rb ext/digest/sha2/extconf.rb | |
--- ext/digest/sha2/extconf.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/digest/sha2/extconf.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,5 +1,5 @@ | |
# $RoughId: extconf.rb,v 1.4 2001/08/14 19:54:51 knu Exp $ | |
-# $Id: extconf.rb 11708 2007-02-12 23:01:19Z shyouhei $ | |
+# $Id$ | |
require "mkmf" | |
diff -x .git -x .gitignore -ruB ext/digest/sha2/lib/sha2.rb ext/digest/sha2/lib/sha2.rb | |
--- ext/digest/sha2/lib/sha2.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/digest/sha2/lib/sha2.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -7,7 +7,7 @@ | |
# All rights reserved. You can redistribute and/or modify it under the same | |
# terms as Ruby. | |
# | |
-# $Id: sha2.rb 11708 2007-02-12 23:01:19Z shyouhei $ | |
+# $Id$ | |
require 'digest' | |
diff -x .git -x .gitignore -ruB ext/digest/sha2/sha2.c ext/digest/sha2/sha2.c | |
--- ext/digest/sha2/sha2.c 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/digest/sha2/sha2.c 2010-04-27 21:11:07.000000000 +0200 | |
@@ -34,7 +34,7 @@ | |
*/ | |
/* $RoughId: sha2.c,v 1.3 2002/02/26 22:03:36 knu Exp $ */ | |
-/* $Id: sha2.c 11708 2007-02-12 23:01:19Z shyouhei $ */ | |
+/* $Id$ */ | |
#include "sha2.h" | |
#include <stdio.h> | |
diff -x .git -x .gitignore -ruB ext/digest/sha2/sha2.h ext/digest/sha2/sha2.h | |
--- ext/digest/sha2/sha2.h 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/digest/sha2/sha2.h 2010-04-27 21:11:07.000000000 +0200 | |
@@ -34,7 +34,7 @@ | |
*/ | |
/* $RoughId: sha2.h,v 1.3 2002/02/24 08:14:32 knu Exp $ */ | |
-/* $Id: sha2.h 11708 2007-02-12 23:01:19Z shyouhei $ */ | |
+/* $Id$ */ | |
#ifndef __SHA2_H__ | |
#define __SHA2_H__ | |
diff -x .git -x .gitignore -ruB ext/digest/sha2/sha2init.c ext/digest/sha2/sha2init.c | |
--- ext/digest/sha2/sha2init.c 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/digest/sha2/sha2init.c 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,5 +1,5 @@ | |
/* $RoughId: sha2init.c,v 1.3 2001/07/13 20:00:43 knu Exp $ */ | |
-/* $Id: sha2init.c 11708 2007-02-12 23:01:19Z shyouhei $ */ | |
+/* $Id$ */ | |
#include "digest.h" | |
#include "sha2.h" | |
diff -x .git -x .gitignore -ruB ext/digest/test.sh ext/digest/test.sh | |
--- ext/digest/test.sh 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/digest/test.sh 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,7 +1,7 @@ | |
#!/bin/sh | |
# | |
# $RoughId: test.sh,v 1.5 2001/07/13 15:38:27 knu Exp $ | |
-# $Id: test.sh 11708 2007-02-12 23:01:19Z shyouhei $ | |
+# $Id$ | |
RUBY=${RUBY:=ruby} | |
MAKE=${MAKE:=make} | |
diff -x .git -x .gitignore -ruB ext/dl/dl.c ext/dl/dl.c | |
--- ext/dl/dl.c 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/dl/dl.c 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,5 +1,5 @@ | |
/* | |
- * $Id: dl.c 18479 2008-08-11 00:37:21Z shyouhei $ | |
+ * $Id$ | |
*/ | |
#include <ruby.h> | |
diff -x .git -x .gitignore -ruB ext/dl/dl.h ext/dl/dl.h | |
--- ext/dl/dl.h 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/dl/dl.h 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,5 +1,5 @@ | |
/* -*- C -*- | |
- * $Id: dl.h 11708 2007-02-12 23:01:19Z shyouhei $ | |
+ * $Id$ | |
*/ | |
#ifndef RUBY_DL_H | |
diff -x .git -x .gitignore -ruB ext/dl/h2rb ext/dl/h2rb | |
--- ext/dl/h2rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/dl/h2rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,6 +1,6 @@ | |
#!/usr/bin/env ruby | |
# -*- ruby -*- | |
-# $Id: h2rb 11708 2007-02-12 23:01:19Z shyouhei $ | |
+# $Id$ | |
require 'mkmf' | |
require 'ftools' | |
diff -x .git -x .gitignore -ruB ext/dl/handle.c ext/dl/handle.c | |
--- ext/dl/handle.c 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/dl/handle.c 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,5 +1,5 @@ | |
/* -*- C -*- | |
- * $Id: handle.c 11708 2007-02-12 23:01:19Z shyouhei $ | |
+ * $Id$ | |
*/ | |
#include <ruby.h> | |
diff -x .git -x .gitignore -ruB ext/dl/ptr.c ext/dl/ptr.c | |
--- ext/dl/ptr.c 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/dl/ptr.c 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,5 +1,5 @@ | |
/* -*- C -*- | |
- * $Id: ptr.c 15471 2008-02-14 08:46:06Z matz $ | |
+ * $Id$ | |
*/ | |
#include <ruby.h> | |
diff -x .git -x .gitignore -ruB ext/dl/sym.c ext/dl/sym.c | |
--- ext/dl/sym.c 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/dl/sym.c 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,5 +1,5 @@ | |
/* -*- C -*- | |
- * $Id: sym.c 18479 2008-08-11 00:37:21Z shyouhei $ | |
+ * $Id$ | |
*/ | |
#include <ruby.h> | |
diff -x .git -x .gitignore -ruB ext/etc/etc.c ext/etc/etc.c | |
--- ext/etc/etc.c 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/etc/etc.c 2010-04-27 21:11:07.000000000 +0200 | |
@@ -2,8 +2,8 @@ | |
etc.c - | |
- $Author: matz $ | |
- $Date: 2007-08-27 12:16:25 +0200 (Mo, 27 Aug 2007) $ | |
+ $Author$ | |
+ $Date$ | |
created at: Tue Mar 22 18:39:19 JST 1994 | |
************************************************/ | |
diff -x .git -x .gitignore -ruB ext/fcntl/fcntl.c ext/fcntl/fcntl.c | |
--- ext/fcntl/fcntl.c 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/fcntl/fcntl.c 2010-04-27 21:11:07.000000000 +0200 | |
@@ -2,7 +2,7 @@ | |
fcntl.c - | |
- $Author: shyouhei $ | |
+ $Author$ | |
created at: Mon Apr 7 18:53:05 JST 1997 | |
Copyright (C) 1997-2001 Yukihiro Matsumoto | |
diff -x .git -x .gitignore -ruB ext/gdbm/gdbm.c ext/gdbm/gdbm.c | |
--- ext/gdbm/gdbm.c 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/gdbm/gdbm.c 2010-04-27 21:11:07.000000000 +0200 | |
@@ -2,8 +2,8 @@ | |
gdbm.c - | |
- $Author: shyouhei $ | |
- $Date: 2009-02-18 14:08:13 +0100 (Mi, 18 Feb 2009) $ | |
+ $Author$ | |
+ $Date$ | |
modified at: Mon Jan 24 15:59:52 JST 1994 | |
Documentation by Peter Adolphs < futzilogik at users dot sourceforge dot net > | |
diff -x .git -x .gitignore -ruB ext/iconv/iconv.c ext/iconv/iconv.c | |
--- ext/iconv/iconv.c 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/iconv/iconv.c 2010-04-27 21:11:07.000000000 +0200 | |
@@ -3,8 +3,8 @@ | |
iconv.c - | |
- $Author: knu $ | |
- $Date: 2008-06-06 10:03:49 +0200 (Fr, 06 Jun 2008) $ | |
+ $Author$ | |
+ $Date$ | |
created at: Wed Dec 1 20:28:09 JST 1999 | |
All the files in this distribution are covered under the Ruby's | |
diff -x .git -x .gitignore -ruB ext/io/wait/wait.c ext/io/wait/wait.c | |
--- ext/io/wait/wait.c 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/io/wait/wait.c 2010-04-27 21:11:07.000000000 +0200 | |
@@ -2,8 +2,8 @@ | |
io/wait.c - | |
- $Author: nobu $ | |
- $Date: 2008-04-15 05:35:55 +0200 (Di, 15 Apr 2008) $ | |
+ $Author$ | |
+ $Date$ | |
created at: Tue Aug 28 09:08:06 JST 2001 | |
All the files in this distribution are covered under the Ruby's | |
diff -x .git -x .gitignore -ruB ext/nkf/lib/kconv.rb ext/nkf/lib/kconv.rb | |
--- ext/nkf/lib/kconv.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/nkf/lib/kconv.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,7 +1,7 @@ | |
# | |
# kconv.rb - Kanji Converter. | |
# | |
-# $Id: kconv.rb 11708 2007-02-12 23:01:19Z shyouhei $ | |
+# $Id$ | |
# | |
# ---- | |
# | |
@@ -49,7 +49,7 @@ | |
# | |
# Revision of kconv.rb | |
- REVISION = %q$Revision: 11708 $ | |
+ REVISION = %q$Revision$ | |
#Regexp of Encoding | |
diff -x .git -x .gitignore -ruB ext/nkf/nkf-utf8/nkf.c ext/nkf/nkf-utf8/nkf.c | |
--- ext/nkf/nkf-utf8/nkf.c 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/nkf/nkf-utf8/nkf.c 2010-04-27 21:11:07.000000000 +0200 | |
@@ -39,7 +39,7 @@ | |
** E-Mail: [email protected] | |
** $B$^$G8fO"Mm$r$*4j$$$7$^$9!#(B | |
***********************************************************************/ | |
-/* $Id: nkf.c 22067 2009-02-05 00:39:09Z shyouhei $ */ | |
+/* $Id$ */ | |
#define NKF_VERSION "2.0.8" | |
#define NKF_RELEASE_DATE "2008-11-08" | |
#include "config.h" | |
diff -x .git -x .gitignore -ruB ext/nkf/nkf.c ext/nkf/nkf.c | |
--- ext/nkf/nkf.c 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/nkf/nkf.c 2010-04-27 21:11:07.000000000 +0200 | |
@@ -3,11 +3,11 @@ | |
* | |
* original nkf2.x is maintained at http://sourceforge.jp/projects/nkf/ | |
* | |
- * $Id: nkf.c 11905 2007-02-27 10:38:32Z knu $ | |
+ * $Id$ | |
* | |
*/ | |
-#define RUBY_NKF_REVISION "$Revision: 11905 $" | |
+#define RUBY_NKF_REVISION "$Revision$" | |
#define RUBY_NKF_VERSION NKF_VERSION " (" NKF_RELEASE_DATE ")" | |
#include "ruby.h" | |
diff -x .git -x .gitignore -ruB ext/openssl/extconf.rb ext/openssl/extconf.rb | |
--- ext/openssl/extconf.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/openssl/extconf.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -11,7 +11,7 @@ | |
(See the file 'LICENCE'.) | |
= Version | |
- $Id: extconf.rb 12572 2007-06-18 09:03:15Z technorama $ | |
+ $Id$ | |
=end | |
require "mkmf" | |
diff -x .git -x .gitignore -ruB ext/openssl/lib/net/ftptls.rb ext/openssl/lib/net/ftptls.rb | |
--- ext/openssl/lib/net/ftptls.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/openssl/lib/net/ftptls.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -13,7 +13,7 @@ | |
= Requirements | |
= Version | |
- $Id: ftptls.rb 13657 2007-10-08 11:16:54Z gotoyuzo $ | |
+ $Id$ | |
= Notes | |
Tested on FreeBSD 5-CURRENT and 4-STABLE | |
diff -x .git -x .gitignore -ruB ext/openssl/lib/net/telnets.rb ext/openssl/lib/net/telnets.rb | |
--- ext/openssl/lib/net/telnets.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/openssl/lib/net/telnets.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -11,7 +11,7 @@ | |
(See the file 'LICENCE'.) | |
= Version | |
- $Id: telnets.rb 13657 2007-10-08 11:16:54Z gotoyuzo $ | |
+ $Id$ | |
2001/11/06: Contiributed to Ruby/OpenSSL project. | |
diff -x .git -x .gitignore -ruB ext/openssl/lib/openssl/bn.rb ext/openssl/lib/openssl/bn.rb | |
--- ext/openssl/lib/openssl/bn.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/openssl/lib/openssl/bn.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -11,7 +11,7 @@ | |
(See the file 'LICENCE'.) | |
= Version | |
- $Id: bn.rb 11708 2007-02-12 23:01:19Z shyouhei $ | |
+ $Id$ | |
=end | |
## | |
diff -x .git -x .gitignore -ruB ext/openssl/lib/openssl/buffering.rb ext/openssl/lib/openssl/buffering.rb | |
--- ext/openssl/lib/openssl/buffering.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/openssl/lib/openssl/buffering.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -11,7 +11,7 @@ | |
(See the file 'LICENCE'.) | |
= Version | |
- $Id: buffering.rb 13706 2007-10-15 08:29:08Z usa $ | |
+ $Id$ | |
=end | |
module Buffering | |
diff -x .git -x .gitignore -ruB ext/openssl/lib/openssl/cipher.rb ext/openssl/lib/openssl/cipher.rb | |
--- ext/openssl/lib/openssl/cipher.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/openssl/lib/openssl/cipher.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -11,7 +11,7 @@ | |
(See the file 'LICENCE'.) | |
= Version | |
- $Id: cipher.rb 12496 2007-06-08 15:02:04Z technorama $ | |
+ $Id$ | |
=end | |
## | |
diff -x .git -x .gitignore -ruB ext/openssl/lib/openssl/digest.rb ext/openssl/lib/openssl/digest.rb | |
--- ext/openssl/lib/openssl/digest.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/openssl/lib/openssl/digest.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -11,7 +11,7 @@ | |
(See the file 'LICENCE'.) | |
= Version | |
- $Id: digest.rb 15600 2008-02-25 08:48:57Z technorama $ | |
+ $Id$ | |
=end | |
## | |
diff -x .git -x .gitignore -ruB ext/openssl/lib/openssl/ssl.rb ext/openssl/lib/openssl/ssl.rb | |
--- ext/openssl/lib/openssl/ssl.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/openssl/lib/openssl/ssl.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -11,7 +11,7 @@ | |
(See the file 'LICENCE'.) | |
= Version | |
- $Id: ssl.rb 16193 2008-04-25 06:51:21Z knu $ | |
+ $Id$ | |
=end | |
require "openssl" | |
diff -x .git -x .gitignore -ruB ext/openssl/lib/openssl/x509.rb ext/openssl/lib/openssl/x509.rb | |
--- ext/openssl/lib/openssl/x509.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/openssl/lib/openssl/x509.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -11,7 +11,7 @@ | |
(See the file 'LICENCE'.) | |
= Version | |
- $Id: x509.rb 11708 2007-02-12 23:01:19Z shyouhei $ | |
+ $Id$ | |
=end | |
require "openssl" | |
diff -x .git -x .gitignore -ruB ext/openssl/lib/openssl.rb ext/openssl/lib/openssl.rb | |
--- ext/openssl/lib/openssl.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/openssl/lib/openssl.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -11,7 +11,7 @@ | |
(See the file 'LICENCE'.) | |
= Version | |
- $Id: openssl.rb 12496 2007-06-08 15:02:04Z technorama $ | |
+ $Id$ | |
=end | |
require 'openssl.so' | |
diff -x .git -x .gitignore -ruB ext/openssl/openssl_missing.c ext/openssl/openssl_missing.c | |
--- ext/openssl/openssl_missing.c 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/openssl/openssl_missing.c 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,5 +1,5 @@ | |
/* | |
- * $Id: openssl_missing.c 16467 2008-05-19 03:00:52Z knu $ | |
+ * $Id$ | |
* 'OpenSSL for Ruby' project | |
* Copyright (C) 2001-2002 Michal Rokos <[email protected]> | |
* All rights reserved. | |
diff -x .git -x .gitignore -ruB ext/openssl/openssl_missing.h ext/openssl/openssl_missing.h | |
--- ext/openssl/openssl_missing.h 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/openssl/openssl_missing.h 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,5 +1,5 @@ | |
/* | |
- * $Id: openssl_missing.h 18335 2008-08-04 04:44:17Z shyouhei $ | |
+ * $Id$ | |
* 'OpenSSL for Ruby' project | |
* Copyright (C) 2001-2002 Michal Rokos <[email protected]> | |
* All rights reserved. | |
diff -x .git -x .gitignore -ruB ext/openssl/ossl.c ext/openssl/ossl.c | |
--- ext/openssl/ossl.c 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/openssl/ossl.c 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,5 +1,5 @@ | |
/* | |
- * $Id: ossl.c 12496 2007-06-08 15:02:04Z technorama $ | |
+ * $Id$ | |
* 'OpenSSL for Ruby' project | |
* Copyright (C) 2001-2002 Michal Rokos <[email protected]> | |
* All rights reserved. | |
diff -x .git -x .gitignore -ruB ext/openssl/ossl.h ext/openssl/ossl.h | |
--- ext/openssl/ossl.h 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/openssl/ossl.h 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,5 +1,5 @@ | |
/* | |
- * $Id: ossl.h 17656 2008-06-29 08:16:02Z shyouhei $ | |
+ * $Id$ | |
* 'OpenSSL for Ruby' project | |
* Copyright (C) 2001-2002 Michal Rokos <[email protected]> | |
* All rights reserved. | |
diff -x .git -x .gitignore -ruB ext/openssl/ossl_asn1.c ext/openssl/ossl_asn1.c | |
--- ext/openssl/ossl_asn1.c 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/openssl/ossl_asn1.c 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,5 +1,5 @@ | |
/* | |
- * $Id: ossl_asn1.c 12496 2007-06-08 15:02:04Z technorama $ | |
+ * $Id$ | |
* 'OpenSSL for Ruby' team members | |
* Copyright (C) 2003 | |
* All rights reserved. | |
diff -x .git -x .gitignore -ruB ext/openssl/ossl_asn1.h ext/openssl/ossl_asn1.h | |
--- ext/openssl/ossl_asn1.h 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/openssl/ossl_asn1.h 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,5 +1,5 @@ | |
/* | |
- * $Id: ossl_asn1.h 11708 2007-02-12 23:01:19Z shyouhei $ | |
+ * $Id$ | |
* 'OpenSSL for Ruby' team members | |
* Copyright (C) 2003 | |
* All rights reserved. | |
diff -x .git -x .gitignore -ruB ext/openssl/ossl_bio.c ext/openssl/ossl_bio.c | |
--- ext/openssl/ossl_bio.c 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/openssl/ossl_bio.c 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,5 +1,5 @@ | |
/* | |
- * $Id: ossl_bio.c 12496 2007-06-08 15:02:04Z technorama $ | |
+ * $Id$ | |
* 'OpenSSL for Ruby' team members | |
* Copyright (C) 2003 | |
* All rights reserved. | |
diff -x .git -x .gitignore -ruB ext/openssl/ossl_bio.h ext/openssl/ossl_bio.h | |
--- ext/openssl/ossl_bio.h 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/openssl/ossl_bio.h 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,5 +1,5 @@ | |
/* | |
- * $Id: ossl_bio.h 11708 2007-02-12 23:01:19Z shyouhei $ | |
+ * $Id$ | |
* 'OpenSSL for Ruby' team members | |
* Copyright (C) 2003 | |
* All rights reserved. | |
diff -x .git -x .gitignore -ruB ext/openssl/ossl_bn.c ext/openssl/ossl_bn.c | |
--- ext/openssl/ossl_bn.c 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/openssl/ossl_bn.c 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,5 +1,5 @@ | |
/* | |
- * $Id: ossl_bn.c 16691 2008-05-29 17:45:47Z knu $ | |
+ * $Id$ | |
* 'OpenSSL for Ruby' project | |
* Copyright (C) 2001-2002 Technorama team <[email protected]> | |
* All rights reserved. | |
diff -x .git -x .gitignore -ruB ext/openssl/ossl_bn.h ext/openssl/ossl_bn.h | |
--- ext/openssl/ossl_bn.h 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/openssl/ossl_bn.h 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,5 +1,5 @@ | |
/* | |
- * $Id: ossl_bn.h 12496 2007-06-08 15:02:04Z technorama $ | |
+ * $Id$ | |
* 'OpenSSL for Ruby' project | |
* Copyright (C) 2001-2002 Michal Rokos <[email protected]> | |
* All rights reserved. | |
diff -x .git -x .gitignore -ruB ext/openssl/ossl_cipher.c ext/openssl/ossl_cipher.c | |
--- ext/openssl/ossl_cipher.c 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/openssl/ossl_cipher.c 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,5 +1,5 @@ | |
/* | |
- * $Id: ossl_cipher.c 12496 2007-06-08 15:02:04Z technorama $ | |
+ * $Id$ | |
* 'OpenSSL for Ruby' project | |
* Copyright (C) 2001-2002 Michal Rokos <[email protected]> | |
* All rights reserved. | |
diff -x .git -x .gitignore -ruB ext/openssl/ossl_cipher.h ext/openssl/ossl_cipher.h | |
--- ext/openssl/ossl_cipher.h 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/openssl/ossl_cipher.h 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,5 +1,5 @@ | |
/* | |
- * $Id: ossl_cipher.h 12496 2007-06-08 15:02:04Z technorama $ | |
+ * $Id$ | |
* 'OpenSSL for Ruby' project | |
* Copyright (C) 2001-2002 Michal Rokos <[email protected]> | |
* All rights reserved. | |
diff -x .git -x .gitignore -ruB ext/openssl/ossl_config.c ext/openssl/ossl_config.c | |
--- ext/openssl/ossl_config.c 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/openssl/ossl_config.c 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,5 +1,5 @@ | |
/* | |
- * $Id: ossl_config.c 12821 2007-07-20 06:22:54Z nobu $ | |
+ * $Id$ | |
* 'OpenSSL for Ruby' project | |
* Copyright (C) 2001-2002 Michal Rokos <[email protected]> | |
* All rights reserved. | |
diff -x .git -x .gitignore -ruB ext/openssl/ossl_config.h ext/openssl/ossl_config.h | |
--- ext/openssl/ossl_config.h 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/openssl/ossl_config.h 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,5 +1,5 @@ | |
/* | |
- * $Id: ossl_config.h 11708 2007-02-12 23:01:19Z shyouhei $ | |
+ * $Id$ | |
* 'OpenSSL for Ruby' project | |
* Copyright (C) 2001-2002 Michal Rokos <[email protected]> | |
* All rights reserved. | |
diff -x .git -x .gitignore -ruB ext/openssl/ossl_digest.c ext/openssl/ossl_digest.c | |
--- ext/openssl/ossl_digest.c 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/openssl/ossl_digest.c 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,5 +1,5 @@ | |
/* | |
- * $Id: ossl_digest.c 15600 2008-02-25 08:48:57Z technorama $ | |
+ * $Id$ | |
* 'OpenSSL for Ruby' project | |
* Copyright (C) 2001-2002 Michal Rokos <[email protected]> | |
* All rights reserved. | |
diff -x .git -x .gitignore -ruB ext/openssl/ossl_digest.h ext/openssl/ossl_digest.h | |
--- ext/openssl/ossl_digest.h 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/openssl/ossl_digest.h 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,5 +1,5 @@ | |
/* | |
- * $Id: ossl_digest.h 12496 2007-06-08 15:02:04Z technorama $ | |
+ * $Id$ | |
* 'OpenSSL for Ruby' project | |
* Copyright (C) 2001-2002 Michal Rokos <[email protected]> | |
* All rights reserved. | |
diff -x .git -x .gitignore -ruB ext/openssl/ossl_engine.c ext/openssl/ossl_engine.c | |
--- ext/openssl/ossl_engine.c 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/openssl/ossl_engine.c 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,5 +1,5 @@ | |
/* | |
- * $Id: ossl_engine.c 12496 2007-06-08 15:02:04Z technorama $ | |
+ * $Id$ | |
* 'OpenSSL for Ruby' project | |
* Copyright (C) 2003 GOTOU Yuuzou <[email protected]> | |
* All rights reserved. | |
diff -x .git -x .gitignore -ruB ext/openssl/ossl_engine.h ext/openssl/ossl_engine.h | |
--- ext/openssl/ossl_engine.h 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/openssl/ossl_engine.h 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,5 +1,5 @@ | |
/* | |
- * $Id: ossl_engine.h 11708 2007-02-12 23:01:19Z shyouhei $ | |
+ * $Id$ | |
* 'OpenSSL for Ruby' project | |
* Copyright (C) 2003 Michal Rokos <[email protected]> | |
* Copyright (C) 2003 GOTOU Yuuzou <[email protected]> | |
diff -x .git -x .gitignore -ruB ext/openssl/ossl_hmac.c ext/openssl/ossl_hmac.c | |
--- ext/openssl/ossl_hmac.c 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/openssl/ossl_hmac.c 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,5 +1,5 @@ | |
/* | |
- * $Id: ossl_hmac.c 16467 2008-05-19 03:00:52Z knu $ | |
+ * $Id$ | |
* 'OpenSSL for Ruby' project | |
* Copyright (C) 2001-2002 Michal Rokos <[email protected]> | |
* All rights reserved. | |
diff -x .git -x .gitignore -ruB ext/openssl/ossl_hmac.h ext/openssl/ossl_hmac.h | |
--- ext/openssl/ossl_hmac.h 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/openssl/ossl_hmac.h 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,5 +1,5 @@ | |
/* | |
- * $Id: ossl_hmac.h 11708 2007-02-12 23:01:19Z shyouhei $ | |
+ * $Id$ | |
* 'OpenSSL for Ruby' project | |
* Copyright (C) 2001-2002 Michal Rokos <[email protected]> | |
* All rights reserved. | |
diff -x .git -x .gitignore -ruB ext/openssl/ossl_ns_spki.c ext/openssl/ossl_ns_spki.c | |
--- ext/openssl/ossl_ns_spki.c 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/openssl/ossl_ns_spki.c 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,5 +1,5 @@ | |
/* | |
- * $Id: ossl_ns_spki.c 12496 2007-06-08 15:02:04Z technorama $ | |
+ * $Id$ | |
* 'OpenSSL for Ruby' project | |
* Copyright (C) 2001-2002 Michal Rokos <[email protected]> | |
* All rights reserved. | |
diff -x .git -x .gitignore -ruB ext/openssl/ossl_ns_spki.h ext/openssl/ossl_ns_spki.h | |
--- ext/openssl/ossl_ns_spki.h 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/openssl/ossl_ns_spki.h 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,5 +1,5 @@ | |
/* | |
- * $Id: ossl_ns_spki.h 11708 2007-02-12 23:01:19Z shyouhei $ | |
+ * $Id$ | |
* 'OpenSSL for Ruby' project | |
* Copyright (C) 2001-2002 Michal Rokos <[email protected]> | |
* All rights reserved. | |
diff -x .git -x .gitignore -ruB ext/openssl/ossl_ocsp.c ext/openssl/ossl_ocsp.c | |
--- ext/openssl/ossl_ocsp.c 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/openssl/ossl_ocsp.c 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,5 +1,5 @@ | |
/* | |
- * $Id: ossl_ocsp.c 22857 2009-03-09 11:59:27Z shyouhei $ | |
+ * $Id$ | |
* 'OpenSSL for Ruby' project | |
* Copyright (C) 2003 Michal Rokos <[email protected]> | |
* Copyright (C) 2003 GOTOU Yuuzou <[email protected]> | |
diff -x .git -x .gitignore -ruB ext/openssl/ossl_ocsp.h ext/openssl/ossl_ocsp.h | |
--- ext/openssl/ossl_ocsp.h 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/openssl/ossl_ocsp.h 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,5 +1,5 @@ | |
/* | |
- * $Id: ossl_ocsp.h 11708 2007-02-12 23:01:19Z shyouhei $ | |
+ * $Id$ | |
* 'OpenSSL for Ruby' project | |
* Copyright (C) 2003 Michal Rokos <[email protected]> | |
* Copyright (C) 2003 GOTOU Yuuzou <[email protected]> | |
diff -x .git -x .gitignore -ruB ext/openssl/ossl_pkcs12.c ext/openssl/ossl_pkcs12.c | |
--- ext/openssl/ossl_pkcs12.c 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/openssl/ossl_pkcs12.c 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,7 +1,7 @@ | |
/* | |
* This program is licenced under the same licence as Ruby. | |
* (See the file 'LICENCE'.) | |
- * $Id: ossl_pkcs12.c 12496 2007-06-08 15:02:04Z technorama $ | |
+ * $Id$ | |
*/ | |
#include "ossl.h" | |
diff -x .git -x .gitignore -ruB ext/openssl/ossl_pkcs12.h ext/openssl/ossl_pkcs12.h | |
--- ext/openssl/ossl_pkcs12.h 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/openssl/ossl_pkcs12.h 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,7 +1,7 @@ | |
/* | |
* This program is licenced under the same licence as Ruby. | |
* (See the file 'LICENCE'.) | |
- * $Id: ossl_pkcs12.h 12496 2007-06-08 15:02:04Z technorama $ | |
+ * $Id$ | |
*/ | |
#if !defined(_OSSL_PKCS12_H_) | |
#define _OSSL_PKCS12_H_ | |
diff -x .git -x .gitignore -ruB ext/openssl/ossl_pkcs7.c ext/openssl/ossl_pkcs7.c | |
--- ext/openssl/ossl_pkcs7.c 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/openssl/ossl_pkcs7.c 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,5 +1,5 @@ | |
/* | |
- * $Id: ossl_pkcs7.c 12496 2007-06-08 15:02:04Z technorama $ | |
+ * $Id$ | |
* 'OpenSSL for Ruby' project | |
* Copyright (C) 2001-2002 Michal Rokos <[email protected]> | |
* All rights reserved. | |
diff -x .git -x .gitignore -ruB ext/openssl/ossl_pkcs7.h ext/openssl/ossl_pkcs7.h | |
--- ext/openssl/ossl_pkcs7.h 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/openssl/ossl_pkcs7.h 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,5 +1,5 @@ | |
/* | |
- * $Id: ossl_pkcs7.h 12496 2007-06-08 15:02:04Z technorama $ | |
+ * $Id$ | |
* 'OpenSSL for Ruby' project | |
* Copyright (C) 2001-2002 Michal Rokos <[email protected]> | |
* All rights reserved. | |
diff -x .git -x .gitignore -ruB ext/openssl/ossl_pkey.c ext/openssl/ossl_pkey.c | |
--- ext/openssl/ossl_pkey.c 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/openssl/ossl_pkey.c 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,5 +1,5 @@ | |
/* | |
- * $Id: ossl_pkey.c 12496 2007-06-08 15:02:04Z technorama $ | |
+ * $Id$ | |
* 'OpenSSL for Ruby' project | |
* Copyright (C) 2001-2002 Michal Rokos <[email protected]> | |
* All rights reserved. | |
diff -x .git -x .gitignore -ruB ext/openssl/ossl_pkey.h ext/openssl/ossl_pkey.h | |
--- ext/openssl/ossl_pkey.h 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/openssl/ossl_pkey.h 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,5 +1,5 @@ | |
/* | |
- * $Id: ossl_pkey.h 12496 2007-06-08 15:02:04Z technorama $ | |
+ * $Id$ | |
* 'OpenSSL for Ruby' project | |
* Copyright (C) 2001 Michal Rokos <[email protected]> | |
* All rights reserved. | |
diff -x .git -x .gitignore -ruB ext/openssl/ossl_pkey_dh.c ext/openssl/ossl_pkey_dh.c | |
--- ext/openssl/ossl_pkey_dh.c 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/openssl/ossl_pkey_dh.c 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,5 +1,5 @@ | |
/* | |
- * $Id: ossl_pkey_dh.c 16691 2008-05-29 17:45:47Z knu $ | |
+ * $Id$ | |
* 'OpenSSL for Ruby' project | |
* Copyright (C) 2001-2002 Michal Rokos <[email protected]> | |
* All rights reserved. | |
diff -x .git -x .gitignore -ruB ext/openssl/ossl_pkey_dsa.c ext/openssl/ossl_pkey_dsa.c | |
--- ext/openssl/ossl_pkey_dsa.c 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/openssl/ossl_pkey_dsa.c 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,5 +1,5 @@ | |
/* | |
- * $Id: ossl_pkey_dsa.c 16691 2008-05-29 17:45:47Z knu $ | |
+ * $Id$ | |
* 'OpenSSL for Ruby' project | |
* Copyright (C) 2001-2002 Michal Rokos <[email protected]> | |
* All rights reserved. | |
diff -x .git -x .gitignore -ruB ext/openssl/ossl_pkey_rsa.c ext/openssl/ossl_pkey_rsa.c | |
--- ext/openssl/ossl_pkey_rsa.c 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/openssl/ossl_pkey_rsa.c 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,5 +1,5 @@ | |
/* | |
- * $Id: ossl_pkey_rsa.c 15611 2008-02-26 07:11:23Z technorama $ | |
+ * $Id$ | |
* 'OpenSSL for Ruby' project | |
* Copyright (C) 2001-2002 Michal Rokos <[email protected]> | |
* All rights reserved. | |
diff -x .git -x .gitignore -ruB ext/openssl/ossl_rand.c ext/openssl/ossl_rand.c | |
--- ext/openssl/ossl_rand.c 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/openssl/ossl_rand.c 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,5 +1,5 @@ | |
/* | |
- * $Id: ossl_rand.c 16692 2008-05-29 18:15:50Z knu $ | |
+ * $Id$ | |
* 'OpenSSL for Ruby' project | |
* Copyright (C) 2001-2002 Michal Rokos <[email protected]> | |
* All rights reserved. | |
diff -x .git -x .gitignore -ruB ext/openssl/ossl_rand.h ext/openssl/ossl_rand.h | |
--- ext/openssl/ossl_rand.h 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/openssl/ossl_rand.h 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,5 +1,5 @@ | |
/* | |
- * $Id: ossl_rand.h 11708 2007-02-12 23:01:19Z shyouhei $ | |
+ * $Id$ | |
* 'OpenSSL for Ruby' project | |
* Copyright (C) 2001-2002 Michal Rokos <[email protected]> | |
* All rights reserved. | |
diff -x .git -x .gitignore -ruB ext/openssl/ossl_ssl.c ext/openssl/ossl_ssl.c | |
--- ext/openssl/ossl_ssl.c 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/openssl/ossl_ssl.c 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,5 +1,5 @@ | |
/* | |
- * $Id: ossl_ssl.c 16857 2008-06-06 08:05:24Z knu $ | |
+ * $Id$ | |
* 'OpenSSL for Ruby' project | |
* Copyright (C) 2000-2002 GOTOU Yuuzou <[email protected]> | |
* Copyright (C) 2001-2002 Michal Rokos <[email protected]> | |
diff -x .git -x .gitignore -ruB ext/openssl/ossl_ssl.h ext/openssl/ossl_ssl.h | |
--- ext/openssl/ossl_ssl.h 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/openssl/ossl_ssl.h 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,5 +1,5 @@ | |
/* | |
- * $Id: ossl_ssl.h 12496 2007-06-08 15:02:04Z technorama $ | |
+ * $Id$ | |
* 'OpenSSL for Ruby' project | |
* Copyright (C) 2001-2002 Michal Rokos <[email protected]> | |
* All rights reserved. | |
diff -x .git -x .gitignore -ruB ext/openssl/ossl_version.h ext/openssl/ossl_version.h | |
--- ext/openssl/ossl_version.h 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/openssl/ossl_version.h 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,5 +1,5 @@ | |
/* | |
- * $Id: ossl_version.h 11708 2007-02-12 23:01:19Z shyouhei $ | |
+ * $Id$ | |
* 'OpenSSL for Ruby' project | |
* Copyright (C) 2001-2002 Michal Rokos <[email protected]> | |
* All rights reserved. | |
diff -x .git -x .gitignore -ruB ext/openssl/ossl_x509.c ext/openssl/ossl_x509.c | |
--- ext/openssl/ossl_x509.c 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/openssl/ossl_x509.c 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,5 +1,5 @@ | |
/* | |
- * $Id: ossl_x509.c 11708 2007-02-12 23:01:19Z shyouhei $ | |
+ * $Id$ | |
* 'OpenSSL for Ruby' project | |
* Copyright (C) 2001-2002 Michal Rokos <[email protected]> | |
* All rights reserved. | |
diff -x .git -x .gitignore -ruB ext/openssl/ossl_x509.h ext/openssl/ossl_x509.h | |
--- ext/openssl/ossl_x509.h 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/openssl/ossl_x509.h 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,5 +1,5 @@ | |
/* | |
- * $Id: ossl_x509.h 11708 2007-02-12 23:01:19Z shyouhei $ | |
+ * $Id$ | |
* 'OpenSSL for Ruby' project | |
* Copyright (C) 2001-2002 Michal Rokos <[email protected]> | |
* All rights reserved. | |
diff -x .git -x .gitignore -ruB ext/openssl/ossl_x509attr.c ext/openssl/ossl_x509attr.c | |
--- ext/openssl/ossl_x509attr.c 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/openssl/ossl_x509attr.c 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,5 +1,5 @@ | |
/* | |
- * $Id: ossl_x509attr.c 12496 2007-06-08 15:02:04Z technorama $ | |
+ * $Id$ | |
* 'OpenSSL for Ruby' project | |
* Copyright (C) 2001 Michal Rokos <[email protected]> | |
* All rights reserved. | |
diff -x .git -x .gitignore -ruB ext/openssl/ossl_x509cert.c ext/openssl/ossl_x509cert.c | |
--- ext/openssl/ossl_x509cert.c 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/openssl/ossl_x509cert.c 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,5 +1,5 @@ | |
/* | |
- * $Id: ossl_x509cert.c 12496 2007-06-08 15:02:04Z technorama $ | |
+ * $Id$ | |
* 'OpenSSL for Ruby' project | |
* Copyright (C) 2001-2002 Michal Rokos <[email protected]> | |
* All rights reserved. | |
diff -x .git -x .gitignore -ruB ext/openssl/ossl_x509crl.c ext/openssl/ossl_x509crl.c | |
--- ext/openssl/ossl_x509crl.c 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/openssl/ossl_x509crl.c 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,5 +1,5 @@ | |
/* | |
- * $Id: ossl_x509crl.c 12496 2007-06-08 15:02:04Z technorama $ | |
+ * $Id$ | |
* 'OpenSSL for Ruby' project | |
* Copyright (C) 2001-2002 Michal Rokos <[email protected]> | |
* All rights reserved. | |
diff -x .git -x .gitignore -ruB ext/openssl/ossl_x509ext.c ext/openssl/ossl_x509ext.c | |
--- ext/openssl/ossl_x509ext.c 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/openssl/ossl_x509ext.c 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,5 +1,5 @@ | |
/* | |
- * $Id: ossl_x509ext.c 12496 2007-06-08 15:02:04Z technorama $ | |
+ * $Id$ | |
* 'OpenSSL for Ruby' project | |
* Copyright (C) 2001-2002 Michal Rokos <[email protected]> | |
* All rights reserved. | |
diff -x .git -x .gitignore -ruB ext/openssl/ossl_x509name.c ext/openssl/ossl_x509name.c | |
--- ext/openssl/ossl_x509name.c 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/openssl/ossl_x509name.c 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,5 +1,5 @@ | |
/* | |
- * $Id: ossl_x509name.c 12800 2007-07-15 13:24:51Z nobu $ | |
+ * $Id$ | |
* 'OpenSSL for Ruby' project | |
* Copyright (C) 2001 Michal Rokos <[email protected]> | |
* All rights reserved. | |
diff -x .git -x .gitignore -ruB ext/openssl/ossl_x509req.c ext/openssl/ossl_x509req.c | |
--- ext/openssl/ossl_x509req.c 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/openssl/ossl_x509req.c 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,5 +1,5 @@ | |
/* | |
- * $Id: ossl_x509req.c 12496 2007-06-08 15:02:04Z technorama $ | |
+ * $Id$ | |
* 'OpenSSL for Ruby' project | |
* Copyright (C) 2001-2002 Michal Rokos <[email protected]> | |
* All rights reserved. | |
diff -x .git -x .gitignore -ruB ext/openssl/ossl_x509revoked.c ext/openssl/ossl_x509revoked.c | |
--- ext/openssl/ossl_x509revoked.c 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/openssl/ossl_x509revoked.c 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,5 +1,5 @@ | |
/* | |
- * $Id: ossl_x509revoked.c 12496 2007-06-08 15:02:04Z technorama $ | |
+ * $Id$ | |
* 'OpenSSL for Ruby' project | |
* Copyright (C) 2001-2002 Michal Rokos <[email protected]> | |
* All rights reserved. | |
diff -x .git -x .gitignore -ruB ext/openssl/ossl_x509store.c ext/openssl/ossl_x509store.c | |
--- ext/openssl/ossl_x509store.c 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/openssl/ossl_x509store.c 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,5 +1,5 @@ | |
/* | |
- * $Id: ossl_x509store.c 16691 2008-05-29 17:45:47Z knu $ | |
+ * $Id$ | |
* 'OpenSSL for Ruby' project | |
* Copyright (C) 2001-2002 Michal Rokos <[email protected]> | |
* All rights reserved. | |
diff -x .git -x .gitignore -ruB ext/openssl/ruby_missing.h ext/openssl/ruby_missing.h | |
--- ext/openssl/ruby_missing.h 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/openssl/ruby_missing.h 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,5 +1,5 @@ | |
/* | |
- * $Id: ruby_missing.h 12496 2007-06-08 15:02:04Z technorama $ | |
+ * $Id$ | |
* 'OpenSSL for Ruby' project | |
* Copyright (C) 2001-2003 Michal Rokos <[email protected]> | |
* All rights reserved. | |
diff -x .git -x .gitignore -ruB ext/racc/cparse/extconf.rb ext/racc/cparse/extconf.rb | |
--- ext/racc/cparse/extconf.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/racc/cparse/extconf.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,4 +1,4 @@ | |
-# $Id: extconf.rb 11708 2007-02-12 23:01:19Z shyouhei $ | |
+# $Id$ | |
require 'mkmf' | |
create_makefile 'racc/cparse' | |
diff -x .git -x .gitignore -ruB ext/sdbm/_sdbm.c ext/sdbm/_sdbm.c | |
--- ext/sdbm/_sdbm.c 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/sdbm/_sdbm.c 2010-04-27 21:11:07.000000000 +0200 | |
@@ -8,7 +8,7 @@ | |
*/ | |
#ifndef lint | |
-/*char sdbm_rcsid[] = "$Id: _sdbm.c 12800 2007-07-15 13:24:51Z nobu $";*/ | |
+/*char sdbm_rcsid[] = "$Id$";*/ | |
#endif | |
#include "sdbm.h" | |
@@ -626,7 +626,7 @@ | |
*/ | |
#ifndef lint | |
-/*char pair_rcsid[] = "$Id: _sdbm.c 12800 2007-07-15 13:24:51Z nobu $";*/ | |
+/*char pair_rcsid[] = "$Id$";*/ | |
#endif | |
#ifndef BSD42 | |
diff -x .git -x .gitignore -ruB ext/sdbm/init.c ext/sdbm/init.c | |
--- ext/sdbm/init.c 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/sdbm/init.c 2010-04-27 21:11:07.000000000 +0200 | |
@@ -2,8 +2,8 @@ | |
sdbminit.c - | |
- $Author: shyouhei $ | |
- $Date: 2007-02-13 00:01:19 +0100 (Di, 13 Feb 2007) $ | |
+ $Author$ | |
+ $Date$ | |
created at: Fri May 7 08:34:24 JST 1999 | |
Copyright (C) 1995-2001 Yukihiro Matsumoto | |
diff -x .git -x .gitignore -ruB ext/socket/socket.c ext/socket/socket.c | |
--- ext/socket/socket.c 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/socket/socket.c 2010-04-27 21:11:07.000000000 +0200 | |
@@ -2,8 +2,8 @@ | |
socket.c - | |
- $Author: shyouhei $ | |
- $Date: 2009-01-27 07:18:04 +0100 (Di, 27 Jan 2009) $ | |
+ $Author$ | |
+ $Date$ | |
created at: Thu Mar 31 12:21:29 JST 1994 | |
Copyright (C) 1993-2001 Yukihiro Matsumoto | |
diff -x .git -x .gitignore -ruB ext/socket/sockport.h ext/socket/sockport.h | |
--- ext/socket/sockport.h 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/socket/sockport.h 2010-04-27 21:11:07.000000000 +0200 | |
@@ -2,8 +2,8 @@ | |
sockport.h - | |
- $Author: shyouhei $ | |
- $Date: 2007-02-13 00:01:19 +0100 (Di, 13 Feb 2007) $ | |
+ $Author$ | |
+ $Date$ | |
created at: Fri Apr 30 23:19:34 JST 1999 | |
************************************************/ | |
diff -x .git -x .gitignore -ruB ext/stringio/README ext/stringio/README | |
--- ext/stringio/README 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/stringio/README 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,6 +1,6 @@ | |
-*- rd -*- | |
-$Author: shyouhei $ | |
-$Date: 2007-02-13 00:01:19 +0100 (Di, 13 Feb 2007) $ | |
+$Author$ | |
+$Date$ | |
=begin | |
diff -x .git -x .gitignore -ruB ext/stringio/stringio.c ext/stringio/stringio.c | |
--- ext/stringio/stringio.c 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/stringio/stringio.c 2010-04-27 21:11:07.000000000 +0200 | |
@@ -2,8 +2,8 @@ | |
stringio.c - | |
- $Author: shyouhei $ | |
- $Date: 2009-02-09 05:40:47 +0100 (Mo, 09 Feb 2009) $ | |
+ $Author$ | |
+ $Date$ | |
$RoughId: stringio.c,v 1.13 2002/03/14 03:24:18 nobu Exp $ | |
created at: Tue Feb 19 04:10:38 JST 2002 | |
diff -x .git -x .gitignore -ruB ext/strscan/strscan.c ext/strscan/strscan.c | |
--- ext/strscan/strscan.c 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/strscan/strscan.c 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,5 +1,5 @@ | |
/* | |
- $Id: strscan.c 11708 2007-02-12 23:01:19Z shyouhei $ | |
+ $Id$ | |
Copyright (c) 1999-2006 Minero Aoki | |
@@ -1258,7 +1258,7 @@ | |
tmp = rb_str_new2(STRSCAN_VERSION); | |
rb_obj_freeze(tmp); | |
rb_const_set(StringScanner, rb_intern("Version"), tmp); | |
- tmp = rb_str_new2("$Id: strscan.c 11708 2007-02-12 23:01:19Z shyouhei $"); | |
+ tmp = rb_str_new2("$Id$"); | |
rb_obj_freeze(tmp); | |
rb_const_set(StringScanner, rb_intern("Id"), tmp); | |
diff -x .git -x .gitignore -ruB ext/syck/bytecode.c ext/syck/bytecode.c | |
--- ext/syck/bytecode.c 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/syck/bytecode.c 2010-04-27 21:11:07.000000000 +0200 | |
@@ -3,8 +3,8 @@ | |
/* | |
* bytecode.re | |
* | |
- * $Author: shyouhei $ | |
- * $Date: 2007-02-13 00:01:19 +0100 (Di, 13 Feb 2007) $ | |
+ * $Author$ | |
+ * $Date$ | |
* | |
* Copyright (C) 2003 why the lucky stiff | |
*/ | |
diff -x .git -x .gitignore -ruB ext/syck/emitter.c ext/syck/emitter.c | |
--- ext/syck/emitter.c 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/syck/emitter.c 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,8 +1,8 @@ | |
/* | |
* emitter.c | |
* | |
- * $Author: shyouhei $ | |
- * $Date: 2007-02-13 00:01:19 +0100 (Di, 13 Feb 2007) $ | |
+ * $Author$ | |
+ * $Date$ | |
* | |
* Copyright (C) 2003 why the lucky stiff | |
* | |
diff -x .git -x .gitignore -ruB ext/syck/handler.c ext/syck/handler.c | |
--- ext/syck/handler.c 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/syck/handler.c 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,8 +1,8 @@ | |
/* | |
* handler.c | |
* | |
- * $Author: shyouhei $ | |
- * $Date: 2007-02-13 00:01:19 +0100 (Di, 13 Feb 2007) $ | |
+ * $Author$ | |
+ * $Date$ | |
* | |
* Copyright (C) 2003 why the lucky stiff | |
*/ | |
diff -x .git -x .gitignore -ruB ext/syck/implicit.c ext/syck/implicit.c | |
--- ext/syck/implicit.c 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/syck/implicit.c 2010-04-27 21:11:07.000000000 +0200 | |
@@ -3,8 +3,8 @@ | |
/* | |
* implicit.re | |
* | |
- * $Author: shyouhei $ | |
- * $Date: 2007-02-13 00:01:19 +0100 (Di, 13 Feb 2007) $ | |
+ * $Author$ | |
+ * $Date$ | |
* | |
* Copyright (C) 2003 why the lucky stiff | |
*/ | |
diff -x .git -x .gitignore -ruB ext/syck/node.c ext/syck/node.c | |
--- ext/syck/node.c 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/syck/node.c 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,8 +1,8 @@ | |
/* | |
* node.c | |
* | |
- * $Author: shyouhei $ | |
- * $Date: 2007-02-13 00:01:19 +0100 (Di, 13 Feb 2007) $ | |
+ * $Author$ | |
+ * $Date$ | |
* | |
* Copyright (C) 2003 why the lucky stiff | |
*/ | |
diff -x .git -x .gitignore -ruB ext/syck/rubyext.c ext/syck/rubyext.c | |
--- ext/syck/rubyext.c 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/syck/rubyext.c 2010-04-27 21:11:07.000000000 +0200 | |
@@ -2,8 +2,8 @@ | |
/* | |
* rubyext.c | |
* | |
- * $Author: knu $ | |
- * $Date: 2008-04-18 12:03:26 +0200 (Fr, 18 Apr 2008) $ | |
+ * $Author$ | |
+ * $Date$ | |
* | |
* Copyright (C) 2003-2005 why the lucky stiff | |
*/ | |
diff -x .git -x .gitignore -ruB ext/syck/syck.c ext/syck/syck.c | |
--- ext/syck/syck.c 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/syck/syck.c 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,8 +1,8 @@ | |
/* | |
* syck.c | |
* | |
- * $Author: shyouhei $ | |
- * $Date: 2007-02-13 00:01:19 +0100 (Di, 13 Feb 2007) $ | |
+ * $Author$ | |
+ * $Date$ | |
* | |
* Copyright (C) 2003 why the lucky stiff | |
*/ | |
diff -x .git -x .gitignore -ruB ext/syck/syck.h ext/syck/syck.h | |
--- ext/syck/syck.h 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/syck/syck.h 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,8 +1,8 @@ | |
/* | |
* syck.h | |
* | |
- * $Author: nobu $ | |
- * $Date: 2007-07-15 15:24:51 +0200 (So, 15 Jul 2007) $ | |
+ * $Author$ | |
+ * $Date$ | |
* | |
* Copyright (C) 2003 why the lucky stiff | |
*/ | |
diff -x .git -x .gitignore -ruB ext/syck/token.c ext/syck/token.c | |
--- ext/syck/token.c 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/syck/token.c 2010-04-27 21:11:07.000000000 +0200 | |
@@ -3,8 +3,8 @@ | |
/* | |
* token.re | |
* | |
- * $Author: shyouhei $ | |
- * $Date: 2007-02-13 00:01:19 +0100 (Di, 13 Feb 2007) $ | |
+ * $Author$ | |
+ * $Date$ | |
* | |
* Copyright (C) 2003 why the lucky stiff | |
*/ | |
diff -x .git -x .gitignore -ruB ext/syck/yaml2byte.c ext/syck/yaml2byte.c | |
--- ext/syck/yaml2byte.c 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/syck/yaml2byte.c 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,8 +1,8 @@ | |
/* | |
* yaml2byte.c | |
* | |
- * $Author: shyouhei $ | |
- * $Date: 2007-02-13 00:01:19 +0100 (Di, 13 Feb 2007) $ | |
+ * $Author$ | |
+ * $Date$ | |
* | |
* Copyright (C) 2003 why the lucky stiff, clark evans | |
* | |
diff -x .git -x .gitignore -ruB ext/syslog/extconf.rb ext/syslog/extconf.rb | |
--- ext/syslog/extconf.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/syslog/extconf.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,5 +1,5 @@ | |
# $RoughId: extconf.rb,v 1.3 2001/11/24 17:49:26 knu Exp $ | |
-# $Id: extconf.rb 11708 2007-02-12 23:01:19Z shyouhei $ | |
+# $Id$ | |
require 'mkmf' | |
diff -x .git -x .gitignore -ruB ext/syslog/syslog.c ext/syslog/syslog.c | |
--- ext/syslog/syslog.c 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/syslog/syslog.c 2010-04-27 21:11:07.000000000 +0200 | |
@@ -4,7 +4,7 @@ | |
* <[email protected]> | |
* | |
* $RoughId: syslog.c,v 1.21 2002/02/25 12:21:17 knu Exp $ | |
- * $Id: syslog.c 17809 2008-07-02 09:58:40Z shyouhei $ | |
+ * $Id$ | |
*/ | |
#include "ruby.h" | |
diff -x .git -x .gitignore -ruB ext/syslog/syslog.txt ext/syslog/syslog.txt | |
--- ext/syslog/syslog.txt 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/syslog/syslog.txt 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,6 +1,6 @@ | |
.\" syslog.txt - -*- Indented-Text -*- | |
$RoughId: syslog.txt,v 1.18 2002/02/25 08:20:14 knu Exp $ | |
-$Id: syslog.txt 15822 2008-03-21 12:16:15Z knu $ | |
+$Id$ | |
UNIX Syslog extension for Ruby | |
Amos Gouaux, University of Texas at Dallas | |
diff -x .git -x .gitignore -ruB ext/syslog/test.rb ext/syslog/test.rb | |
--- ext/syslog/test.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/syslog/test.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,6 +1,6 @@ | |
#!/usr/bin/env ruby | |
# $RoughId: test.rb,v 1.9 2002/02/25 08:20:14 knu Exp $ | |
-# $Id: test.rb 11708 2007-02-12 23:01:19Z shyouhei $ | |
+# $Id$ | |
# Please only run this test on machines reasonable for testing. | |
# If in doubt, ask your admin. | |
diff -x .git -x .gitignore -ruB ext/tk/lib/tk/after.rb ext/tk/lib/tk/after.rb | |
--- ext/tk/lib/tk/after.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/tk/lib/tk/after.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,6 +1,6 @@ | |
# | |
# tk/after.rb : methods for Tcl/Tk after command | |
# | |
-# $Id: after.rb 11708 2007-02-12 23:01:19Z shyouhei $ | |
+# $Id$ | |
# | |
require 'tk/timer' | |
diff -x .git -x .gitignore -ruB ext/tk/lib/tk/timer.rb ext/tk/lib/tk/timer.rb | |
--- ext/tk/lib/tk/timer.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/tk/lib/tk/timer.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,7 +1,7 @@ | |
# | |
# tk/timer.rb : methods for Tcl/Tk after command | |
# | |
-# $Id: timer.rb 16020 2008-04-14 15:17:52Z nagai $ | |
+# $Id$ | |
# | |
require 'tk' | |
diff -x .git -x .gitignore -ruB ext/tk/lib/tkclass.rb ext/tk/lib/tkclass.rb | |
--- ext/tk/lib/tkclass.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/tk/lib/tkclass.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -3,7 +3,7 @@ | |
# Date: 2000/11/27 09:23:36 | |
# by Yukihiro Matsumoto <[email protected]> | |
# | |
-# $Id: tkclass.rb 11708 2007-02-12 23:01:19Z shyouhei $ | |
+# $Id$ | |
require "tk" | |
diff -x .git -x .gitignore -ruB ext/tk/sample/tkextlib/tile/repeater.tcl ext/tk/sample/tkextlib/tile/repeater.tcl | |
--- ext/tk/sample/tkextlib/tile/repeater.tcl 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/tk/sample/tkextlib/tile/repeater.tcl 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,5 +1,5 @@ | |
# | |
-# $Id: repeater.tcl 11708 2007-02-12 23:01:19Z shyouhei $ | |
+# $Id$ | |
# | |
# Demonstration of custom classes. | |
# | |
diff -x .git -x .gitignore -ruB ext/tk/sample/tkextlib/tile/themes/keramik/keramik.tcl ext/tk/sample/tkextlib/tile/themes/keramik/keramik.tcl | |
--- ext/tk/sample/tkextlib/tile/themes/keramik/keramik.tcl 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/tk/sample/tkextlib/tile/themes/keramik/keramik.tcl 2010-04-27 21:11:07.000000000 +0200 | |
@@ -5,7 +5,7 @@ | |
# Copyright (c) 2004 Googie | |
# Copyright (c) 2004 Pat Thoyts <[email protected]> | |
# | |
-# $Id: keramik.tcl 11708 2007-02-12 23:01:19Z shyouhei $ | |
+# $Id$ | |
package require Tk 8.4; # minimum version for Tile | |
package require tile 0.5; # depends upon tile 0.5 | |
diff -x .git -x .gitignore -ruB ext/tk/sample/tkextlib/tile/themes/keramik/pkgIndex.tcl ext/tk/sample/tkextlib/tile/themes/keramik/pkgIndex.tcl | |
--- ext/tk/sample/tkextlib/tile/themes/keramik/pkgIndex.tcl 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/tk/sample/tkextlib/tile/themes/keramik/pkgIndex.tcl 2010-04-27 21:11:07.000000000 +0200 | |
@@ -6,7 +6,7 @@ | |
# To use this automatically within tile, the tile-using application should | |
# use tile::availableThemes and tile::setTheme | |
# | |
-# $Id: pkgIndex.tcl 11708 2007-02-12 23:01:19Z shyouhei $ | |
+# $Id$ | |
if {![file isdirectory [file join $dir keramik]]} { return } | |
if {![package vsatisfies [package provide Tcl] 8.4]} { return } | |
diff -x .git -x .gitignore -ruB ext/tk/sample/tkextlib/tile/themes/kroc/pkgIndex.tcl ext/tk/sample/tkextlib/tile/themes/kroc/pkgIndex.tcl | |
--- ext/tk/sample/tkextlib/tile/themes/kroc/pkgIndex.tcl 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/tk/sample/tkextlib/tile/themes/kroc/pkgIndex.tcl 2010-04-27 21:11:07.000000000 +0200 | |
@@ -6,7 +6,7 @@ | |
# To use this automatically within tile, the tile-using application should | |
# use tile::availableThemes and tile::setTheme | |
# | |
-# $Id: pkgIndex.tcl 11708 2007-02-12 23:01:19Z shyouhei $ | |
+# $Id$ | |
if {![file isdirectory [file join $dir kroc]]} { return } | |
if {![package vsatisfies [package provide Tcl] 8.4]} { return } | |
diff -x .git -x .gitignore -ruB ext/tk/sample/tkextlib/tile/themes/plastik/pkgIndex.tcl ext/tk/sample/tkextlib/tile/themes/plastik/pkgIndex.tcl | |
--- ext/tk/sample/tkextlib/tile/themes/plastik/pkgIndex.tcl 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/tk/sample/tkextlib/tile/themes/plastik/pkgIndex.tcl 2010-04-27 21:11:07.000000000 +0200 | |
@@ -6,7 +6,7 @@ | |
# To use this automatically within tile, the tile-using application should | |
# use tile::availableThemes and tile::setTheme | |
# | |
-# $Id: pkgIndex.tcl 11708 2007-02-12 23:01:19Z shyouhei $ | |
+# $Id$ | |
if {![file isdirectory [file join $dir plastik]]} { return } | |
if {![package vsatisfies [package provide Tcl] 8.4]} { return } | |
diff -x .git -x .gitignore -ruB ext/tk/sample/tkextlib/tile/themes/plastik/plastik.tcl ext/tk/sample/tkextlib/tile/themes/plastik/plastik.tcl | |
--- ext/tk/sample/tkextlib/tile/themes/plastik/plastik.tcl 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/tk/sample/tkextlib/tile/themes/plastik/plastik.tcl 2010-04-27 21:11:07.000000000 +0200 | |
@@ -5,7 +5,7 @@ | |
# Copyright (c) 2004 Googie | |
# Copyright (c) 2005 Pat Thoyts <[email protected]> | |
# | |
-# $Id: plastik.tcl 11708 2007-02-12 23:01:19Z shyouhei $ | |
+# $Id$ | |
package require Tk 8.4 | |
package require tile 0.5 | |
diff -x .git -x .gitignore -ruB ext/tk/sample/tkextlib/tile/toolbutton.tcl ext/tk/sample/tkextlib/tile/toolbutton.tcl | |
--- ext/tk/sample/tkextlib/tile/toolbutton.tcl 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/tk/sample/tkextlib/tile/toolbutton.tcl 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,5 +1,5 @@ | |
# | |
-# $Id: toolbutton.tcl 11708 2007-02-12 23:01:19Z shyouhei $ | |
+# $Id$ | |
# | |
# Demonstration of custom widget styles. | |
# | |
diff -x .git -x .gitignore -ruB ext/tk/sample/tkextlib/tkHTML/page3/index.html ext/tk/sample/tkextlib/tkHTML/page3/index.html | |
--- ext/tk/sample/tkextlib/tkHTML/page3/index.html 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/tk/sample/tkextlib/tkHTML/page3/index.html 2010-04-27 21:11:07.000000000 +0200 | |
@@ -29,7 +29,7 @@ | |
resources related to this tutorial<br>are available online at | |
<a href="http://www.hwaci.com/tcl2k/"> | |
http://www.hwaci.com/tcl2k/</a></p> | |
- <p align="center"><small>$Id: index.html 11708 2007-02-12 23:01:19Z shyouhei $</small></p></td></tr> | |
+ <p align="center"><small>$Id$</small></p></td></tr> | |
</table> | |
</center> | |
</p> | |
diff -x .git -x .gitignore -ruB ext/tk/tkutil/tkutil.c ext/tk/tkutil/tkutil.c | |
--- ext/tk/tkutil/tkutil.c 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/tk/tkutil/tkutil.c 2010-04-27 21:11:07.000000000 +0200 | |
@@ -2,7 +2,7 @@ | |
tkutil.c - | |
- $Author: knu $ | |
+ $Author$ | |
created at: Fri Nov 3 00:47:54 JST 1995 | |
************************************************/ | |
diff -x .git -x .gitignore -ruB ext/win32ole/extconf.rb ext/win32ole/extconf.rb | |
--- ext/win32ole/extconf.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/win32ole/extconf.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,7 +1,7 @@ | |
#---------------------------------- | |
# extconf.rb | |
-# $Revision: 11708 $ | |
-# $Date: 2007-02-13 00:01:19 +0100 (Di, 13 Feb 2007) $ | |
+# $Revision$ | |
+# $Date$ | |
#---------------------------------- | |
require 'mkmf' | |
diff -x .git -x .gitignore -ruB ext/win32ole/sample/olegen.rb ext/win32ole/sample/olegen.rb | |
--- ext/win32ole/sample/olegen.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/win32ole/sample/olegen.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,7 +1,7 @@ | |
#----------------------------- | |
# olegen.rb | |
-# $Date: 2007-02-13 00:01:19 +0100 (Di, 13 Feb 2007) $ | |
-# $Revision: 11708 $ | |
+# $Date$ | |
+# $Revision$ | |
#----------------------------- | |
require 'win32ole' | |
diff -x .git -x .gitignore -ruB ext/win32ole/win32ole.c ext/win32ole/win32ole.c | |
--- ext/win32ole/win32ole.c 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/win32ole/win32ole.c 2010-04-27 21:11:07.000000000 +0200 | |
@@ -12,7 +12,7 @@ | |
*/ | |
/* | |
- $Date: 2008-07-07 05:29:28 +0200 (Mo, 07 Jul 2008) $ | |
+ $Date$ | |
modified for win32ole (ruby) by Masaki.Suketa <[email protected]> | |
*/ | |
diff -x .git -x .gitignore -ruB ext/zlib/doc/zlib.rd ext/zlib/doc/zlib.rd | |
--- ext/zlib/doc/zlib.rd 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/zlib/doc/zlib.rd 2010-04-27 21:11:07.000000000 +0200 | |
@@ -4,7 +4,7 @@ | |
# | |
# Copyright (C) UENO Katsuhiro 2000-2003 | |
# | |
-# $Id: zlib.rd 11708 2007-02-12 23:01:19Z shyouhei $ | |
+# $Id$ | |
# | |
= Ruby/zlib version 0.6.0 | |
diff -x .git -x .gitignore -ruB ext/zlib/extconf.rb ext/zlib/extconf.rb | |
--- ext/zlib/extconf.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/zlib/extconf.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,7 +1,7 @@ | |
# | |
# extconf.rb | |
# | |
-# $Id: extconf.rb 16679 2008-05-29 11:23:36Z knu $ | |
+# $Id$ | |
# | |
require 'mkmf' | |
diff -x .git -x .gitignore -ruB ext/zlib/zlib.c ext/zlib/zlib.c | |
--- ext/zlib/zlib.c 2010-04-27 21:24:05.000000000 +0200 | |
+++ ext/zlib/zlib.c 2010-04-27 21:11:07.000000000 +0200 | |
@@ -3,7 +3,7 @@ | |
* | |
* Copyright (C) UENO Katsuhiro 2000-2003 | |
* | |
- * $Id: zlib.c 18089 2008-07-16 16:39:00Z shyouhei $ | |
+ * $Id$ | |
*/ | |
#include <ruby.h> | |
diff -x .git -x .gitignore -ruB file.c file.c | |
--- file.c 2010-04-27 21:24:05.000000000 +0200 | |
+++ file.c 2010-04-27 21:11:07.000000000 +0200 | |
@@ -2,8 +2,8 @@ | |
file.c - | |
- $Author: shyouhei $ | |
- $Date: 2009-07-15 04:50:57 +0200 (Mi, 15 Jul 2009) $ | |
+ $Author$ | |
+ $Date$ | |
created at: Mon Nov 15 12:24:34 JST 1993 | |
Copyright (C) 1993-2003 Yukihiro Matsumoto | |
diff -x .git -x .gitignore -ruB gc.c gc.c | |
--- gc.c 2010-04-27 21:54:12.000000000 +0200 | |
+++ gc.c 2010-04-27 21:11:07.000000000 +0200 | |
@@ -2,8 +2,8 @@ | |
gc.c - | |
- $Author: shyouhei $ | |
- $Date: 2009-07-17 17:48:05 +0200 (Fr, 17 Jul 2009) $ | |
+ $Author$ | |
+ $Date$ | |
created at: Tue Oct 5 09:44:46 JST 1993 | |
Copyright (C) 1993-2003 Yukihiro Matsumoto | |
@@ -22,8 +22,16 @@ | |
#include <setjmp.h> | |
#include <sys/types.h> | |
+#ifdef _WIN32 | |
+#include <string.h> | |
+#else | |
+#include <strings.h> | |
+#endif | |
+ | |
#ifdef HAVE_SYS_TIME_H | |
#include <sys/time.h> | |
+#elif defined(_WIN32) | |
+#include <time.h> | |
#endif | |
#ifdef HAVE_SYS_RESOURCE_H | |
@@ -72,12 +79,43 @@ | |
static unsigned long malloc_increase = 0; | |
static unsigned long malloc_limit = GC_MALLOC_LIMIT; | |
+ | |
+#ifdef HAVE_LONG_LONG | |
+static unsigned LONG_LONG gc_allocated_size = 0; | |
+static unsigned LONG_LONG gc_num_allocations = 0; | |
+#else | |
+static unsigned long gc_allocated_size = 0; | |
+static unsigned long gc_num_allocations = 0; | |
+#endif | |
+static int gc_statistics = 0; | |
+ | |
+ | |
static void run_final(); | |
static VALUE nomem_error; | |
static void garbage_collect(); | |
int ruby_gc_stress = 0; | |
+static unsigned long live_objects = 0; | |
+unsigned long rb_os_live_objects() | |
+{ | |
+ return live_objects; | |
+} | |
+ | |
+#if defined(HAVE_LONG_LONG) | |
+static unsigned LONG_LONG allocated_objects = 0; | |
+unsigned LONG_LONG rb_os_allocated_objects() | |
+{ | |
+ return allocated_objects; | |
+} | |
+#else | |
+static unsigned long allocated_objects = 0; | |
+unsigned long rb_os_allocated_objects() | |
+{ | |
+ return allocated_objects; | |
+} | |
+#endif | |
+ | |
NORETURN(void rb_exc_jump _((VALUE))); | |
void | |
@@ -86,12 +124,12 @@ | |
rb_thread_t th = rb_curr_thread; | |
if (!nomem_error || | |
- (rb_thread_raised_p(th, RAISED_NOMEMORY) && rb_safe_level() < 4)) { | |
- fprintf(stderr, "[FATAL] failed to allocate memory\n"); | |
- exit(1); | |
+ (rb_thread_raised_p(th, RAISED_NOMEMORY) && rb_safe_level() < 4)) { | |
+ fprintf(stderr, "[FATAL] failed to allocate memory\n"); | |
+ exit(1); | |
} | |
if (rb_thread_raised_p(th, RAISED_NOMEMORY)) { | |
- rb_exc_jump(nomem_error); | |
+ rb_exc_jump(nomem_error); | |
} | |
rb_thread_raised_set(th, RAISED_NOMEMORY); | |
rb_exc_raise(nomem_error); | |
@@ -139,7 +177,7 @@ | |
void *mem; | |
if (size < 0) { | |
- rb_raise(rb_eNoMemError, "negative allocation size (or too big)"); | |
+ rb_raise(rb_eNoMemError, "negative allocation size (or too big)"); | |
} | |
if (size == 0) size = 1; | |
@@ -148,14 +186,19 @@ | |
} | |
RUBY_CRITICAL(mem = malloc(size)); | |
if (!mem) { | |
- garbage_collect(); | |
- RUBY_CRITICAL(mem = malloc(size)); | |
- if (!mem) { | |
- rb_memerror(); | |
- } | |
+ garbage_collect(); | |
+ RUBY_CRITICAL(mem = malloc(size)); | |
+ if (!mem) { | |
+ rb_memerror(); | |
+ } | |
} | |
malloc_increase += size; | |
+ if (gc_statistics) { | |
+ gc_allocated_size += size; | |
+ gc_num_allocations += 1; | |
+ } | |
+ | |
return mem; | |
} | |
@@ -179,17 +222,17 @@ | |
void *mem; | |
if (size < 0) { | |
- rb_raise(rb_eArgError, "negative re-allocation size"); | |
+ rb_raise(rb_eArgError, "negative re-allocation size"); | |
} | |
if (!ptr) return xmalloc(size); | |
if (size == 0) size = 1; | |
if (ruby_gc_stress) garbage_collect(); | |
RUBY_CRITICAL(mem = realloc(ptr, size)); | |
if (!mem) { | |
- garbage_collect(); | |
- RUBY_CRITICAL(mem = realloc(ptr, size)); | |
- if (!mem) { | |
- rb_memerror(); | |
+ garbage_collect(); | |
+ RUBY_CRITICAL(mem = realloc(ptr, size)); | |
+ if (!mem) { | |
+ rb_memerror(); | |
} | |
} | |
malloc_increase += size; | |
@@ -202,11 +245,21 @@ | |
void *x; | |
{ | |
if (x) | |
- RUBY_CRITICAL(free(x)); | |
+ RUBY_CRITICAL(free(x)); | |
} | |
+#if HAVE_LONG_LONG | |
+#define GC_TIME_TYPE LONG_LONG | |
+#else | |
+#define GC_TIME_TYPE long | |
+#endif | |
+ | |
extern int ruby_in_compile; | |
static int dont_gc; | |
+static GC_TIME_TYPE gc_time = 0; | |
+static int gc_collections = 0; | |
+static int verbose_gc_stats = Qfalse; | |
+static FILE* gc_data_file = NULL; | |
static int during_gc; | |
static int need_call_final = 0; | |
static st_table *finalizer_table = 0; | |
@@ -241,7 +294,7 @@ | |
* Disables garbage collection, returning <code>true</code> if garbage | |
* collection was already disabled. | |
* | |
- * GC.disable #=> false | |
+ * GC.disable #=> false or true | |
* GC.disable #=> true | |
* | |
*/ | |
@@ -255,8 +308,321 @@ | |
return old; | |
} | |
+/* | |
+ * call-seq: | |
+ * GC.enable_stats => true or false | |
+ * | |
+ * Enables garbage collection statistics, returning <code>true</code> if garbage | |
+ * collection statistics was already enabled. | |
+ * | |
+ * GC.enable_stats #=> false or true | |
+ * GC.enable_stats #=> true | |
+ * | |
+ */ | |
+ | |
+VALUE | |
+rb_gc_enable_stats() | |
+{ | |
+ int old = gc_statistics; | |
+ gc_statistics = Qtrue; | |
+ return old; | |
+} | |
+ | |
+/* | |
+ * call-seq: | |
+ * GC.disable_stats => true or false | |
+ * | |
+ * Disables garbage collection statistics, returning <code>true</code> if garbage | |
+ * collection statistics was already disabled. | |
+ * | |
+ * GC.disable_stats #=> false or true | |
+ * GC.disable_stats #=> true | |
+ * | |
+ */ | |
+ | |
+VALUE | |
+rb_gc_disable_stats() | |
+{ | |
+ int old = gc_statistics; | |
+ gc_statistics = Qfalse; | |
+ return old; | |
+} | |
+ | |
+/* | |
+ * call-seq: | |
+ * GC.stats_enabled? => true or false | |
+ * | |
+ * Check whether GC stats have been enabled. | |
+ * | |
+ * GC.stats_enabled? #=> false or true | |
+ * | |
+ */ | |
+ | |
+VALUE | |
+rb_gc_stats_enabled() | |
+{ | |
+ return gc_statistics ? Qtrue : Qfalse; | |
+} | |
+ | |
+/* | |
+ * call-seq: | |
+ * GC.clear_stats => nil | |
+ * | |
+ * Clears garbage collection statistics, returning nil. This resets the number | |
+ * of collections (GC.collections) and the time used (GC.time) to 0. | |
+ * | |
+ * GC.clear_stats #=> nil | |
+ * | |
+ */ | |
+ | |
+VALUE | |
+rb_gc_clear_stats() | |
+{ | |
+ gc_collections = 0; | |
+ gc_time = 0; | |
+ gc_allocated_size = 0; | |
+ gc_num_allocations = 0; | |
+ return Qnil; | |
+} | |
+ | |
+/* | |
+ * call-seq: | |
+ * GC.allocated_size => Integer | |
+ * | |
+ * Returns the size of memory (in bytes) allocated since GC statistics collection | |
+ * was enabled. | |
+ * | |
+ * GC.allocated_size #=> 35 | |
+ * | |
+ */ | |
+VALUE | |
+rb_gc_allocated_size() | |
+{ | |
+#if HAVE_LONG_LONG | |
+ return ULL2NUM(gc_allocated_size); | |
+#else | |
+ return ULONG2NUM(gc_allocated_size); | |
+#endif | |
+} | |
+ | |
+/* | |
+ * call-seq: | |
+ * GC.num_allocations => Integer | |
+ * | |
+ * Returns the number of memory allocations since GC statistics collection | |
+ * was enabled. | |
+ * | |
+ * GC.num_allocations #=> 150 | |
+ * | |
+ */ | |
+VALUE | |
+rb_gc_num_allocations() | |
+{ | |
+#if HAVE_LONG_LONG | |
+ return ULL2NUM(gc_num_allocations); | |
+#else | |
+ return ULONG2NUM(gc_num_allocations); | |
+#endif | |
+} | |
+ | |
+/* | |
+ | |
+/* | |
+ * call-seq: | |
+ * GC.collections => Integer | |
+ * | |
+ * Returns the number of garbage collections performed while GC statistics collection | |
+ * was enabled. | |
+ * | |
+ * GC.collections #=> 35 | |
+ * | |
+ */ | |
+ | |
+VALUE | |
+rb_gc_collections() | |
+{ | |
+ return INT2NUM(gc_collections); | |
+} | |
+ | |
+/* | |
+ * call-seq: | |
+ * GC.time => Integer | |
+ * | |
+ * Returns the time spent during garbage collection while GC statistics collection | |
+ * was enabled (in micro seconds). | |
+ * | |
+ * GC.time #=> 20000 | |
+ * | |
+ */ | |
+ | |
+VALUE | |
+rb_gc_time() | |
+{ | |
+#if HAVE_LONG_LONG | |
+ return LL2NUM(gc_time); | |
+#else | |
+ return LONG2NUM(gc_time); | |
+#endif | |
+} | |
+ | |
VALUE rb_mGC; | |
+/* | |
+ * call-seq: | |
+ * GC.enable_trace => true or false | |
+ * | |
+ * Enables garbage collection tracing, returning <code>true</code> if garbage | |
+ * collection tracing was already enabled. | |
+ * | |
+ * GC.enable_trace #=> false or true | |
+ * GC.enable_trace #=> true | |
+ * | |
+ */ | |
+ | |
+VALUE | |
+rb_gc_enable_trace() | |
+{ | |
+ int old = verbose_gc_stats; | |
+ verbose_gc_stats = Qtrue; | |
+ return old; | |
+} | |
+ | |
+/* | |
+ * call-seq: | |
+ * GC.disable_trace => true or false | |
+ * | |
+ * Disables garbage collection tracing, returning <code>true</code> if garbage | |
+ * collection tracing was already disabled. | |
+ * | |
+ * GC.disable_trace #=> false or true | |
+ * GC.disable_trace #=> true | |
+ * | |
+ */ | |
+ | |
+VALUE | |
+rb_gc_disable_trace() | |
+{ | |
+ int old = verbose_gc_stats; | |
+ verbose_gc_stats = Qfalse; | |
+ return old; | |
+} | |
+ | |
+/* | |
+ * call-seq: | |
+ * GC.trace_enabled? => true or false | |
+ * | |
+ * Check whether GC tracing has been enabled. | |
+ * | |
+ * GC.trace_enabled? #=> false or true | |
+ * | |
+ */ | |
+ | |
+VALUE | |
+rb_gc_trace_enabled() | |
+{ | |
+ return verbose_gc_stats ? Qtrue : Qfalse; | |
+} | |
+ | |
+char* GC_LOGFILE_IVAR = "@gc_logfile_name"; | |
+ | |
+/* | |
+ * call-seq: | |
+ * GC.log_file(filename=nil, mode="w") => boolean | |
+ * | |
+ * Changes the GC data log file. Closes the currently open logfile. | |
+ * Returns true if the file was successfully opened for | |
+ * writing. Returns false if the file could not be opened for | |
+ * writing. Returns the name of the current logfile (or nil) if no | |
+ * parameter is given. Restores logging to stderr when given nil as | |
+ * an argument. | |
+ * | |
+ * GC.log_file #=> nil | |
+ * GC.log_file "/tmp/gc.log" #=> true | |
+ * GC.log_file #=> "/tmp/gc.log" | |
+ * GC.log_file nil #=> true | |
+ * | |
+ */ | |
+ | |
+VALUE | |
+rb_gc_log_file(int argc, VALUE *argv, VALUE self) | |
+{ | |
+ VALUE filename = Qnil; | |
+ VALUE mode_str = Qnil; | |
+ FILE* f = NULL; | |
+ char* mode = "w"; | |
+ | |
+ VALUE current_logfile_name = rb_iv_get(rb_mGC, GC_LOGFILE_IVAR); | |
+ | |
+ if (argc==0) | |
+ return current_logfile_name; | |
+ | |
+ rb_scan_args(argc, argv, "02", &filename, &mode_str); | |
+ | |
+ if (filename == Qnil) { | |
+ /* close current logfile and reset logfile to stderr */ | |
+ if (gc_data_file != stderr) { | |
+ fclose(gc_data_file); | |
+ gc_data_file = stderr; | |
+ rb_iv_set(rb_mGC, GC_LOGFILE_IVAR, Qnil); | |
+ } | |
+ return Qtrue; | |
+ } | |
+ | |
+ /* we have a real logfile name */ | |
+ filename = StringValue(filename); | |
+ | |
+ if (rb_equal(current_logfile_name, filename) == Qtrue) { | |
+ /* do nothing if we get the file name we're already logging to */ | |
+ return Qtrue; | |
+ } | |
+ | |
+ /* get mode for file opening */ | |
+ if (mode_str != Qnil) | |
+ { | |
+ mode = RSTRING(StringValue(mode_str))->ptr; | |
+ } | |
+ | |
+ /* try to open file in given mode */ | |
+ if (f = fopen(RSTRING(filename)->ptr, mode)) { | |
+ if (gc_data_file != stderr) { | |
+ fclose(gc_data_file); | |
+ } | |
+ gc_data_file = f; | |
+ rb_iv_set(rb_mGC, GC_LOGFILE_IVAR, filename); | |
+ } else { | |
+ return Qfalse; | |
+ } | |
+ return Qtrue; | |
+} | |
+ | |
+ | |
+/* | |
+ * Called from process.c before a fork. Flushes the gc log file to | |
+ * avoid writing the buffered output twice (once in the parent, and | |
+ * once in the child). | |
+ */ | |
+void | |
+rb_gc_before_fork() | |
+{ | |
+ /* flush gc log file */ | |
+ fflush(gc_data_file); | |
+} | |
+ | |
+/* | |
+ * Called from process.c after a fork in the child process. Turns off | |
+ * logging, disables GC stats and resets all gc counters and timing | |
+ * information. | |
+ */ | |
+void | |
+rb_gc_after_fork() | |
+{ | |
+ rb_gc_disable_stats(); | |
+ rb_gc_clear_stats(); | |
+ rb_gc_disable_trace(); | |
+ gc_data_file = stderr; | |
+ rb_iv_set(rb_mGC, GC_LOGFILE_IVAR, Qnil); | |
+} | |
+ | |
static struct gc_list { | |
VALUE *varptr; | |
struct gc_list *next; | |
@@ -281,23 +647,22 @@ | |
struct gc_list *tmp = global_List; | |
if (tmp->varptr == addr) { | |
- global_List = tmp->next; | |
- RUBY_CRITICAL(free(tmp)); | |
- return; | |
+ global_List = tmp->next; | |
+ RUBY_CRITICAL(free(tmp)); | |
+ return; | |
} | |
while (tmp->next) { | |
- if (tmp->next->varptr == addr) { | |
- struct gc_list *t = tmp->next; | |
+ if (tmp->next->varptr == addr) { | |
+ struct gc_list *t = tmp->next; | |
- tmp->next = tmp->next->next; | |
- RUBY_CRITICAL(free(t)); | |
- break; | |
- } | |
- tmp = tmp->next; | |
+ tmp->next = tmp->next->next; | |
+ RUBY_CRITICAL(free(t)); | |
+ break; | |
+ } | |
+ tmp = tmp->next; | |
} | |
} | |
-#undef GC_DEBUG | |
void | |
rb_global_variable(var) | |
@@ -312,26 +677,26 @@ | |
typedef struct RVALUE { | |
union { | |
- struct { | |
- unsigned long flags; /* always 0 for freed obj */ | |
- struct RVALUE *next; | |
- } free; | |
- struct RBasic basic; | |
- struct RObject object; | |
- struct RClass klass; | |
- struct RFloat flonum; | |
- struct RString string; | |
- struct RArray array; | |
- struct RRegexp regexp; | |
- struct RHash hash; | |
- struct RData data; | |
- struct RStruct rstruct; | |
- struct RBignum bignum; | |
- struct RFile file; | |
- struct RNode node; | |
- struct RMatch match; | |
- struct RVarmap varmap; | |
- struct SCOPE scope; | |
+ struct { | |
+ unsigned long flags; /* always 0 for freed obj */ | |
+ struct RVALUE *next; | |
+ } free; | |
+ struct RBasic basic; | |
+ struct RObject object; | |
+ struct RClass klass; | |
+ struct RFloat flonum; | |
+ struct RString string; | |
+ struct RArray array; | |
+ struct RRegexp regexp; | |
+ struct RHash hash; | |
+ struct RData data; | |
+ struct RStruct rstruct; | |
+ struct RBignum bignum; | |
+ struct RFile file; | |
+ struct RNode node; | |
+ struct RMatch match; | |
+ struct RVarmap varmap; | |
+ struct SCOPE scope; | |
} as; | |
#ifdef GC_DEBUG | |
char *file; | |
@@ -346,7 +711,7 @@ | |
static RVALUE *freelist = 0; | |
static RVALUE *deferred_final_list = 0; | |
-#define HEAPS_INCREMENT 10 | |
+static int heaps_increment = 10; | |
static struct heaps_slot { | |
void *membase; | |
RVALUE *slot; | |
@@ -355,45 +720,304 @@ | |
static int heaps_length = 0; | |
static int heaps_used = 0; | |
-#define HEAP_MIN_SLOTS 10000 | |
-static int heap_slots = HEAP_MIN_SLOTS; | |
+static int heap_min_slots = 10000; | |
+static int heap_slots = 10000; | |
+static int heap_size = 0; | |
+ | |
+static int heap_free_min = 4096; | |
+static int heap_slots_increment = 10000; | |
+static int initial_heap_slots_increment = 10000; | |
+static double heap_slots_growth_factor = 1.8; | |
-#define FREE_MIN 4096 | |
+static long initial_malloc_limit = GC_MALLOC_LIMIT; | |
static RVALUE *himem, *lomem; | |
+static void set_gc_parameters() | |
+{ | |
+ char *gc_stats_ptr, *min_slots_ptr, *free_min_ptr, *heap_slots_incr_ptr, | |
+ *heap_incr_ptr, *malloc_limit_ptr, *gc_heap_file_ptr, *heap_slots_growth_factor_ptr; | |
+ | |
+ gc_data_file = stderr; | |
+ | |
+ gc_stats_ptr = getenv("RUBY_GC_STATS"); | |
+ if (gc_stats_ptr != NULL) { | |
+ int gc_stats_i = atoi(gc_stats_ptr); | |
+ if (gc_stats_i > 0) { | |
+ verbose_gc_stats = Qtrue; | |
+ } | |
+ /* child processes should not inherit RUBY_GC_STATS */ | |
+ unsetenv("RUBY_GC_STATS"); | |
+ } | |
+ | |
+ gc_heap_file_ptr = getenv("RUBY_GC_DATA_FILE"); | |
+ if (gc_heap_file_ptr != NULL) { | |
+ FILE* data_file = fopen(gc_heap_file_ptr, "w"); | |
+ if (data_file != NULL) { | |
+ gc_data_file = data_file; | |
+ } | |
+ else { | |
+ fprintf(stderr, | |
+ "can't open gc log file %s for writing, using default\n", gc_heap_file_ptr); | |
+ } | |
+ /* child processes should not inherit RUBY_GC_DATA_FILE to avoid clobbering */ | |
+ unsetenv("RUBY_GC_DATA_FILE"); | |
+ } | |
+ | |
+ min_slots_ptr = getenv("RUBY_HEAP_MIN_SLOTS"); | |
+ if (min_slots_ptr != NULL) { | |
+ int min_slots_i = atoi(min_slots_ptr); | |
+ if (verbose_gc_stats) { | |
+ fprintf(gc_data_file, "RUBY_HEAP_MIN_SLOTS=%s\n", min_slots_ptr); | |
+ } | |
+ if (min_slots_i > 0) { | |
+ heap_slots = min_slots_i; | |
+ heap_min_slots = min_slots_i; | |
+ } | |
+ } | |
+ | |
+ free_min_ptr = getenv("RUBY_HEAP_FREE_MIN"); | |
+ if (free_min_ptr != NULL) { | |
+ int free_min_i = atoi(free_min_ptr); | |
+ if (verbose_gc_stats) { | |
+ fprintf(gc_data_file, "RUBY_HEAP_FREE_MIN=%s\n", free_min_ptr); | |
+ } | |
+ if (free_min_i > 0) { | |
+ heap_free_min = free_min_i; | |
+ } | |
+ } | |
+ | |
+ heap_incr_ptr = getenv("RUBY_HEAP_INCREMENT"); | |
+ if (heap_incr_ptr != NULL) { | |
+ int heap_incr_i = atoi(heap_incr_ptr); | |
+ if (verbose_gc_stats) { | |
+ fprintf(gc_data_file, "RUBY_HEAP_INCREMENT=%s\n", heap_incr_ptr); | |
+ } | |
+ if (heap_incr_i > 0) { | |
+ heaps_increment = heap_incr_i; | |
+ } | |
+ } | |
+ | |
+ heap_slots_incr_ptr = getenv("RUBY_HEAP_SLOTS_INCREMENT"); | |
+ if (heap_slots_incr_ptr != NULL) { | |
+ int heap_slots_incr_i = atoi(heap_slots_incr_ptr); | |
+ if (verbose_gc_stats) { | |
+ fprintf(gc_data_file, "RUBY_HEAP_SLOTS_INCREMENT=%s\n", heap_slots_incr_ptr); | |
+ } | |
+ heap_slots_increment = heap_slots_incr_i; | |
+ initial_heap_slots_increment = heap_slots_increment; | |
+ } | |
+ | |
+ heap_slots_growth_factor_ptr = getenv("RUBY_HEAP_SLOTS_GROWTH_FACTOR"); | |
+ if (heap_slots_growth_factor_ptr != NULL) { | |
+ double heap_slots_growth_factor_d = atof(heap_slots_growth_factor_ptr); | |
+ if (verbose_gc_stats) { | |
+ fprintf(gc_data_file, "RUBY_HEAP_SLOTS_GROWTH_FACTOR=%s\n", heap_slots_growth_factor_ptr); | |
+ } | |
+ if (heap_slots_growth_factor_d > 0) { | |
+ heap_slots_growth_factor = heap_slots_growth_factor_d; | |
+ } | |
+ } | |
+ | |
+ malloc_limit_ptr = getenv("RUBY_GC_MALLOC_LIMIT"); | |
+ if (malloc_limit_ptr != NULL) { | |
+ int malloc_limit_i = atol(malloc_limit_ptr); | |
+ if (verbose_gc_stats) { | |
+ fprintf(gc_data_file, "RUBY_GC_MALLOC_LIMIT=%s\n", malloc_limit_ptr); | |
+ } | |
+ if (malloc_limit_i > 0) { | |
+ initial_malloc_limit = malloc_limit_i; | |
+ } | |
+ } | |
+} | |
+ | |
+/* | |
+ * call-seq: | |
+ * GC.heap_slots => Integer | |
+ * | |
+ * Returns the number of heap slots available for object allocations. | |
+ * | |
+ * GC.heap_slots #=> 10000 | |
+ * | |
+ */ | |
+VALUE | |
+rb_gc_heap_slots() | |
+{ | |
+ return INT2NUM(heap_size); | |
+} | |
+ | |
+/* | |
+ * call-seq: | |
+ * GC.dump => nil | |
+ * | |
+ * dumps information about the current GC data structures to the GC log file | |
+ * | |
+ * GC.dump #=> nil | |
+ * | |
+ */ | |
+ | |
+VALUE | |
+rb_gc_dump() | |
+{ | |
+ int i; | |
+ | |
+ for (i = 0; i < heaps_used; i++) { | |
+ int heap_size = heaps[i].limit; | |
+ fprintf(gc_data_file, "HEAP[%2d]: size=%7d\n", i, heap_size); | |
+ } | |
+ | |
+ return Qnil; | |
+} | |
+ | |
+ | |
+static char* obj_type(int tp); | |
+ | |
+#ifdef GC_DEBUG | |
+/* | |
+ * call-seq: | |
+ * GC.dump_file_and_line_info(String, boolean) => nil | |
+ * | |
+ * dumps information on which currently allocated object was created by which file and on which line | |
+ * | |
+ * GC.dump_file_and_line_info(String, boolean) #=> nil | |
+ * | |
+ * The second parameter specifies whether class names should be included in the dump. | |
+ * Note that including class names will allocate additional string objects on the heap. | |
+ * | |
+ */ | |
+ | |
+VALUE | |
+rb_gc_dump_file_and_line_info(int argc, VALUE *argv) | |
+{ | |
+ VALUE filename, str, include_classnames = Qnil; | |
+ char *fname = NULL; | |
+ char *klass = NULL; | |
+ FILE* f = NULL; | |
+ int i,n = 0; | |
+ | |
+ rb_scan_args(argc, argv, "11", &filename, &include_classnames); | |
+ | |
+ str = StringValue(filename); | |
+ fname = RSTRING(str)->ptr; | |
+ f = fopen(fname, "w"); | |
+ | |
+ for (i = 0; i < heaps_used; i++) { | |
+ RVALUE *p, *pend; | |
+ | |
+ p = heaps[i].slot; pend = p + heaps[i].limit; | |
+ for (;p < pend; p++) { | |
+ if (p->as.basic.flags) { | |
+ fprintf(f, "%s:%s:%d", obj_type(p->as.basic.flags & T_MASK), p->file, p->line); | |
+ // rb_obj_classname will create objects on the heap, we need a better solution | |
+ if (include_classnames == Qtrue) { | |
+ /* write the class */ | |
+ fprintf(f, ":"); | |
+ switch (TYPE(p)) { | |
+ case T_NONE: | |
+ fprintf(f, "__none__"); | |
+ break; | |
+ case T_BLKTAG: | |
+ fprintf(f, "__blktag__"); | |
+ break; | |
+ case T_UNDEF: | |
+ fprintf(f, "__undef__"); | |
+ break; | |
+ case T_VARMAP: | |
+ fprintf(f, "__varmap__"); | |
+ break; | |
+ case T_SCOPE: | |
+ fprintf(f, "__scope__"); | |
+ break; | |
+ case T_NODE: | |
+ fprintf(f, "__node__"); | |
+ break; | |
+ default: | |
+ if (!p->as.basic.klass) { | |
+ fprintf(f, "__unknown__"); | |
+ } else { | |
+ fprintf(f, "%s", rb_obj_classname((VALUE)p)); | |
+ } | |
+ } | |
+ /* print object size for some known object types */ | |
+ switch (TYPE(p)) { | |
+ case T_STRING: | |
+ fprintf(f, ":%lu", RSTRING(p)->len); | |
+ break; | |
+ case T_ARRAY: | |
+ fprintf(f, ":%lu", RARRAY(p)->len); | |
+ break; | |
+ case T_HASH: | |
+ fprintf(f, ":%d", RHASH(p)->tbl->num_entries); | |
+ break; | |
+ } | |
+ } | |
+ fprintf(f, "\n"); | |
+ } | |
+ } | |
+ } | |
+ fclose(f); | |
+ return Qnil; | |
+} | |
+#endif | |
+ | |
+/* | |
+ * call-seq: | |
+ * GC.log String => String | |
+ * | |
+ * Logs string to the GC data file and returns it. | |
+ * | |
+ * GC.log "manual GC call" #=> "manual GC call" | |
+ * | |
+ */ | |
+ | |
+VALUE | |
+rb_gc_log(self, original_str) | |
+ VALUE self, original_str; | |
+{ | |
+ if (original_str == Qnil) { | |
+ fprintf(gc_data_file, "\n"); | |
+ } | |
+ else { | |
+ VALUE str = StringValue(original_str); | |
+ char *p = RSTRING(str)->ptr; | |
+ fprintf(gc_data_file, "%s\n", p); | |
+ } | |
+ return original_str; | |
+} | |
+ | |
+ | |
static void | |
add_heap() | |
{ | |
RVALUE *p, *pend; | |
if (heaps_used == heaps_length) { | |
- /* Realloc heaps */ | |
- struct heaps_slot *p; | |
- int length; | |
- | |
- heaps_length += HEAPS_INCREMENT; | |
- length = heaps_length*sizeof(struct heaps_slot); | |
- RUBY_CRITICAL( | |
- if (heaps_used > 0) { | |
- p = (struct heaps_slot *)realloc(heaps, length); | |
- if (p) heaps = p; | |
- } | |
- else { | |
- p = heaps = (struct heaps_slot *)malloc(length); | |
- }); | |
- if (p == 0) rb_memerror(); | |
+ /* Realloc heaps */ | |
+ struct heaps_slot *p; | |
+ int length; | |
+ | |
+ heaps_length += heaps_increment; | |
+ length = heaps_length*sizeof(struct heaps_slot); | |
+ RUBY_CRITICAL( | |
+ if (heaps_used > 0) { | |
+ p = (struct heaps_slot *)realloc(heaps, length); | |
+ if (p) heaps = p; | |
+ } | |
+ else { | |
+ p = heaps = (struct heaps_slot *)malloc(length); | |
+ }); | |
+ if (p == 0) rb_memerror(); | |
} | |
for (;;) { | |
- RUBY_CRITICAL(p = (RVALUE*)malloc(sizeof(RVALUE)*(heap_slots+1))); | |
- if (p == 0) { | |
- if (heap_slots == HEAP_MIN_SLOTS) { | |
- rb_memerror(); | |
- } | |
- heap_slots = HEAP_MIN_SLOTS; | |
- continue; | |
- } | |
+ RUBY_CRITICAL(p = (RVALUE*)malloc(sizeof(RVALUE)*(heap_slots+1))); | |
+ if (p == 0) { | |
+ if (heap_slots == heap_min_slots) { | |
+ rb_memerror(); | |
+ } | |
+ heap_slots = heap_min_slots; | |
+ continue; | |
+ } | |
heaps[heaps_used].membase = p; | |
if ((VALUE)p % sizeof(RVALUE) == 0) | |
heap_slots += 1; | |
@@ -401,25 +1025,32 @@ | |
p = (RVALUE*)((VALUE)p + sizeof(RVALUE) - ((VALUE)p % sizeof(RVALUE))); | |
heaps[heaps_used].slot = p; | |
heaps[heaps_used].limit = heap_slots; | |
- break; | |
+ break; | |
} | |
+ heap_size += heap_slots; | |
pend = p + heap_slots; | |
if (lomem == 0 || lomem > p) lomem = p; | |
if (himem < pend) himem = pend; | |
heaps_used++; | |
- heap_slots *= 1.8; | |
- if (heap_slots <= 0) heap_slots = HEAP_MIN_SLOTS; | |
+ if (heaps_used == 1) | |
+ heap_slots = initial_heap_slots_increment; | |
+ else { | |
+ heap_slots_increment *= heap_slots_growth_factor; | |
+ heap_slots += heap_slots_increment; | |
+ } | |
+ | |
+ if (heap_slots <= 0) heap_slots = heap_min_slots; | |
while (p < pend) { | |
- p->as.free.flags = 0; | |
- p->as.free.next = freelist; | |
- freelist = p; | |
- p++; | |
+ p->as.free.flags = 0; | |
+ p->as.free.next = freelist; | |
+ freelist = p; | |
+ p++; | |
} | |
} | |
#define RANY(o) ((RVALUE*)(o)) | |
-int | |
+int | |
rb_during_gc() | |
{ | |
return during_gc; | |
@@ -431,7 +1062,7 @@ | |
VALUE obj; | |
if (during_gc) | |
- rb_bug("object allocation during garbage collection phase"); | |
+ rb_bug("object allocation during garbage collection phase"); | |
if (ruby_gc_stress || !freelist) garbage_collect(); | |
@@ -442,6 +1073,8 @@ | |
RANY(obj)->file = ruby_sourcefile; | |
RANY(obj)->line = ruby_sourceline; | |
#endif | |
+ live_objects++; | |
+ allocated_objects++; | |
return obj; | |
} | |
@@ -580,13 +1213,13 @@ | |
st_data_t name; | |
if (!st_lookup(source_filenames, (st_data_t)f, &name)) { | |
- long len = strlen(f) + 1; | |
- char *ptr = ALLOC_N(char, len + 1); | |
- name = (st_data_t)ptr; | |
- *ptr++ = 0; | |
- MEMCPY(ptr, f, char, len); | |
- st_add_direct(source_filenames, (st_data_t)ptr, name); | |
- return ptr; | |
+ long len = strlen(f) + 1; | |
+ char *ptr = ALLOC_N(char, len + 1); | |
+ name = (st_data_t)ptr; | |
+ *ptr++ = 0; | |
+ MEMCPY(ptr, f, char, len); | |
+ st_add_direct(source_filenames, (st_data_t)ptr, name); | |
+ return ptr; | |
} | |
return (char *)name + 1; | |
} | |
@@ -596,7 +1229,7 @@ | |
char *f; | |
{ | |
if (f) { | |
- f[-1] = 1; | |
+ f[-1] = 1; | |
} | |
} | |
@@ -605,12 +1238,12 @@ | |
char *key, *value; | |
{ | |
if (*value) { | |
- *value = 0; | |
- return ST_CONTINUE; | |
+ *value = 0; | |
+ return ST_CONTINUE; | |
} | |
else { | |
- free(value); | |
- return ST_DELETE; | |
+ free(value); | |
+ return ST_DELETE; | |
} | |
} | |
@@ -625,14 +1258,14 @@ | |
init_mark_stack(); | |
for (i = 0; i < heaps_used; i++) { | |
- p = heaps[i].slot; pend = p + heaps[i].limit; | |
- while (p < pend) { | |
- if ((p->as.basic.flags & FL_MARK) && | |
- (p->as.basic.flags != FL_MARK)) { | |
- gc_mark_children((VALUE)p, 0); | |
- } | |
- p++; | |
- } | |
+ p = heaps[i].slot; pend = p + heaps[i].limit; | |
+ while (p < pend) { | |
+ if ((p->as.basic.flags & FL_MARK) && | |
+ (p->as.basic.flags != FL_MARK)) { | |
+ gc_mark_children((VALUE)p, 0); | |
+ } | |
+ p++; | |
+ } | |
} | |
} | |
@@ -647,8 +1280,8 @@ | |
init_mark_stack(); | |
while(p != tmp_arry){ | |
- p--; | |
- gc_mark_children(*p, 0); | |
+ p--; | |
+ gc_mark_children(*p, 0); | |
} | |
} | |
@@ -665,9 +1298,9 @@ | |
/* check if p looks like a pointer */ | |
for (i=0; i < heaps_used; i++) { | |
- heap_org = heaps[i].slot; | |
- if (heap_org <= p && p < heap_org + heaps[i].limit) | |
- return Qtrue; | |
+ heap_org = heaps[i].slot; | |
+ if (heap_org <= p && p < heap_org + heaps[i].limit) | |
+ return Qtrue; | |
} | |
return Qfalse; | |
} | |
@@ -680,10 +1313,10 @@ | |
VALUE v; | |
while (n--) { | |
v = *x; | |
- if (is_pointer_to_heap((void *)v)) { | |
- gc_mark(v, 0); | |
- } | |
- x++; | |
+ if (is_pointer_to_heap((void *)v)) { | |
+ gc_mark(v, 0); | |
+ } | |
+ x++; | |
} | |
} | |
@@ -780,7 +1413,7 @@ | |
VALUE obj; | |
{ | |
if (is_pointer_to_heap((void *)obj)) { | |
- gc_mark(obj, 0); | |
+ gc_mark(obj, 0); | |
} | |
} | |
@@ -799,6 +1432,11 @@ | |
if (obj->as.basic.flags & FL_MARK) return; /* already marked */ | |
obj->as.basic.flags |= FL_MARK; | |
+#ifdef GC_DEBUG | |
+ /* mark our new reference point for sourcefile objects */ | |
+ mark_source_filename(RANY(obj)->file); | |
+#endif | |
+ | |
if (lev > GC_LEVEL_MAX || (lev == 0 && ruby_stack_check())) { | |
if (!mark_stack_overflow) { | |
if (mark_stack_ptr - mark_stack < MARK_STACK_MAX) { | |
@@ -828,7 +1466,7 @@ | |
{ | |
register RVALUE *obj = RANY(ptr); | |
- goto marking; /* skip */ | |
+ goto marking; /* skip */ | |
again: | |
obj = RANY(ptr); | |
@@ -837,150 +1475,155 @@ | |
if (obj->as.basic.flags & FL_MARK) return; /* already marked */ | |
obj->as.basic.flags |= FL_MARK; | |
+#ifdef GC_DEBUG | |
+ /* mark our new reference point for sourcefile objects */ | |
+ mark_source_filename(RANY(obj)->file); | |
+#endif | |
+ | |
marking: | |
if (FL_TEST(obj, FL_EXIVAR)) { | |
- rb_mark_generic_ivar(ptr); | |
+ rb_mark_generic_ivar(ptr); | |
} | |
switch (obj->as.basic.flags & T_MASK) { | |
case T_NIL: | |
case T_FIXNUM: | |
- rb_bug("rb_gc_mark() called for broken object"); | |
- break; | |
+ rb_bug("rb_gc_mark() called for broken object"); | |
+ break; | |
case T_NODE: | |
- mark_source_filename(obj->as.node.nd_file); | |
- switch (nd_type(obj)) { | |
- case NODE_IF: /* 1,2,3 */ | |
- case NODE_FOR: | |
- case NODE_ITER: | |
- case NODE_CREF: | |
- case NODE_WHEN: | |
- case NODE_MASGN: | |
- case NODE_RESCUE: | |
- case NODE_RESBODY: | |
- case NODE_CLASS: | |
- gc_mark((VALUE)obj->as.node.u2.node, lev); | |
- /* fall through */ | |
- case NODE_BLOCK: /* 1,3 */ | |
- case NODE_ARRAY: | |
- case NODE_DSTR: | |
- case NODE_DXSTR: | |
- case NODE_DREGX: | |
- case NODE_DREGX_ONCE: | |
- case NODE_FBODY: | |
- case NODE_ENSURE: | |
- case NODE_CALL: | |
- case NODE_DEFS: | |
- case NODE_OP_ASGN1: | |
- gc_mark((VALUE)obj->as.node.u1.node, lev); | |
- /* fall through */ | |
- case NODE_SUPER: /* 3 */ | |
- case NODE_FCALL: | |
- case NODE_DEFN: | |
- case NODE_NEWLINE: | |
- ptr = (VALUE)obj->as.node.u3.node; | |
- goto again; | |
- | |
- case NODE_WHILE: /* 1,2 */ | |
- case NODE_UNTIL: | |
- case NODE_AND: | |
- case NODE_OR: | |
- case NODE_CASE: | |
- case NODE_SCLASS: | |
- case NODE_DOT2: | |
- case NODE_DOT3: | |
- case NODE_FLIP2: | |
- case NODE_FLIP3: | |
- case NODE_MATCH2: | |
- case NODE_MATCH3: | |
- case NODE_OP_ASGN_OR: | |
- case NODE_OP_ASGN_AND: | |
- case NODE_MODULE: | |
- case NODE_ALIAS: | |
- case NODE_VALIAS: | |
- case NODE_ARGS: | |
- gc_mark((VALUE)obj->as.node.u1.node, lev); | |
- /* fall through */ | |
- case NODE_METHOD: /* 2 */ | |
- case NODE_NOT: | |
- case NODE_GASGN: | |
- case NODE_LASGN: | |
- case NODE_DASGN: | |
- case NODE_DASGN_CURR: | |
- case NODE_IASGN: | |
- case NODE_CVDECL: | |
- case NODE_CVASGN: | |
- case NODE_COLON3: | |
- case NODE_OPT_N: | |
- case NODE_EVSTR: | |
- case NODE_UNDEF: | |
- ptr = (VALUE)obj->as.node.u2.node; | |
- goto again; | |
- | |
- case NODE_HASH: /* 1 */ | |
- case NODE_LIT: | |
- case NODE_STR: | |
- case NODE_XSTR: | |
- case NODE_DEFINED: | |
- case NODE_MATCH: | |
- case NODE_RETURN: | |
- case NODE_BREAK: | |
- case NODE_NEXT: | |
- case NODE_YIELD: | |
- case NODE_COLON2: | |
- case NODE_SPLAT: | |
- case NODE_TO_ARY: | |
- case NODE_SVALUE: | |
- ptr = (VALUE)obj->as.node.u1.node; | |
- goto again; | |
- | |
- case NODE_SCOPE: /* 2,3 */ | |
- case NODE_BLOCK_PASS: | |
- case NODE_CDECL: | |
- gc_mark((VALUE)obj->as.node.u3.node, lev); | |
- ptr = (VALUE)obj->as.node.u2.node; | |
- goto again; | |
- | |
- case NODE_ZARRAY: /* - */ | |
- case NODE_ZSUPER: | |
- case NODE_CFUNC: | |
- case NODE_VCALL: | |
- case NODE_GVAR: | |
- case NODE_LVAR: | |
- case NODE_DVAR: | |
- case NODE_IVAR: | |
- case NODE_CVAR: | |
- case NODE_NTH_REF: | |
- case NODE_BACK_REF: | |
- case NODE_REDO: | |
- case NODE_RETRY: | |
- case NODE_SELF: | |
- case NODE_NIL: | |
- case NODE_TRUE: | |
- case NODE_FALSE: | |
- case NODE_ATTRSET: | |
- case NODE_BLOCK_ARG: | |
- case NODE_POSTEXE: | |
- break; | |
- case NODE_ALLOCA: | |
- mark_locations_array((VALUE*)obj->as.node.u1.value, | |
- obj->as.node.u3.cnt); | |
- ptr = (VALUE)obj->as.node.u2.node; | |
- goto again; | |
- | |
- default: /* unlisted NODE */ | |
- if (is_pointer_to_heap(obj->as.node.u1.node)) { | |
- gc_mark((VALUE)obj->as.node.u1.node, lev); | |
- } | |
- if (is_pointer_to_heap(obj->as.node.u2.node)) { | |
- gc_mark((VALUE)obj->as.node.u2.node, lev); | |
- } | |
- if (is_pointer_to_heap(obj->as.node.u3.node)) { | |
- gc_mark((VALUE)obj->as.node.u3.node, lev); | |
- } | |
- } | |
- return; /* no need to mark class. */ | |
+ mark_source_filename(obj->as.node.nd_file); | |
+ switch (nd_type(obj)) { | |
+ case NODE_IF: /* 1,2,3 */ | |
+ case NODE_FOR: | |
+ case NODE_ITER: | |
+ case NODE_CREF: | |
+ case NODE_WHEN: | |
+ case NODE_MASGN: | |
+ case NODE_RESCUE: | |
+ case NODE_RESBODY: | |
+ case NODE_CLASS: | |
+ gc_mark((VALUE)obj->as.node.u2.node, lev); | |
+ /* fall through */ | |
+ case NODE_BLOCK: /* 1,3 */ | |
+ case NODE_ARRAY: | |
+ case NODE_DSTR: | |
+ case NODE_DXSTR: | |
+ case NODE_DREGX: | |
+ case NODE_DREGX_ONCE: | |
+ case NODE_FBODY: | |
+ case NODE_ENSURE: | |
+ case NODE_CALL: | |
+ case NODE_DEFS: | |
+ case NODE_OP_ASGN1: | |
+ gc_mark((VALUE)obj->as.node.u1.node, lev); | |
+ /* fall through */ | |
+ case NODE_SUPER: /* 3 */ | |
+ case NODE_FCALL: | |
+ case NODE_DEFN: | |
+ case NODE_NEWLINE: | |
+ ptr = (VALUE)obj->as.node.u3.node; | |
+ goto again; | |
+ | |
+ case NODE_WHILE: /* 1,2 */ | |
+ case NODE_UNTIL: | |
+ case NODE_AND: | |
+ case NODE_OR: | |
+ case NODE_CASE: | |
+ case NODE_SCLASS: | |
+ case NODE_DOT2: | |
+ case NODE_DOT3: | |
+ case NODE_FLIP2: | |
+ case NODE_FLIP3: | |
+ case NODE_MATCH2: | |
+ case NODE_MATCH3: | |
+ case NODE_OP_ASGN_OR: | |
+ case NODE_OP_ASGN_AND: | |
+ case NODE_MODULE: | |
+ case NODE_ALIAS: | |
+ case NODE_VALIAS: | |
+ case NODE_ARGS: | |
+ gc_mark((VALUE)obj->as.node.u1.node, lev); | |
+ /* fall through */ | |
+ case NODE_METHOD: /* 2 */ | |
+ case NODE_NOT: | |
+ case NODE_GASGN: | |
+ case NODE_LASGN: | |
+ case NODE_DASGN: | |
+ case NODE_DASGN_CURR: | |
+ case NODE_IASGN: | |
+ case NODE_CVDECL: | |
+ case NODE_CVASGN: | |
+ case NODE_COLON3: | |
+ case NODE_OPT_N: | |
+ case NODE_EVSTR: | |
+ case NODE_UNDEF: | |
+ ptr = (VALUE)obj->as.node.u2.node; | |
+ goto again; | |
+ | |
+ case NODE_HASH: /* 1 */ | |
+ case NODE_LIT: | |
+ case NODE_STR: | |
+ case NODE_XSTR: | |
+ case NODE_DEFINED: | |
+ case NODE_MATCH: | |
+ case NODE_RETURN: | |
+ case NODE_BREAK: | |
+ case NODE_NEXT: | |
+ case NODE_YIELD: | |
+ case NODE_COLON2: | |
+ case NODE_SPLAT: | |
+ case NODE_TO_ARY: | |
+ case NODE_SVALUE: | |
+ ptr = (VALUE)obj->as.node.u1.node; | |
+ goto again; | |
+ | |
+ case NODE_SCOPE: /* 2,3 */ | |
+ case NODE_BLOCK_PASS: | |
+ case NODE_CDECL: | |
+ gc_mark((VALUE)obj->as.node.u3.node, lev); | |
+ ptr = (VALUE)obj->as.node.u2.node; | |
+ goto again; | |
+ | |
+ case NODE_ZARRAY: /* - */ | |
+ case NODE_ZSUPER: | |
+ case NODE_CFUNC: | |
+ case NODE_VCALL: | |
+ case NODE_GVAR: | |
+ case NODE_LVAR: | |
+ case NODE_DVAR: | |
+ case NODE_IVAR: | |
+ case NODE_CVAR: | |
+ case NODE_NTH_REF: | |
+ case NODE_BACK_REF: | |
+ case NODE_REDO: | |
+ case NODE_RETRY: | |
+ case NODE_SELF: | |
+ case NODE_NIL: | |
+ case NODE_TRUE: | |
+ case NODE_FALSE: | |
+ case NODE_ATTRSET: | |
+ case NODE_BLOCK_ARG: | |
+ case NODE_POSTEXE: | |
+ break; | |
+ case NODE_ALLOCA: | |
+ mark_locations_array((VALUE*)obj->as.node.u1.value, | |
+ obj->as.node.u3.cnt); | |
+ ptr = (VALUE)obj->as.node.u2.node; | |
+ goto again; | |
+ | |
+ default: /* unlisted NODE */ | |
+ if (is_pointer_to_heap(obj->as.node.u1.node)) { | |
+ gc_mark((VALUE)obj->as.node.u1.node, lev); | |
+ } | |
+ if (is_pointer_to_heap(obj->as.node.u2.node)) { | |
+ gc_mark((VALUE)obj->as.node.u2.node, lev); | |
+ } | |
+ if (is_pointer_to_heap(obj->as.node.u3.node)) { | |
+ gc_mark((VALUE)obj->as.node.u3.node, lev); | |
+ } | |
+ } | |
+ return; /* no need to mark class. */ | |
} | |
gc_mark(obj->as.basic.klass, lev); | |
@@ -988,92 +1631,92 @@ | |
case T_ICLASS: | |
case T_CLASS: | |
case T_MODULE: | |
- mark_tbl(obj->as.klass.m_tbl, lev); | |
- mark_tbl(obj->as.klass.iv_tbl, lev); | |
- ptr = obj->as.klass.super; | |
- goto again; | |
+ mark_tbl(obj->as.klass.m_tbl, lev); | |
+ mark_tbl(obj->as.klass.iv_tbl, lev); | |
+ ptr = obj->as.klass.super; | |
+ goto again; | |
case T_ARRAY: | |
- if (FL_TEST(obj, ELTS_SHARED)) { | |
- ptr = obj->as.array.aux.shared; | |
- goto again; | |
- } | |
- else { | |
- long i, len = obj->as.array.len; | |
- VALUE *ptr = obj->as.array.ptr; | |
- | |
- for (i=0; i < len; i++) { | |
- gc_mark(*ptr++, lev); | |
- } | |
- } | |
- break; | |
+ if (FL_TEST(obj, ELTS_SHARED)) { | |
+ ptr = obj->as.array.aux.shared; | |
+ goto again; | |
+ } | |
+ else { | |
+ long i, len = obj->as.array.len; | |
+ VALUE *ptr = obj->as.array.ptr; | |
+ | |
+ for (i=0; i < len; i++) { | |
+ gc_mark(*ptr++, lev); | |
+ } | |
+ } | |
+ break; | |
case T_HASH: | |
- mark_hash(obj->as.hash.tbl, lev); | |
- ptr = obj->as.hash.ifnone; | |
- goto again; | |
+ mark_hash(obj->as.hash.tbl, lev); | |
+ ptr = obj->as.hash.ifnone; | |
+ goto again; | |
case T_STRING: | |
#define STR_ASSOC FL_USER3 /* copied from string.c */ | |
- if (FL_TEST(obj, ELTS_SHARED|STR_ASSOC)) { | |
- ptr = obj->as.string.aux.shared; | |
- goto again; | |
- } | |
- break; | |
+ if (FL_TEST(obj, ELTS_SHARED|STR_ASSOC)) { | |
+ ptr = obj->as.string.aux.shared; | |
+ goto again; | |
+ } | |
+ break; | |
case T_DATA: | |
- if (obj->as.data.dmark) (*obj->as.data.dmark)(DATA_PTR(obj)); | |
- break; | |
+ if (obj->as.data.dmark) (*obj->as.data.dmark)(DATA_PTR(obj)); | |
+ break; | |
case T_OBJECT: | |
- mark_tbl(obj->as.object.iv_tbl, lev); | |
- break; | |
+ mark_tbl(obj->as.object.iv_tbl, lev); | |
+ break; | |
case T_FILE: | |
case T_REGEXP: | |
case T_FLOAT: | |
case T_BIGNUM: | |
case T_BLKTAG: | |
- break; | |
+ break; | |
case T_MATCH: | |
- if (obj->as.match.str) { | |
- ptr = obj->as.match.str; | |
- goto again; | |
- } | |
- break; | |
+ if (obj->as.match.str) { | |
+ ptr = obj->as.match.str; | |
+ goto again; | |
+ } | |
+ break; | |
case T_VARMAP: | |
- gc_mark(obj->as.varmap.val, lev); | |
- ptr = (VALUE)obj->as.varmap.next; | |
- goto again; | |
+ gc_mark(obj->as.varmap.val, lev); | |
+ ptr = (VALUE)obj->as.varmap.next; | |
+ goto again; | |
case T_SCOPE: | |
- if (obj->as.scope.local_vars && (obj->as.scope.flags & SCOPE_MALLOC)) { | |
- int n = obj->as.scope.local_tbl[0]+1; | |
- VALUE *vars = &obj->as.scope.local_vars[-1]; | |
- | |
- while (n--) { | |
- gc_mark(*vars++, lev); | |
- } | |
- } | |
- break; | |
+ if (obj->as.scope.local_vars && (obj->as.scope.flags & SCOPE_MALLOC)) { | |
+ int n = obj->as.scope.local_tbl[0]+1; | |
+ VALUE *vars = &obj->as.scope.local_vars[-1]; | |
+ | |
+ while (n--) { | |
+ gc_mark(*vars++, lev); | |
+ } | |
+ } | |
+ break; | |
case T_STRUCT: | |
- { | |
- long len = obj->as.rstruct.len; | |
- VALUE *ptr = obj->as.rstruct.ptr; | |
- | |
- while (len--) { | |
- gc_mark(*ptr++, lev); | |
- } | |
- } | |
- break; | |
+ { | |
+ long len = obj->as.rstruct.len; | |
+ VALUE *ptr = obj->as.rstruct.ptr; | |
+ | |
+ while (len--) { | |
+ gc_mark(*ptr++, lev); | |
+ } | |
+ } | |
+ break; | |
default: | |
- rb_bug("rb_gc_mark(): unknown data type 0x%lx(0x%lx) %s", | |
- obj->as.basic.flags & T_MASK, obj, | |
- is_pointer_to_heap(obj) ? "corrupted object" : "non object"); | |
+ rb_bug("rb_gc_mark(): unknown data type 0x%lx(0x%lx) %s", | |
+ obj->as.basic.flags & T_MASK, obj, | |
+ is_pointer_to_heap(obj) ? "corrupted object" : "non object"); | |
} | |
} | |
@@ -1102,22 +1745,55 @@ | |
} | |
} | |
+static char* obj_type(int tp) | |
+{ | |
+ switch (tp) { | |
+ case T_NIL : return "NIL"; | |
+ case T_OBJECT : return "OBJECT"; | |
+ case T_CLASS : return "CLASS"; | |
+ case T_ICLASS : return "ICLASS"; | |
+ case T_MODULE : return "MODULE"; | |
+ case T_FLOAT : return "FLOAT"; | |
+ case T_STRING : return "STRING"; | |
+ case T_REGEXP : return "REGEXP"; | |
+ case T_ARRAY : return "ARRAY"; | |
+ case T_FIXNUM : return "FIXNUM"; | |
+ case T_HASH : return "HASH"; | |
+ case T_STRUCT : return "STRUCT"; | |
+ case T_BIGNUM : return "BIGNUM"; | |
+ case T_FILE : return "FILE"; | |
+ | |
+ case T_TRUE : return "TRUE"; | |
+ case T_FALSE : return "FALSE"; | |
+ case T_DATA : return "DATA"; | |
+ case T_MATCH : return "MATCH"; | |
+ case T_SYMBOL : return "SYMBOL"; | |
+ | |
+ case T_BLKTAG : return "BLKTAG"; | |
+ case T_UNDEF : return "UNDEF"; | |
+ case T_VARMAP : return "VARMAP"; | |
+ case T_SCOPE : return "SCOPE"; | |
+ case T_NODE : return "NODE"; | |
+ default: return "____"; | |
+ } | |
+} | |
+ | |
static void | |
free_unused_heaps() | |
{ | |
int i, j; | |
for (i = j = 1; j < heaps_used; i++) { | |
- if (heaps[i].limit == 0) { | |
- free(heaps[i].membase); | |
- heaps_used--; | |
- } | |
- else { | |
- if (i != j) { | |
- heaps[j] = heaps[i]; | |
- } | |
- j++; | |
- } | |
+ if (heaps[i].limit == 0) { | |
+ free(heaps[i].membase); | |
+ heaps_used--; | |
+ } | |
+ else { | |
+ if (i != j) { | |
+ heaps[j] = heaps[i]; | |
+ } | |
+ j++; | |
+ } | |
} | |
} | |
@@ -1134,24 +1810,33 @@ | |
unsigned long live = 0; | |
unsigned long free_min = 0; | |
+ unsigned long really_freed = 0; | |
+ int free_counts[256]; | |
+ int live_counts[256]; | |
+ int do_gc_stats = gc_statistics & verbose_gc_stats; | |
+ | |
for (i = 0; i < heaps_used; i++) { | |
free_min += heaps[i].limit; | |
} | |
free_min = free_min * 0.2; | |
- if (free_min < FREE_MIN) | |
- free_min = FREE_MIN; | |
+ if (free_min < heap_free_min) | |
+ free_min = heap_free_min; | |
+ | |
+ if (do_gc_stats) { | |
+ for (i = 0 ; i< 256; i++) { free_counts[i] = live_counts[i] = 0; } | |
+ } | |
if (ruby_in_compile && ruby_parser_stack_on_heap()) { | |
- /* should not reclaim nodes during compilation | |
+ /* should not reclaim nodes during compilation | |
if yacc's semantic stack is not allocated on machine stack */ | |
- for (i = 0; i < heaps_used; i++) { | |
- p = heaps[i].slot; pend = p + heaps[i].limit; | |
- while (p < pend) { | |
- if (!(p->as.basic.flags&FL_MARK) && BUILTIN_TYPE(p) == T_NODE) | |
- gc_mark((VALUE)p, 0); | |
- p++; | |
- } | |
- } | |
+ for (i = 0; i < heaps_used; i++) { | |
+ p = heaps[i].slot; pend = p + heaps[i].limit; | |
+ while (p < pend) { | |
+ if (!(p->as.basic.flags&FL_MARK) && BUILTIN_TYPE(p) == T_NODE) | |
+ gc_mark((VALUE)p, 0); | |
+ p++; | |
+ } | |
+ } | |
} | |
mark_source_filename(ruby_sourcefile); | |
@@ -1172,7 +1857,7 @@ | |
while (p < pend) { | |
if (!(p->as.basic.flags & FL_MARK)) { | |
if (p->as.basic.flags && | |
- ((deferred = obj_free((VALUE)p)) || | |
+ (((do_gc_stats && really_freed++), deferred = obj_free((VALUE)p)) || | |
((FL_TEST(p, FL_FINALIZE)) && need_call_final))) { | |
if (!deferred) { | |
p->as.free.flags = T_DEFERRED; | |
@@ -1183,6 +1868,12 @@ | |
final_list = p; | |
} | |
else { | |
+ if (do_gc_stats) { | |
+ int obt = p->as.basic.flags & T_MASK; | |
+ if (obt) { | |
+ free_counts[obt]++; | |
+ } | |
+ } | |
add_freelist(p); | |
} | |
n++; | |
@@ -1194,12 +1885,16 @@ | |
else { | |
RBASIC(p)->flags &= ~FL_MARK; | |
live++; | |
+ if (do_gc_stats) { | |
+ live_counts[RANY((VALUE)p)->as.basic.flags & T_MASK]++; | |
+ } | |
} | |
p++; | |
} | |
if (n == heaps[i].limit && freed > free_min) { | |
RVALUE *pp; | |
+ heap_size -= n; | |
heaps[i].limit = 0; | |
for (pp = final_list; pp != final; pp = pp->as.free.next) { | |
pp->as.free.flags |= FL_SINGLETON; /* freeing page mark */ | |
@@ -1211,14 +1906,31 @@ | |
} | |
} | |
if (malloc_increase > malloc_limit) { | |
- malloc_limit += (malloc_increase - malloc_limit) * (double)live / (live + freed); | |
- if (malloc_limit < GC_MALLOC_LIMIT) malloc_limit = GC_MALLOC_LIMIT; | |
+ malloc_limit += (malloc_increase - malloc_limit) * (double)live / (live + freed); | |
+ if (malloc_limit < initial_malloc_limit) malloc_limit = initial_malloc_limit; | |
} | |
malloc_increase = 0; | |
if (freed < free_min) { | |
- add_heap(); | |
+ add_heap(); | |
} | |
during_gc = 0; | |
+ live_objects = live; | |
+ | |
+ if (do_gc_stats) { | |
+ fprintf(gc_data_file, "objects processed: %.7lu\n", live+freed); | |
+ fprintf(gc_data_file, "live objects : %.7lu\n", live); | |
+ fprintf(gc_data_file, "freelist objects : %.7lu\n", freed - really_freed); | |
+ fprintf(gc_data_file, "freed objects : %.7lu\n", really_freed); | |
+ for(i=0; i<256; i++) { | |
+ if (free_counts[i]>0 || live_counts[i]>0) { | |
+ fprintf(gc_data_file, | |
+ "kept %.7d / freed %.7d objects of type %s\n", | |
+ live_counts[i], free_counts[i], obj_type(i)); | |
+ } | |
+ } | |
+ rb_gc_dump(); | |
+ fflush(gc_data_file); | |
+ } | |
/* clear finalization list */ | |
if (final_list) { | |
@@ -1252,51 +1964,51 @@ | |
case T_FIXNUM: | |
case T_TRUE: | |
case T_FALSE: | |
- rb_bug("obj_free() called for broken object"); | |
- break; | |
+ rb_bug("obj_free() called for broken object"); | |
+ break; | |
} | |
if (FL_TEST(obj, FL_EXIVAR)) { | |
- rb_free_generic_ivar((VALUE)obj); | |
+ rb_free_generic_ivar((VALUE)obj); | |
} | |
switch (BUILTIN_TYPE(obj)) { | |
case T_OBJECT: | |
- if (RANY(obj)->as.object.iv_tbl) { | |
- st_free_table(RANY(obj)->as.object.iv_tbl); | |
- } | |
- break; | |
+ if (RANY(obj)->as.object.iv_tbl) { | |
+ st_free_table(RANY(obj)->as.object.iv_tbl); | |
+ } | |
+ break; | |
case T_MODULE: | |
case T_CLASS: | |
- rb_clear_cache_by_class((VALUE)obj); | |
- st_free_table(RANY(obj)->as.klass.m_tbl); | |
- if (RANY(obj)->as.object.iv_tbl) { | |
- st_free_table(RANY(obj)->as.object.iv_tbl); | |
- } | |
- break; | |
+ rb_clear_cache_by_class((VALUE)obj); | |
+ st_free_table(RANY(obj)->as.klass.m_tbl); | |
+ if (RANY(obj)->as.object.iv_tbl) { | |
+ st_free_table(RANY(obj)->as.object.iv_tbl); | |
+ } | |
+ break; | |
case T_STRING: | |
- if (RANY(obj)->as.string.ptr && !FL_TEST(obj, ELTS_SHARED)) { | |
- RUBY_CRITICAL(free(RANY(obj)->as.string.ptr)); | |
- } | |
- break; | |
+ if (RANY(obj)->as.string.ptr && !FL_TEST(obj, ELTS_SHARED)) { | |
+ RUBY_CRITICAL(free(RANY(obj)->as.string.ptr)); | |
+ } | |
+ break; | |
case T_ARRAY: | |
- if (RANY(obj)->as.array.ptr && !FL_TEST(obj, ELTS_SHARED)) { | |
- RUBY_CRITICAL(free(RANY(obj)->as.array.ptr)); | |
- } | |
- break; | |
+ if (RANY(obj)->as.array.ptr && !FL_TEST(obj, ELTS_SHARED)) { | |
+ RUBY_CRITICAL(free(RANY(obj)->as.array.ptr)); | |
+ } | |
+ break; | |
case T_HASH: | |
- if (RANY(obj)->as.hash.tbl) { | |
- st_free_table(RANY(obj)->as.hash.tbl); | |
- } | |
- break; | |
+ if (RANY(obj)->as.hash.tbl) { | |
+ st_free_table(RANY(obj)->as.hash.tbl); | |
+ } | |
+ break; | |
case T_REGEXP: | |
- if (RANY(obj)->as.regexp.ptr) { | |
- re_free_pattern(RANY(obj)->as.regexp.ptr); | |
- } | |
- if (RANY(obj)->as.regexp.str) { | |
- RUBY_CRITICAL(free(RANY(obj)->as.regexp.str)); | |
- } | |
- break; | |
+ if (RANY(obj)->as.regexp.ptr) { | |
+ re_free_pattern(RANY(obj)->as.regexp.ptr); | |
+ } | |
+ if (RANY(obj)->as.regexp.str) { | |
+ RUBY_CRITICAL(free(RANY(obj)->as.regexp.str)); | |
+ } | |
+ break; | |
case T_DATA: | |
if (DATA_PTR(obj)) { | |
if ((long)RANY(obj)->as.data.dfree == -1) { | |
@@ -1309,11 +2021,11 @@ | |
} | |
break; | |
case T_MATCH: | |
- if (RANY(obj)->as.match.regs) { | |
- re_free_registers(RANY(obj)->as.match.regs); | |
- RUBY_CRITICAL(free(RANY(obj)->as.match.regs)); | |
- } | |
- break; | |
+ if (RANY(obj)->as.match.regs) { | |
+ re_free_registers(RANY(obj)->as.match.regs); | |
+ RUBY_CRITICAL(free(RANY(obj)->as.match.regs)); | |
+ } | |
+ break; | |
case T_FILE: | |
if (RANY(obj)->as.file.fptr) { | |
struct rb_io_t *fptr = RANY(obj)->as.file.fptr; | |
@@ -1324,19 +2036,19 @@ | |
} | |
break; | |
case T_ICLASS: | |
- /* iClass shares table with the module */ | |
- break; | |
+ /* iClass shares table with the module */ | |
+ break; | |
case T_FLOAT: | |
case T_VARMAP: | |
case T_BLKTAG: | |
- break; | |
+ break; | |
case T_BIGNUM: | |
- if (RANY(obj)->as.bignum.digits) { | |
- RUBY_CRITICAL(free(RANY(obj)->as.bignum.digits)); | |
- } | |
- break; | |
+ if (RANY(obj)->as.bignum.digits) { | |
+ RUBY_CRITICAL(free(RANY(obj)->as.bignum.digits)); | |
+ } | |
+ break; | |
case T_NODE: | |
switch (nd_type(obj)) { | |
case NODE_SCOPE: | |
@@ -1351,7 +2063,7 @@ | |
break; /* no need to free iv_tbl */ | |
case T_SCOPE: | |
- if (RANY(obj)->as.scope.local_vars && | |
+ if (RANY(obj)->as.scope.local_vars && | |
RANY(obj)->as.scope.flags != SCOPE_ALLOCA) { | |
VALUE *vars = RANY(obj)->as.scope.local_vars-1; | |
if (!(RANY(obj)->as.scope.flags & SCOPE_CLONE) && vars[0] == 0) | |
@@ -1362,14 +2074,14 @@ | |
break; | |
case T_STRUCT: | |
- if (RANY(obj)->as.rstruct.ptr) { | |
- RUBY_CRITICAL(free(RANY(obj)->as.rstruct.ptr)); | |
- } | |
- break; | |
+ if (RANY(obj)->as.rstruct.ptr) { | |
+ RUBY_CRITICAL(free(RANY(obj)->as.rstruct.ptr)); | |
+ } | |
+ break; | |
default: | |
- rb_bug("gc_sweep(): unknown data type 0x%lx(0x%lx)", | |
- RANY(obj)->as.basic.flags & T_MASK, obj); | |
+ rb_bug("gc_sweep(): unknown data type 0x%lx(0x%lx)", | |
+ RANY(obj)->as.basic.flags & T_MASK, obj); | |
} | |
return 0; | |
@@ -1399,18 +2111,18 @@ | |
typedef unsigned long rb_jmp_buf[6]; | |
__asm__ (".align 4\n\ | |
_rb_setjmp:\n\ | |
- pushl %ebp\n\ | |
- movl %esp,%ebp\n\ | |
- movl 8(%ebp),%ebp\n\ | |
- movl %eax,(%ebp)\n\ | |
- movl %ebx,4(%ebp)\n\ | |
- movl %ecx,8(%ebp)\n\ | |
- movl %edx,12(%ebp)\n\ | |
- movl %esi,16(%ebp)\n\ | |
- movl %edi,20(%ebp)\n\ | |
- popl %ebp\n\ | |
- xorl %eax,%eax\n\ | |
- ret"); | |
+ pushl %ebp\n\ | |
+ movl %esp,%ebp\n\ | |
+ movl 8(%ebp),%ebp\n\ | |
+ movl %eax,(%ebp)\n\ | |
+ movl %ebx,4(%ebp)\n\ | |
+ movl %ecx,8(%ebp)\n\ | |
+ movl %edx,12(%ebp)\n\ | |
+ movl %esi,16(%ebp)\n\ | |
+ movl %edi,20(%ebp)\n\ | |
+ popl %ebp\n\ | |
+ xorl %eax,%eax\n\ | |
+ ret"); | |
#endif | |
#endif | |
int rb_setjmp (rb_jmp_buf); | |
@@ -1423,41 +2135,50 @@ | |
struct gc_list *list; | |
struct FRAME * volatile frame; /* gcc 2.7.2.3 -O2 bug?? */ | |
jmp_buf save_regs_gc_mark; | |
+ struct timeval gctv1, gctv2; | |
SET_STACK_END; | |
#ifdef HAVE_NATIVETHREAD | |
if (!is_ruby_native_thread()) { | |
- rb_bug("cross-thread violation on rb_gc()"); | |
+ rb_bug("cross-thread violation on rb_gc()"); | |
} | |
#endif | |
if (dont_gc || during_gc) { | |
- if (!freelist) { | |
- add_heap(); | |
- } | |
- return; | |
+ if (!freelist) { | |
+ add_heap(); | |
+ } | |
+ return; | |
} | |
if (during_gc) return; | |
during_gc++; | |
+ if (gc_statistics) { | |
+ gc_collections++; | |
+ gettimeofday(&gctv1, NULL); | |
+ if (verbose_gc_stats) { | |
+ fprintf(gc_data_file, "Garbage collection started\n"); | |
+ } | |
+ } | |
+ | |
init_mark_stack(); | |
gc_mark((VALUE)ruby_current_node, 0); | |
/* mark frame stack */ | |
for (frame = ruby_frame; frame; frame = frame->prev) { | |
- rb_gc_mark_frame(frame); | |
- if (frame->tmp) { | |
- struct FRAME *tmp = frame->tmp; | |
- while (tmp) { | |
- rb_gc_mark_frame(tmp); | |
- tmp = tmp->prev; | |
- } | |
- } | |
+ rb_gc_mark_frame(frame); | |
+ if (frame->tmp) { | |
+ struct FRAME *tmp = frame->tmp; | |
+ while (tmp) { | |
+ rb_gc_mark_frame(tmp); | |
+ tmp = tmp->prev; | |
+ } | |
+ } | |
} | |
gc_mark((VALUE)ruby_scope, 0); | |
gc_mark((VALUE)ruby_dyna_vars, 0); | |
if (finalizer_table) { | |
- mark_tbl(finalizer_table, 0); | |
+ mark_tbl(finalizer_table, 0); | |
} | |
FLUSH_REGISTER_WINDOWS; | |
@@ -1470,9 +2191,9 @@ | |
rb_gc_mark_locations(rb_gc_stack_start, (VALUE*)STACK_END + 1); | |
#else | |
if ((VALUE*)STACK_END < rb_gc_stack_start) | |
- rb_gc_mark_locations((VALUE*)STACK_END, rb_gc_stack_start); | |
+ rb_gc_mark_locations((VALUE*)STACK_END, rb_gc_stack_start); | |
else | |
- rb_gc_mark_locations(rb_gc_stack_start, (VALUE*)STACK_END + 1); | |
+ rb_gc_mark_locations(rb_gc_stack_start, (VALUE*)STACK_END + 1); | |
#endif | |
#ifdef __ia64 | |
/* mark backing store (flushed register window on the stack) */ | |
@@ -1481,13 +2202,13 @@ | |
#endif | |
#if defined(__human68k__) || defined(__mc68000__) | |
rb_gc_mark_locations((VALUE*)((char*)STACK_END + 2), | |
- (VALUE*)((char*)rb_gc_stack_start + 2)); | |
+ (VALUE*)((char*)rb_gc_stack_start + 2)); | |
#endif | |
rb_gc_mark_threads(); | |
/* mark protected global variables */ | |
for (list = global_List; list; list = list->next) { | |
- rb_gc_mark_maybe(*list->varptr); | |
+ rb_gc_mark_maybe(*list->varptr); | |
} | |
rb_mark_end_proc(); | |
rb_gc_mark_global_tbl(); | |
@@ -1502,18 +2223,29 @@ | |
/* gc_mark objects whose marking are not completed*/ | |
do { | |
- while (!MARK_STACK_EMPTY) { | |
- if (mark_stack_overflow){ | |
- gc_mark_all(); | |
- } | |
- else { | |
- gc_mark_rest(); | |
- } | |
- } | |
- rb_gc_abort_threads(); | |
+ while (!MARK_STACK_EMPTY) { | |
+ if (mark_stack_overflow){ | |
+ gc_mark_all(); | |
+ } | |
+ else { | |
+ gc_mark_rest(); | |
+ } | |
+ } | |
+ rb_gc_abort_threads(); | |
} while (!MARK_STACK_EMPTY); | |
gc_sweep(); | |
+ | |
+ if (gc_statistics) { | |
+ GC_TIME_TYPE musecs_used; | |
+ gettimeofday(&gctv2, NULL); | |
+ musecs_used = ((GC_TIME_TYPE)(gctv2.tv_sec - gctv1.tv_sec) * 1000000) + (gctv2.tv_usec - gctv1.tv_usec); | |
+ gc_time += musecs_used; | |
+ | |
+ if (verbose_gc_stats) { | |
+ fprintf(gc_data_file, "GC time: %ld msec\n", (long)(musecs_used / 1000)); | |
+ } | |
+ } | |
} | |
void | |
@@ -1580,8 +2312,8 @@ | |
memset(&m, 0, sizeof(m)); | |
VirtualQuery(&m, &m, sizeof(m)); | |
rb_gc_stack_start = | |
- STACK_UPPER((VALUE *)&m, (VALUE *)m.BaseAddress, | |
- (VALUE *)((char *)m.BaseAddress + m.RegionSize) - 1); | |
+ STACK_UPPER((VALUE *)&m, (VALUE *)m.BaseAddress, | |
+ (VALUE *)((char *)m.BaseAddress + m.RegionSize) - 1); | |
#elif defined(STACK_END_ADDRESS) | |
{ | |
extern void *STACK_END_ADDRESS; | |
@@ -1591,24 +2323,24 @@ | |
if (!addr) addr = (void *)&addr; | |
STACK_UPPER(&addr, addr, ++addr); | |
if (rb_gc_stack_start) { | |
- if (STACK_UPPER(&addr, | |
- rb_gc_stack_start > addr, | |
- rb_gc_stack_start < addr)) | |
- rb_gc_stack_start = addr; | |
- return; | |
+ if (STACK_UPPER(&addr, | |
+ rb_gc_stack_start > addr, | |
+ rb_gc_stack_start < addr)) | |
+ rb_gc_stack_start = addr; | |
+ return; | |
} | |
rb_gc_stack_start = addr; | |
#endif | |
#ifdef HAVE_GETRLIMIT | |
{ | |
- struct rlimit rlim; | |
+ struct rlimit rlim; | |
- if (getrlimit(RLIMIT_STACK, &rlim) == 0) { | |
- unsigned int space = rlim.rlim_cur/5; | |
+ if (getrlimit(RLIMIT_STACK, &rlim) == 0) { | |
+ unsigned int space = rlim.rlim_cur/5; | |
- if (space > 1024*1024) space = 1024*1024; | |
- STACK_LEVEL_MAX = (rlim.rlim_cur - space) / sizeof(VALUE); | |
- } | |
+ if (space > 1024*1024) space = 1024*1024; | |
+ STACK_LEVEL_MAX = (rlim.rlim_cur - space) / sizeof(VALUE); | |
+ } | |
} | |
#endif | |
} | |
@@ -1644,16 +2376,16 @@ | |
} | |
#elif defined _WIN32 | |
{ | |
- MEMORY_BASIC_INFORMATION mi; | |
- DWORD size; | |
- DWORD space; | |
- | |
- if (VirtualQuery(&mi, &mi, sizeof(mi))) { | |
- size = (char *)mi.BaseAddress - (char *)mi.AllocationBase; | |
- space = size / 5; | |
- if (space > 1024*1024) space = 1024*1024; | |
- STACK_LEVEL_MAX = (size - space) / sizeof(VALUE); | |
- } | |
+ MEMORY_BASIC_INFORMATION mi; | |
+ DWORD size; | |
+ DWORD space; | |
+ | |
+ if (VirtualQuery(&mi, &mi, sizeof(mi))) { | |
+ size = (char *)mi.BaseAddress - (char *)mi.AllocationBase; | |
+ space = size / 5; | |
+ if (space > 1024*1024) space = 1024*1024; | |
+ STACK_LEVEL_MAX = (size - space) / sizeof(VALUE); | |
+ } | |
} | |
#endif | |
} | |
@@ -1693,8 +2425,9 @@ | |
Init_heap() | |
{ | |
if (!rb_gc_stack_start) { | |
- Init_stack(0); | |
+ Init_stack(0); | |
} | |
+ set_gc_parameters(); | |
add_heap(); | |
} | |
@@ -1707,7 +2440,7 @@ | |
volatile VALUE v; | |
for (i = 0; i < heaps_used; i++) { | |
- RVALUE *p, *pend; | |
+ RVALUE *p, *pend; | |
p = heaps[i].slot; pend = p + heaps[i].limit; | |
for (;p < pend; p++) { | |
@@ -1800,8 +2533,8 @@ | |
{ | |
rb_warn("ObjectSpace::add_finalizer is deprecated; use define_finalizer"); | |
if (!rb_respond_to(block, rb_intern("call"))) { | |
- rb_raise(rb_eArgError, "wrong type argument %s (should be callable)", | |
- rb_obj_classname(block)); | |
+ rb_raise(rb_eArgError, "wrong type argument %s (should be callable)", | |
+ rb_obj_classname(block)); | |
} | |
rb_ary_push(finalizers, block); | |
return block; | |
@@ -1856,7 +2589,7 @@ | |
VALUE os, obj; | |
{ | |
if (finalizer_table) { | |
- st_delete(finalizer_table, (st_data_t*)&obj, 0); | |
+ st_delete(finalizer_table, (st_data_t*)&obj, 0); | |
} | |
return obj; | |
} | |
@@ -1880,11 +2613,11 @@ | |
rb_scan_args(argc, argv, "11", &obj, &block); | |
if (argc == 1) { | |
- block = rb_block_proc(); | |
+ block = rb_block_proc(); | |
} | |
else if (!rb_respond_to(block, rb_intern("call"))) { | |
- rb_raise(rb_eArgError, "wrong type argument %s (should be callable)", | |
- rb_obj_classname(block)); | |
+ rb_raise(rb_eArgError, "wrong type argument %s (should be callable)", | |
+ rb_obj_classname(block)); | |
} | |
need_call_final = 1; | |
if (!FL_ABLE(obj)) { | |
@@ -1897,10 +2630,10 @@ | |
OBJ_FREEZE(block); | |
if (!finalizer_table) { | |
- finalizer_table = st_init_numtable(); | |
+ finalizer_table = st_init_numtable(); | |
} | |
if (st_lookup(finalizer_table, obj, &table)) { | |
- rb_ary_push(table, block); | |
+ rb_ary_push(table, block); | |
} | |
else { | |
table = rb_ary_new3(1, block); | |
@@ -1919,7 +2652,7 @@ | |
if (!finalizer_table) return; | |
if (!FL_TEST(obj, FL_FINALIZE)) return; | |
if (st_lookup(finalizer_table, obj, &table)) { | |
- st_insert(finalizer_table, dest, table); | |
+ st_insert(finalizer_table, dest, table); | |
} | |
RBASIC(dest)->flags |= FL_FINALIZE; | |
} | |
@@ -1940,7 +2673,7 @@ | |
int status, critical_save = rb_thread_critical; | |
VALUE args[3], table, objid; | |
- objid = rb_obj_id(obj); /* make obj into id */ | |
+ objid = rb_obj_id(obj); /* make obj into id */ | |
rb_thread_critical = Qtrue; | |
if (BUILTIN_TYPE(obj) == T_DEFERRED && RDATA(obj)->dfree) { | |
(*RDATA(obj)->dfree)(DATA_PTR(obj)); | |
@@ -1948,18 +2681,18 @@ | |
args[1] = 0; | |
args[2] = (VALUE)ruby_safe_level; | |
for (i=0; i<RARRAY(finalizers)->len; i++) { | |
- args[0] = RARRAY(finalizers)->ptr[i]; | |
- if (!args[1]) args[1] = rb_ary_new3(1, objid); | |
- rb_protect((VALUE(*)_((VALUE)))run_single_final, (VALUE)args, &status); | |
+ args[0] = RARRAY(finalizers)->ptr[i]; | |
+ if (!args[1]) args[1] = rb_ary_new3(1, objid); | |
+ rb_protect((VALUE(*)_((VALUE)))run_single_final, (VALUE)args, &status); | |
} | |
if (finalizer_table && st_delete(finalizer_table, (st_data_t*)&obj, &table)) { | |
- for (i=0; i<RARRAY(table)->len; i++) { | |
- VALUE final = RARRAY(table)->ptr[i]; | |
- args[0] = RARRAY(final)->ptr[1]; | |
- if (!args[1]) args[1] = rb_ary_new3(1, objid); | |
- args[2] = FIX2INT(RARRAY(final)->ptr[0]); | |
- rb_protect((VALUE(*)_((VALUE)))run_single_final, (VALUE)args, &status); | |
- } | |
+ for (i=0; i<RARRAY(table)->len; i++) { | |
+ VALUE final = RARRAY(table)->ptr[i]; | |
+ args[0] = RARRAY(final)->ptr[1]; | |
+ if (!args[1]) args[1] = rb_ary_new3(1, objid); | |
+ args[2] = FIX2INT(RARRAY(final)->ptr[0]); | |
+ rb_protect((VALUE(*)_((VALUE)))run_single_final, (VALUE)args, &status); | |
+ } | |
} | |
rb_thread_critical = critical_save; | |
} | |
@@ -1971,8 +2704,8 @@ | |
deferred_final_list = 0; | |
if (p) { | |
- finalize_list(p); | |
- free_unused_heaps(); | |
+ finalize_list(p); | |
+ free_unused_heaps(); | |
} | |
} | |
@@ -2058,7 +2791,7 @@ | |
if (ptr == Qfalse) return Qfalse; | |
if (ptr == Qnil) return Qnil; | |
if (FIXNUM_P(ptr)) return (VALUE)ptr; | |
- ptr = objid ^ FIXNUM_FLAG; /* unset FIXNUM_FLAG */ | |
+ ptr = objid ^ FIXNUM_FLAG; /* unset FIXNUM_FLAG */ | |
if ((ptr % sizeof(RVALUE)) == (4 << 2)) { | |
ID symid = ptr / sizeof(RVALUE); | |
@@ -2072,7 +2805,7 @@ | |
rb_raise(rb_eRangeError, "0x%lx is not id value", p0); | |
} | |
if (BUILTIN_TYPE(ptr) == 0 || RBASIC(ptr)->klass == 0) { | |
- rb_raise(rb_eRangeError, "0x%lx is recycled object", p0); | |
+ rb_raise(rb_eRangeError, "0x%lx is recycled object", p0); | |
} | |
return (VALUE)ptr; | |
} | |
@@ -2144,6 +2877,35 @@ | |
return (VALUE)((long)obj|FIXNUM_FLAG); | |
} | |
+/* call-seq: | |
+ * ObjectSpace.live_objects => number | |
+ * | |
+ * Returns the count of objects currently allocated in the system. This goes | |
+ * down after the garbage collector runs. | |
+ */ | |
+static | |
+VALUE os_live_objects(VALUE self) | |
+{ | |
+ return ULONG2NUM(live_objects); | |
+} | |
+ | |
+/* call-seq: | |
+ * ObjectSpace.allocated_objects => number | |
+ * | |
+ * Returns the count of objects allocated since the Ruby interpreter has | |
+ * started. This number can only increase. To know how many objects are | |
+ * currently allocated, use ObjectSpace::live_objects | |
+ */ | |
+static | |
+VALUE os_allocated_objects(VALUE self) | |
+{ | |
+#if defined(HAVE_LONG_LONG) | |
+ return ULL2NUM(allocated_objects); | |
+#else | |
+ return ULONG2NUM(allocated_objects); | |
+#endif | |
+} | |
+ | |
/* | |
* The <code>GC</code> module provides an interface to Ruby's mark and | |
* sweep garbage collection mechanism. Some of the underlying methods | |
@@ -2163,6 +2925,26 @@ | |
rb_define_singleton_method(rb_mGC, "stress=", gc_stress_set, 1); | |
rb_define_method(rb_mGC, "garbage_collect", rb_gc_start, 0); | |
+ rb_define_singleton_method(rb_mGC, "enable_stats", rb_gc_enable_stats, 0); | |
+ rb_define_singleton_method(rb_mGC, "disable_stats", rb_gc_disable_stats, 0); | |
+ rb_define_singleton_method(rb_mGC, "stats_enabled?", rb_gc_stats_enabled, 0); | |
+ rb_define_singleton_method(rb_mGC, "clear_stats", rb_gc_clear_stats, 0); | |
+ rb_define_singleton_method(rb_mGC, "allocated_size", rb_gc_allocated_size, 0); | |
+ rb_define_singleton_method(rb_mGC, "num_allocations", rb_gc_num_allocations, 0); | |
+ rb_define_singleton_method(rb_mGC, "heap_slots", rb_gc_heap_slots, 0); | |
+ rb_define_const(rb_mGC, "HEAP_SLOT_SIZE", INT2FIX(sizeof(RVALUE))); | |
+ rb_define_singleton_method(rb_mGC, "collections", rb_gc_collections, 0); | |
+ rb_define_singleton_method(rb_mGC, "time", rb_gc_time, 0); | |
+ rb_define_singleton_method(rb_mGC, "dump", rb_gc_dump, 0); | |
+#ifdef GC_DEBUG | |
+ rb_define_singleton_method(rb_mGC, "dump_file_and_line_info", rb_gc_dump_file_and_line_info, -1); | |
+#endif | |
+ rb_define_singleton_method(rb_mGC, "log", rb_gc_log, 1); | |
+ rb_define_singleton_method(rb_mGC, "log_file", rb_gc_log_file, -1); | |
+ rb_define_singleton_method(rb_mGC, "enable_trace", rb_gc_enable_trace, 0); | |
+ rb_define_singleton_method(rb_mGC, "disable_trace", rb_gc_disable_trace, 0); | |
+ rb_define_singleton_method(rb_mGC, "trace_enabled?", rb_gc_trace_enabled, 0); | |
+ | |
rb_mObSpace = rb_define_module("ObjectSpace"); | |
rb_define_module_function(rb_mObSpace, "each_object", os_each_obj, -1); | |
rb_define_module_function(rb_mObSpace, "garbage_collect", rb_gc_start, 0); | |
@@ -2171,6 +2953,9 @@ | |
rb_define_module_function(rb_mObSpace, "finalizers", finals, 0); | |
rb_define_module_function(rb_mObSpace, "call_finalizer", call_final, 1); | |
+ rb_define_module_function(rb_mObSpace, "live_objects", os_live_objects, 0); | |
+ rb_define_module_function(rb_mObSpace, "allocated_objects", os_allocated_objects, 0); | |
+ | |
rb_define_module_function(rb_mObSpace, "define_finalizer", define_final, -1); | |
rb_define_module_function(rb_mObSpace, "undefine_finalizer", undefine_final, 1); | |
@@ -2185,7 +2970,7 @@ | |
rb_global_variable(&nomem_error); | |
nomem_error = rb_exc_new3(rb_eNoMemError, | |
- rb_obj_freeze(rb_str_new2("failed to allocate memory"))); | |
+ rb_obj_freeze(rb_str_new2("failed to allocate memory"))); | |
OBJ_TAINT(nomem_error); | |
OBJ_FREEZE(nomem_error); | |
diff -x .git -x .gitignore -ruB hash.c hash.c | |
--- hash.c 2010-04-27 21:24:05.000000000 +0200 | |
+++ hash.c 2010-04-27 21:11:07.000000000 +0200 | |
@@ -2,8 +2,8 @@ | |
hash.c - | |
- $Author: shyouhei $ | |
- $Date: 2009-02-23 18:40:05 +0100 (Mo, 23 Feb 2009) $ | |
+ $Author$ | |
+ $Date$ | |
created at: Mon Nov 22 18:51:18 JST 1993 | |
Copyright (C) 1993-2003 Yukihiro Matsumoto | |
diff -x .git -x .gitignore -ruB inits.c inits.c | |
--- inits.c 2010-04-27 21:24:05.000000000 +0200 | |
+++ inits.c 2010-04-27 21:11:07.000000000 +0200 | |
@@ -2,8 +2,8 @@ | |
inits.c - | |
- $Author: knu $ | |
- $Date: 2008-04-09 13:13:04 +0200 (Mi, 09 Apr 2008) $ | |
+ $Author$ | |
+ $Date$ | |
created at: Tue Dec 28 16:01:58 JST 1993 | |
Copyright (C) 1993-2003 Yukihiro Matsumoto | |
diff -x .git -x .gitignore -ruB intern.h intern.h | |
--- intern.h 2010-04-27 21:54:12.000000000 +0200 | |
+++ intern.h 2010-04-27 21:11:07.000000000 +0200 | |
@@ -2,8 +2,8 @@ | |
intern.h - | |
- $Author: shyouhei $ | |
- $Date: 2009-01-22 07:22:00 +0100 (Do, 22 Jan 2009) $ | |
+ $Author$ | |
+ $Date$ | |
created at: Thu Jun 10 14:22:17 JST 1993 | |
Copyright (C) 1993-2003 Yukihiro Matsumoto | |
@@ -268,6 +268,17 @@ | |
VALUE rb_gc_enable _((void)); | |
VALUE rb_gc_disable _((void)); | |
VALUE rb_gc_start _((void)); | |
+void rb_gc_before_fork _((void)); | |
+void rb_gc_after_fork _((void)); | |
+VALUE rb_gc_allocated_size _((void)); | |
+VALUE rb_gc_num_allocations _((void)); | |
+VALUE rb_gc_heap_slots _((void)); | |
+unsigned long rb_os_live_objects _((void)); | |
+#ifdef HAVE_LONG_LONG | |
+unsigned LONG_LONG rb_os_allocated_objects _((void)); | |
+#else | |
+unsigned long rb_os_allocated_objects _((void)); | |
+#endif | |
/* hash.c */ | |
void st_foreach_safe _((struct st_table *, int (*)(ANYARGS), unsigned long)); | |
void rb_hash_foreach _((VALUE, int (*)(ANYARGS), VALUE)); | |
diff -x .git -x .gitignore -ruB io.c io.c | |
--- io.c 2010-04-27 21:24:05.000000000 +0200 | |
+++ io.c 2010-04-27 21:11:07.000000000 +0200 | |
@@ -2,8 +2,8 @@ | |
io.c - | |
- $Author: shyouhei $ | |
- $Date: 2009-09-10 03:53:25 +0200 (Do, 10 Sep 2009) $ | |
+ $Author$ | |
+ $Date$ | |
created at: Fri Oct 15 18:08:59 JST 1993 | |
Copyright (C) 1993-2003 Yukihiro Matsumoto | |
diff -x .git -x .gitignore -ruB lib/abbrev.rb lib/abbrev.rb | |
--- lib/abbrev.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ lib/abbrev.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -8,7 +8,7 @@ | |
# | |
# $Idaemons: /home/cvs/rb/abbrev.rb,v 1.2 2001/05/30 09:37:45 knu Exp $ | |
# $RoughId: abbrev.rb,v 1.4 2003/10/14 19:45:42 knu Exp $ | |
-# $Id: abbrev.rb 11708 2007-02-12 23:01:19Z shyouhei $ | |
+# $Id$ | |
=end | |
# Calculate the set of unique abbreviations for a given set of strings. | |
diff -x .git -x .gitignore -ruB lib/benchmark.rb lib/benchmark.rb | |
--- lib/benchmark.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ lib/benchmark.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -2,7 +2,7 @@ | |
# | |
# benchmark.rb - a performance benchmarking library | |
# | |
-# $Id: benchmark.rb 15425 2008-02-10 15:24:56Z naruse $ | |
+# $Id$ | |
# | |
# Created by Gotoken ([email protected]). | |
# | |
diff -x .git -x .gitignore -ruB lib/cgi.rb lib/cgi.rb | |
--- lib/cgi.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ lib/cgi.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -284,7 +284,7 @@ | |
# Standard internet newline sequence | |
EOL = CR + LF | |
- REVISION = '$Id: cgi.rb 24261 2009-07-24 08:20:02Z shyouhei $' #:nodoc: | |
+ REVISION = '$Id$' #:nodoc: | |
NEEDS_BINMODE = true if /WIN/ni.match(RUBY_PLATFORM) | |
diff -x .git -x .gitignore -ruB lib/csv.rb lib/csv.rb | |
--- lib/csv.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ lib/csv.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,7 +1,7 @@ | |
# CSV -- module for generating/parsing CSV data. | |
# Copyright (C) 2000-2004 NAKAMURA, Hiroshi <[email protected]>. | |
-# $Id: csv.rb 11708 2007-02-12 23:01:19Z shyouhei $ | |
+# $Id$ | |
# This program is copyrighted free software by NAKAMURA, Hiroshi. You can | |
# redistribute it and/or modify it under the same terms of Ruby's license; | |
diff -x .git -x .gitignore -ruB lib/erb.rb lib/erb.rb | |
--- lib/erb.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ lib/erb.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -236,7 +236,7 @@ | |
# Rails, the web application framework, uses ERB to create views. | |
# | |
class ERB | |
- Revision = '$Date: 2009-02-23 18:44:50 +0100 (Mo, 23 Feb 2009) $' #' | |
+ Revision = '$Date$' #' | |
# Returns revision information for the erb.rb module. | |
def self.version | |
diff -x .git -x .gitignore -ruB lib/forwardable.rb lib/forwardable.rb | |
--- lib/forwardable.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ lib/forwardable.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,8 +1,8 @@ | |
# = forwardable - Support for the Delegation Pattern | |
# | |
# $Release Version: 1.1$ | |
-# $Revision: 16857 $ | |
-# $Date: 2008-06-06 10:05:24 +0200 (Fr, 06 Jun 2008) $ | |
+# $Revision$ | |
+# $Date$ | |
# by Keiju ISHITSUKA([email protected]) | |
# | |
# Documentation by James Edward Gray II and Gavin Sinclair | |
diff -x .git -x .gitignore -ruB lib/generator.rb lib/generator.rb | |
--- lib/generator.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ lib/generator.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -2,7 +2,7 @@ | |
#-- | |
# $Idaemons: /home/cvs/rb/generator.rb,v 1.8 2001/10/03 08:54:32 knu Exp $ | |
# $RoughId: generator.rb,v 1.10 2003/10/14 19:36:58 knu Exp $ | |
-# $Id: generator.rb 15954 2008-04-10 10:52:50Z knu $ | |
+# $Id$ | |
#++ | |
# | |
# = generator.rb: convert an internal iterator to an external one | |
diff -x .git -x .gitignore -ruB lib/getopts.rb lib/getopts.rb | |
--- lib/getopts.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ lib/getopts.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,8 +1,8 @@ | |
# | |
# getopts.rb - | |
# $Release Version: $ | |
-# $Revision: 11708 $ | |
-# $Date: 2007-02-13 00:01:19 +0100 (Di, 13 Feb 2007) $ | |
+# $Revision$ | |
+# $Date$ | |
# by Yasuo OHBA(SHL Japan Inc. Technology Dept.) | |
# | |
# -- | |
diff -x .git -x .gitignore -ruB lib/ipaddr.rb lib/ipaddr.rb | |
--- lib/ipaddr.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ lib/ipaddr.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -7,7 +7,7 @@ | |
# | |
# You can redistribute and/or modify it under the same terms as Ruby. | |
# | |
-# $Id: ipaddr.rb 18049 2008-07-12 15:08:29Z shyouhei $ | |
+# $Id$ | |
# | |
# Contact: | |
# - Akinori MUSHA <[email protected]> (current maintainer) | |
diff -x .git -x .gitignore -ruB lib/irb/cmd/chws.rb lib/irb/cmd/chws.rb | |
--- lib/irb/cmd/chws.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ lib/irb/cmd/chws.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,8 +1,8 @@ | |
# | |
# change-ws.rb - | |
# $Release Version: 0.9.5$ | |
-# $Revision: 11708 $ | |
-# $Date: 2007-02-13 00:01:19 +0100 (Di, 13 Feb 2007) $ | |
+# $Revision$ | |
+# $Date$ | |
# by Keiju ISHITSUKA([email protected]) | |
# | |
# -- | |
diff -x .git -x .gitignore -ruB lib/irb/cmd/fork.rb lib/irb/cmd/fork.rb | |
--- lib/irb/cmd/fork.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ lib/irb/cmd/fork.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,8 +1,8 @@ | |
# | |
# fork.rb - | |
# $Release Version: 0.9.5 $ | |
-# $Revision: 11708 $ | |
-# $Date: 2007-02-13 00:01:19 +0100 (Di, 13 Feb 2007) $ | |
+# $Revision$ | |
+# $Date$ | |
# by Keiju ISHITSUKA([email protected]) | |
# | |
# -- | |
@@ -10,7 +10,7 @@ | |
# | |
# | |
-@RCS_ID='-$Id: fork.rb 11708 2007-02-12 23:01:19Z shyouhei $-' | |
+@RCS_ID='-$Id$-' | |
module IRB | |
diff -x .git -x .gitignore -ruB lib/irb/cmd/help.rb lib/irb/cmd/help.rb | |
--- lib/irb/cmd/help.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ lib/irb/cmd/help.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,8 +1,8 @@ | |
# | |
# help.rb - helper using ri | |
# $Release Version: 0.9.5$ | |
-# $Revision: 11708 $ | |
-# $Date: 2007-02-13 00:01:19 +0100 (Di, 13 Feb 2007) $ | |
+# $Revision$ | |
+# $Date$ | |
# | |
# -- | |
# | |
diff -x .git -x .gitignore -ruB lib/irb/cmd/load.rb lib/irb/cmd/load.rb | |
--- lib/irb/cmd/load.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ lib/irb/cmd/load.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,8 +1,8 @@ | |
# | |
# load.rb - | |
# $Release Version: 0.9.5$ | |
-# $Revision: 11708 $ | |
-# $Date: 2007-02-13 00:01:19 +0100 (Di, 13 Feb 2007) $ | |
+# $Revision$ | |
+# $Date$ | |
# by Keiju ISHITSUKA([email protected]) | |
# | |
# -- | |
diff -x .git -x .gitignore -ruB lib/irb/cmd/nop.rb lib/irb/cmd/nop.rb | |
--- lib/irb/cmd/nop.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ lib/irb/cmd/nop.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,8 +1,8 @@ | |
# | |
# nop.rb - | |
# $Release Version: 0.9.5$ | |
-# $Revision: 11708 $ | |
-# $Date: 2007-02-13 00:01:19 +0100 (Di, 13 Feb 2007) $ | |
+# $Revision$ | |
+# $Date$ | |
# by Keiju ISHITSUKA([email protected]) | |
# | |
# -- | |
@@ -13,7 +13,7 @@ | |
module ExtendCommand | |
class Nop | |
- @RCS_ID='-$Id: nop.rb 11708 2007-02-12 23:01:19Z shyouhei $-' | |
+ @RCS_ID='-$Id$-' | |
def self.execute(conf, *opts) | |
command = new(conf) | |
diff -x .git -x .gitignore -ruB lib/irb/cmd/pushws.rb lib/irb/cmd/pushws.rb | |
--- lib/irb/cmd/pushws.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ lib/irb/cmd/pushws.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,8 +1,8 @@ | |
# | |
# change-ws.rb - | |
# $Release Version: 0.9.5$ | |
-# $Revision: 11708 $ | |
-# $Date: 2007-02-13 00:01:19 +0100 (Di, 13 Feb 2007) $ | |
+# $Revision$ | |
+# $Date$ | |
# by Keiju ISHITSUKA([email protected]) | |
# | |
# -- | |
diff -x .git -x .gitignore -ruB lib/irb/cmd/subirb.rb lib/irb/cmd/subirb.rb | |
--- lib/irb/cmd/subirb.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ lib/irb/cmd/subirb.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -2,8 +2,8 @@ | |
# | |
# multi.rb - | |
# $Release Version: 0.9.5$ | |
-# $Revision: 11708 $ | |
-# $Date: 2007-02-13 00:01:19 +0100 (Di, 13 Feb 2007) $ | |
+# $Revision$ | |
+# $Date$ | |
# by Keiju ISHITSUKA([email protected]) | |
# | |
# -- | |
diff -x .git -x .gitignore -ruB lib/irb/completion.rb lib/irb/completion.rb | |
--- lib/irb/completion.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ lib/irb/completion.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,8 +1,8 @@ | |
# | |
# irb/completor.rb - | |
# $Release Version: 0.9$ | |
-# $Revision: 11708 $ | |
-# $Date: 2007-02-13 00:01:19 +0100 (Di, 13 Feb 2007) $ | |
+# $Revision$ | |
+# $Date$ | |
# by Keiju ISHITSUKA([email protected]) | |
# From Original Idea of [email protected] | |
# | |
@@ -12,7 +12,7 @@ | |
module IRB | |
module InputCompletor | |
- @RCS_ID='-$Id: completion.rb 11708 2007-02-12 23:01:19Z shyouhei $-' | |
+ @RCS_ID='-$Id$-' | |
ReservedWords = [ | |
"BEGIN", "END", | |
diff -x .git -x .gitignore -ruB lib/irb/context.rb lib/irb/context.rb | |
--- lib/irb/context.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ lib/irb/context.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,8 +1,8 @@ | |
# | |
# irb/context.rb - irb context | |
# $Release Version: 0.9.5$ | |
-# $Revision: 11708 $ | |
-# $Date: 2007-02-13 00:01:19 +0100 (Di, 13 Feb 2007) $ | |
+# $Revision$ | |
+# $Date$ | |
# by Keiju ISHITSUKA([email protected]) | |
# | |
# -- | |
diff -x .git -x .gitignore -ruB lib/irb/ext/change-ws.rb lib/irb/ext/change-ws.rb | |
--- lib/irb/ext/change-ws.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ lib/irb/ext/change-ws.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,8 +1,8 @@ | |
# | |
# irb/ext/cb.rb - | |
# $Release Version: 0.9.5$ | |
-# $Revision: 11708 $ | |
-# $Date: 2007-02-13 00:01:19 +0100 (Di, 13 Feb 2007) $ | |
+# $Revision$ | |
+# $Date$ | |
# by Keiju ISHITSUKA([email protected]) | |
# | |
# -- | |
diff -x .git -x .gitignore -ruB lib/irb/ext/history.rb lib/irb/ext/history.rb | |
--- lib/irb/ext/history.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ lib/irb/ext/history.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,8 +1,8 @@ | |
# | |
# history.rb - | |
# $Release Version: 0.9.5$ | |
-# $Revision: 11708 $ | |
-# $Date: 2007-02-13 00:01:19 +0100 (Di, 13 Feb 2007) $ | |
+# $Revision$ | |
+# $Date$ | |
# by Keiju ISHITSUKA([email protected]) | |
# | |
# -- | |
@@ -49,7 +49,7 @@ | |
end | |
class History | |
- @RCS_ID='-$Id: history.rb 11708 2007-02-12 23:01:19Z shyouhei $-' | |
+ @RCS_ID='-$Id$-' | |
def initialize(size = 16) | |
@size = size | |
diff -x .git -x .gitignore -ruB lib/irb/ext/loader.rb lib/irb/ext/loader.rb | |
--- lib/irb/ext/loader.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ lib/irb/ext/loader.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,8 +1,8 @@ | |
# | |
# loader.rb - | |
# $Release Version: 0.9.5$ | |
-# $Revision: 11708 $ | |
-# $Date: 2007-02-13 00:01:19 +0100 (Di, 13 Feb 2007) $ | |
+# $Revision$ | |
+# $Date$ | |
# by Keiju ISHITSUKA([email protected]) | |
# | |
# -- | |
@@ -15,7 +15,7 @@ | |
class LoadAbort < Exception;end | |
module IrbLoader | |
- @RCS_ID='-$Id: loader.rb 11708 2007-02-12 23:01:19Z shyouhei $-' | |
+ @RCS_ID='-$Id$-' | |
alias ruby_load load | |
alias ruby_require require | |
diff -x .git -x .gitignore -ruB lib/irb/ext/math-mode.rb lib/irb/ext/math-mode.rb | |
--- lib/irb/ext/math-mode.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ lib/irb/ext/math-mode.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,8 +1,8 @@ | |
# | |
# math-mode.rb - | |
# $Release Version: 0.9.5$ | |
-# $Revision: 11708 $ | |
-# $Date: 2007-02-13 00:01:19 +0100 (Di, 13 Feb 2007) $ | |
+# $Revision$ | |
+# $Date$ | |
# by Keiju ISHITSUKA([email protected]) | |
# | |
# -- | |
diff -x .git -x .gitignore -ruB lib/irb/ext/multi-irb.rb lib/irb/ext/multi-irb.rb | |
--- lib/irb/ext/multi-irb.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ lib/irb/ext/multi-irb.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,8 +1,8 @@ | |
# | |
# irb/multi-irb.rb - multiple irb module | |
# $Release Version: 0.9.5$ | |
-# $Revision: 11708 $ | |
-# $Date: 2007-02-13 00:01:19 +0100 (Di, 13 Feb 2007) $ | |
+# $Revision$ | |
+# $Date$ | |
# by Keiju ISHITSUKA([email protected]) | |
# | |
# -- | |
@@ -15,7 +15,7 @@ | |
module IRB | |
# job management class | |
class JobManager | |
- @RCS_ID='-$Id: multi-irb.rb 11708 2007-02-12 23:01:19Z shyouhei $-' | |
+ @RCS_ID='-$Id$-' | |
def initialize | |
# @jobs = [[thread, irb],...] | |
diff -x .git -x .gitignore -ruB lib/irb/ext/save-history.rb lib/irb/ext/save-history.rb | |
--- lib/irb/ext/save-history.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ lib/irb/ext/save-history.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -2,8 +2,8 @@ | |
# | |
# save-history.rb - | |
# $Release Version: 0.9.5$ | |
-# $Revision: 24483 $ | |
-# $Date: 2009-08-09 10:44:15 +0200 (So, 09 Aug 2009) $ | |
+# $Revision$ | |
+# $Date$ | |
# by Keiju [email protected]) | |
# | |
# -- | |
@@ -15,7 +15,7 @@ | |
module IRB | |
module HistorySavingAbility | |
- @RCS_ID='-$Id: save-history.rb 24483 2009-08-09 08:44:15Z shyouhei $-' | |
+ @RCS_ID='-$Id$-' | |
end | |
class Context | |
diff -x .git -x .gitignore -ruB lib/irb/ext/tracer.rb lib/irb/ext/tracer.rb | |
--- lib/irb/ext/tracer.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ lib/irb/ext/tracer.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,8 +1,8 @@ | |
# | |
# irb/lib/tracer.rb - | |
# $Release Version: 0.9.5$ | |
-# $Revision: 11708 $ | |
-# $Date: 2007-02-13 00:01:19 +0100 (Di, 13 Feb 2007) $ | |
+# $Revision$ | |
+# $Date$ | |
# by Keiju ISHITSUKA([email protected]) | |
# | |
# -- | |
diff -x .git -x .gitignore -ruB lib/irb/ext/use-loader.rb lib/irb/ext/use-loader.rb | |
--- lib/irb/ext/use-loader.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ lib/irb/ext/use-loader.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,8 +1,8 @@ | |
# | |
# use-loader.rb - | |
# $Release Version: 0.9.5$ | |
-# $Revision: 11708 $ | |
-# $Date: 2007-02-13 00:01:19 +0100 (Di, 13 Feb 2007) $ | |
+# $Revision$ | |
+# $Date$ | |
# by Keiju ISHITSUKA([email protected]) | |
# | |
# -- | |
diff -x .git -x .gitignore -ruB lib/irb/ext/workspaces.rb lib/irb/ext/workspaces.rb | |
--- lib/irb/ext/workspaces.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ lib/irb/ext/workspaces.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,8 +1,8 @@ | |
# | |
# push-ws.rb - | |
# $Release Version: 0.9.5$ | |
-# $Revision: 11708 $ | |
-# $Date: 2007-02-13 00:01:19 +0100 (Di, 13 Feb 2007) $ | |
+# $Revision$ | |
+# $Date$ | |
# by Keiju ISHITSUKA([email protected]) | |
# | |
# -- | |
diff -x .git -x .gitignore -ruB lib/irb/extend-command.rb lib/irb/extend-command.rb | |
--- lib/irb/extend-command.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ lib/irb/extend-command.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,8 +1,8 @@ | |
# | |
# irb/extend-command.rb - irb extend command | |
# $Release Version: 0.9.5$ | |
-# $Revision: 16857 $ | |
-# $Date: 2008-06-06 10:05:24 +0200 (Fr, 06 Jun 2008) $ | |
+# $Revision$ | |
+# $Date$ | |
# by Keiju ISHITSUKA([email protected]) | |
# | |
# -- | |
diff -x .git -x .gitignore -ruB lib/irb/frame.rb lib/irb/frame.rb | |
--- lib/irb/frame.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ lib/irb/frame.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,8 +1,8 @@ | |
# | |
# frame.rb - | |
# $Release Version: 0.9$ | |
-# $Revision: 11708 $ | |
-# $Date: 2007-02-13 00:01:19 +0100 (Di, 13 Feb 2007) $ | |
+# $Revision$ | |
+# $Date$ | |
# by Keiju ISHITSUKA(Nihon Rational Software Co.,Ltd) | |
# | |
# -- | |
diff -x .git -x .gitignore -ruB lib/irb/help.rb lib/irb/help.rb | |
--- lib/irb/help.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ lib/irb/help.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,8 +1,8 @@ | |
# | |
# irb/help.rb - print usage module | |
# $Release Version: 0.9.5$ | |
-# $Revision: 16857 $ | |
-# $Date: 2008-06-06 10:05:24 +0200 (Fr, 06 Jun 2008) $ | |
+# $Revision$ | |
+# $Date$ | |
# by Keiju ISHITSUKA([email protected]) | |
# | |
# -- | |
diff -x .git -x .gitignore -ruB lib/irb/init.rb lib/irb/init.rb | |
--- lib/irb/init.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ lib/irb/init.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,8 +1,8 @@ | |
# | |
# irb/init.rb - irb initialize module | |
# $Release Version: 0.9.5$ | |
-# $Revision: 24483 $ | |
-# $Date: 2009-08-09 10:44:15 +0200 (So, 09 Aug 2009) $ | |
+# $Revision$ | |
+# $Date$ | |
# by Keiju ISHITSUKA([email protected]) | |
# | |
# -- | |
diff -x .git -x .gitignore -ruB lib/irb/input-method.rb lib/irb/input-method.rb | |
--- lib/irb/input-method.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ lib/irb/input-method.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,8 +1,8 @@ | |
# | |
# irb/input-method.rb - input methods used irb | |
# $Release Version: 0.9.5$ | |
-# $Revision: 11708 $ | |
-# $Date: 2007-02-13 00:01:19 +0100 (Di, 13 Feb 2007) $ | |
+# $Revision$ | |
+# $Date$ | |
# by Keiju ISHITSUKA([email protected]) | |
# | |
# -- | |
@@ -18,7 +18,7 @@ | |
# | |
STDIN_FILE_NAME = "(line)" | |
class InputMethod | |
- @RCS_ID='-$Id: input-method.rb 11708 2007-02-12 23:01:19Z shyouhei $-' | |
+ @RCS_ID='-$Id$-' | |
def initialize(file = STDIN_FILE_NAME) | |
@file_name = file | |
diff -x .git -x .gitignore -ruB lib/irb/lc/error.rb lib/irb/lc/error.rb | |
--- lib/irb/lc/error.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ lib/irb/lc/error.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,8 +1,8 @@ | |
# | |
# irb/lc/error.rb - | |
# $Release Version: 0.9.5$ | |
-# $Revision: 11708 $ | |
-# $Date: 2007-02-13 00:01:19 +0100 (Di, 13 Feb 2007) $ | |
+# $Revision$ | |
+# $Date$ | |
# by Keiju ISHITSUKA([email protected]) | |
# | |
# -- | |
diff -x .git -x .gitignore -ruB lib/irb/lc/help-message lib/irb/lc/help-message | |
--- lib/irb/lc/help-message 2010-04-27 21:24:05.000000000 +0200 | |
+++ lib/irb/lc/help-message 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,8 +1,8 @@ | |
# | |
# irb/lc/help-message.rb - | |
# $Release Version: 0.9.5$ | |
-# $Revision: 11708 $ | |
-# $Date: 2007-02-13 00:01:19 +0100 (Di, 13 Feb 2007) $ | |
+# $Revision$ | |
+# $Date$ | |
# by Keiju ISHITSUKA([email protected]) | |
# | |
# -- | |
diff -x .git -x .gitignore -ruB lib/irb/lc/ja/error.rb lib/irb/lc/ja/error.rb | |
--- lib/irb/lc/ja/error.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ lib/irb/lc/ja/error.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,8 +1,8 @@ | |
# | |
# irb/lc/ja/error.rb - | |
# $Release Version: 0.9.5$ | |
-# $Revision: 11708 $ | |
-# $Date: 2007-02-13 00:01:19 +0100 (Di, 13 Feb 2007) $ | |
+# $Revision$ | |
+# $Date$ | |
# by Keiju ISHITSUKA([email protected]) | |
# | |
# -- | |
diff -x .git -x .gitignore -ruB lib/irb/lc/ja/help-message lib/irb/lc/ja/help-message | |
--- lib/irb/lc/ja/help-message 2010-04-27 21:24:05.000000000 +0200 | |
+++ lib/irb/lc/ja/help-message 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,8 +1,8 @@ | |
# | |
# irb/lc/ja/help-message.rb - | |
# $Release Version: 0.9.5$ | |
-# $Revision: 11708 $ | |
-# $Date: 2007-02-13 00:01:19 +0100 (Di, 13 Feb 2007) $ | |
+# $Revision$ | |
+# $Date$ | |
# by Keiju ISHITSUKA([email protected]) | |
# | |
# -- | |
diff -x .git -x .gitignore -ruB lib/irb/locale.rb lib/irb/locale.rb | |
--- lib/irb/locale.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ lib/irb/locale.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,8 +1,8 @@ | |
# | |
# irb/locale.rb - internationalization module | |
# $Release Version: 0.9.5$ | |
-# $Revision: 11708 $ | |
-# $Date: 2007-02-13 00:01:19 +0100 (Di, 13 Feb 2007) $ | |
+# $Revision$ | |
+# $Date$ | |
# by Keiju ISHITSUKA([email protected]) | |
# | |
# -- | |
@@ -14,7 +14,7 @@ | |
module IRB | |
class Locale | |
- @RCS_ID='-$Id: locale.rb 11708 2007-02-12 23:01:19Z shyouhei $-' | |
+ @RCS_ID='-$Id$-' | |
JPDefaultLocale = "ja" | |
LOCALE_DIR = "/lc/" | |
diff -x .git -x .gitignore -ruB lib/irb/notifier.rb lib/irb/notifier.rb | |
--- lib/irb/notifier.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ lib/irb/notifier.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,8 +1,8 @@ | |
# | |
# notifier.rb - output methods used by irb | |
# $Release Version: 0.9.5$ | |
-# $Revision: 16857 $ | |
-# $Date: 2008-06-06 10:05:24 +0200 (Fr, 06 Jun 2008) $ | |
+# $Revision$ | |
+# $Date$ | |
# by Keiju ISHITSUKA([email protected]) | |
# | |
# -- | |
diff -x .git -x .gitignore -ruB lib/irb/output-method.rb lib/irb/output-method.rb | |
--- lib/irb/output-method.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ lib/irb/output-method.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,8 +1,8 @@ | |
# | |
# output-method.rb - optput methods used by irb | |
# $Release Version: 0.9.5$ | |
-# $Revision: 11708 $ | |
-# $Date: 2007-02-13 00:01:19 +0100 (Di, 13 Feb 2007) $ | |
+# $Revision$ | |
+# $Date$ | |
# by Keiju ISHITSUKA([email protected]) | |
# | |
# -- | |
@@ -17,7 +17,7 @@ | |
# StdioOutputMethod | |
class OutputMethod | |
- @RCS_ID='-$Id: output-method.rb 11708 2007-02-12 23:01:19Z shyouhei $-' | |
+ @RCS_ID='-$Id$-' | |
def print(*opts) | |
IRB.fail NotImplementError, "print" | |
diff -x .git -x .gitignore -ruB lib/irb/ruby-lex.rb lib/irb/ruby-lex.rb | |
--- lib/irb/ruby-lex.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ lib/irb/ruby-lex.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,8 +1,8 @@ | |
# | |
# irb/ruby-lex.rb - ruby lexcal analyzer | |
# $Release Version: 0.9.5$ | |
-# $Revision: 16857 $ | |
-# $Date: 2008-06-06 10:05:24 +0200 (Fr, 06 Jun 2008) $ | |
+# $Revision$ | |
+# $Date$ | |
# by Keiju ISHITSUKA([email protected]) | |
# | |
# -- | |
@@ -15,7 +15,7 @@ | |
require "irb/ruby-token" | |
class RubyLex | |
- @RCS_ID='-$Id: ruby-lex.rb 16857 2008-06-06 08:05:24Z knu $-' | |
+ @RCS_ID='-$Id$-' | |
extend Exception2MessageMapper | |
def_exception(:AlreadyDefinedToken, "Already defined token(%s)") | |
diff -x .git -x .gitignore -ruB lib/irb/ruby-token.rb lib/irb/ruby-token.rb | |
--- lib/irb/ruby-token.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ lib/irb/ruby-token.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,8 +1,8 @@ | |
# | |
# irb/ruby-token.rb - ruby tokens | |
# $Release Version: 0.9.5$ | |
-# $Revision: 11708 $ | |
-# $Date: 2007-02-13 00:01:19 +0100 (Di, 13 Feb 2007) $ | |
+# $Revision$ | |
+# $Date$ | |
# by Keiju ISHITSUKA([email protected]) | |
# | |
# -- | |
diff -x .git -x .gitignore -ruB lib/irb/slex.rb lib/irb/slex.rb | |
--- lib/irb/slex.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ lib/irb/slex.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,8 +1,8 @@ | |
# | |
# irb/slex.rb - simple lex analyzer | |
# $Release Version: 0.9.5$ | |
-# $Revision: 16857 $ | |
-# $Date: 2008-06-06 10:05:24 +0200 (Fr, 06 Jun 2008) $ | |
+# $Revision$ | |
+# $Date$ | |
# by Keiju ISHITSUKA([email protected]) | |
# | |
# -- | |
@@ -15,7 +15,7 @@ | |
module IRB | |
class SLex | |
- @RCS_ID='-$Id: slex.rb 16857 2008-06-06 08:05:24Z knu $-' | |
+ @RCS_ID='-$Id$-' | |
extend Exception2MessageMapper | |
def_exception :ErrNodeNothing, "node nothing" | |
diff -x .git -x .gitignore -ruB lib/irb/version.rb lib/irb/version.rb | |
--- lib/irb/version.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ lib/irb/version.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,8 +1,8 @@ | |
# | |
# irb/version.rb - irb version definition file | |
# $Release Version: 0.9.5$ | |
-# $Revision: 11708 $ | |
-# $Date: 2007-02-13 00:01:19 +0100 (Di, 13 Feb 2007) $ | |
+# $Revision$ | |
+# $Date$ | |
# by Keiju ISHITSUKA([email protected]) | |
# | |
# -- | |
diff -x .git -x .gitignore -ruB lib/irb/workspace.rb lib/irb/workspace.rb | |
--- lib/irb/workspace.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ lib/irb/workspace.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,8 +1,8 @@ | |
# | |
# irb/workspace-binding.rb - | |
# $Release Version: 0.9.5$ | |
-# $Revision: 11708 $ | |
-# $Date: 2007-02-13 00:01:19 +0100 (Di, 13 Feb 2007) $ | |
+# $Revision$ | |
+# $Date$ | |
# by Keiju ISHITSUKA([email protected]) | |
# | |
# -- | |
diff -x .git -x .gitignore -ruB lib/irb/ws-for-case-2.rb lib/irb/ws-for-case-2.rb | |
--- lib/irb/ws-for-case-2.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ lib/irb/ws-for-case-2.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,8 +1,8 @@ | |
# | |
# irb/ws-for-case-2.rb - | |
# $Release Version: 0.9.5$ | |
-# $Revision: 11708 $ | |
-# $Date: 2007-02-13 00:01:19 +0100 (Di, 13 Feb 2007) $ | |
+# $Revision$ | |
+# $Date$ | |
# by Keiju ISHITSUKA([email protected]) | |
# | |
# -- | |
diff -x .git -x .gitignore -ruB lib/irb/xmp.rb lib/irb/xmp.rb | |
--- lib/irb/xmp.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ lib/irb/xmp.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,8 +1,8 @@ | |
# | |
# xmp.rb - irb version of gotoken xmp | |
# $Release Version: 0.9$ | |
-# $Revision: 11708 $ | |
-# $Date: 2007-02-13 00:01:19 +0100 (Di, 13 Feb 2007) $ | |
+# $Revision$ | |
+# $Date$ | |
# by Keiju ISHITSUKA(Nippon Rational Inc.) | |
# | |
# -- | |
@@ -14,7 +14,7 @@ | |
require "irb/frame" | |
class XMP | |
- @RCS_ID='-$Id: xmp.rb 11708 2007-02-12 23:01:19Z shyouhei $-' | |
+ @RCS_ID='-$Id$-' | |
def initialize(bind = nil) | |
IRB.init_config(nil) | |
diff -x .git -x .gitignore -ruB lib/irb.rb lib/irb.rb | |
--- lib/irb.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ lib/irb.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,8 +1,8 @@ | |
# | |
# irb.rb - irb main module | |
# $Release Version: 0.9.5 $ | |
-# $Revision: 24483 $ | |
-# $Date: 2009-08-09 10:44:15 +0200 (So, 09 Aug 2009) $ | |
+# $Revision$ | |
+# $Date$ | |
# by Keiju ISHITSUKA([email protected]) | |
# | |
# -- | |
@@ -23,7 +23,7 @@ | |
STDOUT.sync = true | |
module IRB | |
- @RCS_ID='-$Id: irb.rb 24483 2009-08-09 08:44:15Z shyouhei $-' | |
+ @RCS_ID='-$Id$-' | |
class Abort < Exception;end | |
diff -x .git -x .gitignore -ruB lib/logger.rb lib/logger.rb | |
--- lib/logger.rb 2010-04-27 21:54:12.000000000 +0200 | |
+++ lib/logger.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -10,7 +10,7 @@ | |
# License:: | |
# You can redistribute it and/or modify it under the same terms of Ruby's | |
# license; either the dual license version in 2003, or any later version. | |
-# Revision:: $Id: logger.rb 22285 2009-02-13 10:19:04Z shyouhei $ | |
+# Revision:: $Id$ | |
# | |
# == Description | |
# | |
@@ -170,8 +170,14 @@ | |
class Logger | |
VERSION = "1.2.6" | |
- id, name, rev = %w$Id: logger.rb 22285 2009-02-13 10:19:04Z shyouhei $ | |
- ProgName = "#{name.chomp(",v")}/#{rev}" | |
+ id, name, rev = %w$Id$ | |
+ if name | |
+ name = name.chomp(",v") | |
+ else | |
+ name = File.basename(__FILE__) | |
+ end | |
+ rev ||= "v#{VERSION}" | |
+ ProgName = "#{name}/#{rev}" | |
class Error < RuntimeError; end | |
class ShiftingError < Error; end | |
diff -x .git -x .gitignore -ruB lib/net/http.rb lib/net/http.rb | |
--- lib/net/http.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ lib/net/http.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -22,7 +22,7 @@ | |
# http://www.ruby-lang.org/ja/man/?cmd=view;name=net%2Fhttp.rb | |
# | |
#-- | |
-# $Id: http.rb 13657 2007-10-08 11:16:54Z gotoyuzo $ | |
+# $Id$ | |
#++ | |
require 'net/protocol' | |
@@ -278,7 +278,7 @@ | |
class HTTP < Protocol | |
# :stopdoc: | |
- Revision = %q$Revision: 13657 $.split[1] | |
+ Revision = %q$Revision$.split[1] | |
HTTPVersion = '1.1' | |
@newimpl = true | |
# :startdoc: | |
diff -x .git -x .gitignore -ruB lib/net/https.rb lib/net/https.rb | |
--- lib/net/https.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ lib/net/https.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -16,7 +16,7 @@ | |
You can get it from RAA or Ruby's CVS repository. | |
== Version | |
- $Id: https.rb 16857 2008-06-06 08:05:24Z knu $ | |
+ $Id$ | |
2001-11-06: Contiributed to Ruby/OpenSSL project. | |
2004-03-06: Some code is merged in to net/http. | |
diff -x .git -x .gitignore -ruB lib/net/pop.rb lib/net/pop.rb | |
--- lib/net/pop.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ lib/net/pop.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -15,7 +15,7 @@ | |
# NOTE: You can find Japanese version of this document at: | |
# http://www.ruby-lang.org/ja/man/html/net_pop.html | |
# | |
-# $Id: pop.rb 22002 2009-02-03 05:35:56Z shyouhei $ | |
+# $Id$ | |
# | |
# See Net::POP3 for documentation. | |
# | |
@@ -196,7 +196,7 @@ | |
# | |
class POP3 < Protocol | |
- Revision = %q$Revision: 22002 $.split[1] | |
+ Revision = %q$Revision$.split[1] | |
# | |
# Class Parameters | |
diff -x .git -x .gitignore -ruB lib/net/protocol.rb lib/net/protocol.rb | |
--- lib/net/protocol.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ lib/net/protocol.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -11,7 +11,7 @@ | |
# modify this program under the same terms as Ruby itself, | |
# Ruby Distribute License or GNU General Public License. | |
# | |
-# $Id: protocol.rb 12092 2007-03-19 02:39:22Z aamine $ | |
+# $Id$ | |
#++ | |
# | |
# WARNING: This file is going to remove. | |
diff -x .git -x .gitignore -ruB lib/net/smtp.rb lib/net/smtp.rb | |
--- lib/net/smtp.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ lib/net/smtp.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -14,7 +14,7 @@ | |
# NOTE: You can find Japanese version of this document at: | |
# http://www.ruby-lang.org/ja/man/html/net_smtp.html | |
# | |
-# $Id: smtp.rb 18353 2008-08-04 05:51:11Z shyouhei $ | |
+# $Id$ | |
# | |
# See Net::SMTP for documentation. | |
# | |
@@ -172,7 +172,7 @@ | |
# | |
class SMTP | |
- Revision = %q$Revision: 18353 $.split[1] | |
+ Revision = %q$Revision$.split[1] | |
# The default SMTP port number, 25. | |
def SMTP.default_port | |
diff -x .git -x .gitignore -ruB lib/net/telnet.rb lib/net/telnet.rb | |
--- lib/net/telnet.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ lib/net/telnet.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -164,7 +164,7 @@ | |
CR = "\015" | |
LF = "\012" | |
EOL = CR + LF | |
- REVISION = '$Id: telnet.rb 16458 2008-05-18 15:02:36Z knu $' | |
+ REVISION = '$Id$' | |
# :startdoc: | |
# | |
diff -x .git -x .gitignore -ruB lib/optparse.rb lib/optparse.rb | |
--- lib/optparse.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ lib/optparse.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -203,7 +203,7 @@ | |
# | |
class OptionParser | |
# :stopdoc: | |
- RCSID = %w$Id: optparse.rb 22469 2009-02-20 11:43:35Z shyouhei $[1..-1].each {|s| s.freeze}.freeze | |
+ RCSID = %w$Id$[1..-1].each {|s| s.freeze}.freeze | |
Version = (RCSID[1].split('.').collect {|s| s.to_i}.extend(Comparable).freeze if RCSID[1]) | |
LastModified = (Time.gm(*RCSID[2, 2].join('-').scan(/\d+/).collect {|s| s.to_i}) if RCSID[2]) | |
Release = RCSID[2] | |
diff -x .git -x .gitignore -ruB lib/parsearg.rb lib/parsearg.rb | |
--- lib/parsearg.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ lib/parsearg.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,8 +1,8 @@ | |
# | |
# parsearg.rb - parse arguments | |
# $Release Version: $ | |
-# $Revision: 11708 $ | |
-# $Date: 2007-02-13 00:01:19 +0100 (Di, 13 Feb 2007) $ | |
+# $Revision$ | |
+# $Date$ | |
# by Yasuo OHBA(SHL Japan Inc. Technology Dept.) | |
# | |
# -- | |
diff -x .git -x .gitignore -ruB lib/rexml/rexml.rb lib/rexml/rexml.rb | |
--- lib/rexml/rexml.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ lib/rexml/rexml.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -13,7 +13,7 @@ | |
# Author:: Sean Russell <serATgermaneHYPHENsoftwareDOTcom> | |
# Version:: 3.1.7.2 | |
# Date:: 2007/275 | |
-# Revision:: $Revision: 22842 $ | |
+# Revision:: $Revision$ | |
# | |
# This API documentation can be downloaded from the REXML home page, or can | |
# be accessed online[http://www.germane-software.com/software/rexml_doc] | |
@@ -25,7 +25,7 @@ | |
COPYRIGHT = "Copyright \xC2\xA9 2001-2006 Sean Russell <[email protected]>" | |
VERSION = "3.1.7.3" | |
DATE = "2007/275" | |
- REVISION = "$Revision: 22842 $".gsub(/\$Revision:|\$/,'').strip | |
+ REVISION = "$Revision$".gsub(/\$Revision:|\$/,'').strip | |
Copyright = COPYRIGHT | |
Version = VERSION | |
diff -x .git -x .gitignore -ruB lib/scanf.rb lib/scanf.rb | |
--- lib/scanf.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ lib/scanf.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,9 +1,9 @@ | |
# scanf for Ruby | |
# | |
-# $Revision: 21682 $ | |
-# $Id: scanf.rb 21682 2009-01-20 03:23:46Z shyouhei $ | |
-# $Author: shyouhei $ | |
-# $Date: 2009-01-20 04:23:46 +0100 (Di, 20 Jan 2009) $ | |
+# $Revision$ | |
+# $Id$ | |
+# $Author$ | |
+# $Date$ | |
# | |
# A product of the Austin Ruby Codefest (Austin, Texas, August 2002) | |
diff -x .git -x .gitignore -ruB lib/set.rb lib/set.rb | |
--- lib/set.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ lib/set.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -9,7 +9,7 @@ | |
# All rights reserved. You can redistribute and/or modify it under the same | |
# terms as Ruby. | |
# | |
-# $Id: set.rb 17051 2008-06-09 09:20:43Z knu $ | |
+# $Id$ | |
# | |
# == Overview | |
# | |
diff -x .git -x .gitignore -ruB lib/shell/builtin-command.rb lib/shell/builtin-command.rb | |
--- lib/shell/builtin-command.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ lib/shell/builtin-command.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,8 +1,8 @@ | |
# | |
# shell/builtin-command.rb - | |
# $Release Version: 0.6.0 $ | |
-# $Revision: 11708 $ | |
-# $Date: 2007-02-13 00:01:19 +0100 (Di, 13 Feb 2007) $ | |
+# $Revision$ | |
+# $Date$ | |
# by Keiju ISHITSUKA(Nihon Rational Software Co.,Ltd) | |
# | |
# -- | |
diff -x .git -x .gitignore -ruB lib/shell/command-processor.rb lib/shell/command-processor.rb | |
--- lib/shell/command-processor.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ lib/shell/command-processor.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,8 +1,8 @@ | |
# | |
# shell/command-controller.rb - | |
# $Release Version: 0.6.0 $ | |
-# $Revision: 22281 $ | |
-# $Date: 2009-02-13 11:05:02 +0100 (Fr, 13 Feb 2009) $ | |
+# $Revision$ | |
+# $Date$ | |
# by Keiju ISHITSUKA(Nippon Rational Inc.) | |
# | |
# -- | |
diff -x .git -x .gitignore -ruB lib/shell/error.rb lib/shell/error.rb | |
--- lib/shell/error.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ lib/shell/error.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,8 +1,8 @@ | |
# | |
# shell/error.rb - | |
# $Release Version: 0.6.0 $ | |
-# $Revision: 11708 $ | |
-# $Date: 2007-02-13 00:01:19 +0100 (Di, 13 Feb 2007) $ | |
+# $Revision$ | |
+# $Date$ | |
# by Keiju ISHITSUKA(Nihon Rational Software Co.,Ltd) | |
# | |
# -- | |
diff -x .git -x .gitignore -ruB lib/shell/filter.rb lib/shell/filter.rb | |
--- lib/shell/filter.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ lib/shell/filter.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,8 +1,8 @@ | |
# | |
# shell/filter.rb - | |
# $Release Version: 0.6.0 $ | |
-# $Revision: 11708 $ | |
-# $Date: 2007-02-13 00:01:19 +0100 (Di, 13 Feb 2007) $ | |
+# $Revision$ | |
+# $Date$ | |
# by Keiju ISHITSUKA(Nihon Rational Software Co.,Ltd) | |
# | |
# -- | |
diff -x .git -x .gitignore -ruB lib/shell/process-controller.rb lib/shell/process-controller.rb | |
--- lib/shell/process-controller.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ lib/shell/process-controller.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,8 +1,8 @@ | |
# | |
# shell/process-controller.rb - | |
# $Release Version: 0.6.0 $ | |
-# $Revision: 12006 $ | |
-# $Date: 2007-03-06 10:59:25 +0100 (Di, 06 Mär 2007) $ | |
+# $Revision$ | |
+# $Date$ | |
# by Keiju ISHITSUKA(Nihon Rational Software Co.,Ltd) | |
# | |
# -- | |
diff -x .git -x .gitignore -ruB lib/shell/system-command.rb lib/shell/system-command.rb | |
--- lib/shell/system-command.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ lib/shell/system-command.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,8 +1,8 @@ | |
# | |
# shell/system-command.rb - | |
# $Release Version: 0.6.0 $ | |
-# $Revision: 11708 $ | |
-# $Date: 2007-02-13 00:01:19 +0100 (Di, 13 Feb 2007) $ | |
+# $Revision$ | |
+# $Date$ | |
# by Keiju ISHITSUKA(Nihon Rational Software Co.,Ltd) | |
# | |
# -- | |
diff -x .git -x .gitignore -ruB lib/shell/version.rb lib/shell/version.rb | |
--- lib/shell/version.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ lib/shell/version.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,8 +1,8 @@ | |
# | |
# version.rb - shell version definition file | |
# $Release Version: 0.6.0$ | |
-# $Revision: 11708 $ | |
-# $Date: 2007-02-13 00:01:19 +0100 (Di, 13 Feb 2007) $ | |
+# $Revision$ | |
+# $Date$ | |
# by Keiju ISHITSUKA(Nihon Rational Software Co.,Ltd) | |
# | |
# -- | |
diff -x .git -x .gitignore -ruB lib/sync.rb lib/sync.rb | |
--- lib/sync.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ lib/sync.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,8 +1,8 @@ | |
# | |
# sync.rb - 2 phase lock with counter | |
# $Release Version: 1.0$ | |
-# $Revision: 22457 $ | |
-# $Date: 2009-02-19 17:41:12 +0100 (Do, 19 Feb 2009) $ | |
+# $Revision$ | |
+# $Date$ | |
# by Keiju ISHITSUKA([email protected]) | |
# | |
# -- | |
diff -x .git -x .gitignore -ruB lib/tempfile.rb lib/tempfile.rb | |
--- lib/tempfile.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ lib/tempfile.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,7 +1,7 @@ | |
# | |
# tempfile - manipulates temporary files | |
# | |
-# $Id: tempfile.rb 16127 2008-04-21 09:43:44Z knu $ | |
+# $Id$ | |
# | |
require 'delegate' | |
diff -x .git -x .gitignore -ruB lib/thread.rb lib/thread.rb | |
--- lib/thread.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ lib/thread.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -4,7 +4,7 @@ | |
# is configured with --disable-fastthread. | |
# | |
# thread.rb - thread support classes | |
-# $Date: 2007-02-13 00:01:19 +0100 (Di, 13 Feb 2007) $ | |
+# $Date$ | |
# by Yukihiro Matsumoto <[email protected]> | |
# | |
# Copyright (C) 2001 Yukihiro Matsumoto | |
diff -x .git -x .gitignore -ruB lib/tmpdir.rb lib/tmpdir.rb | |
--- lib/tmpdir.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ lib/tmpdir.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,7 +1,7 @@ | |
# | |
# tmpdir - retrieve temporary directory path | |
# | |
-# $Id: tmpdir.rb 21776 2009-01-26 02:12:10Z shyouhei $ | |
+# $Id$ | |
# | |
require 'fileutils' | |
diff -x .git -x .gitignore -ruB lib/uri/common.rb lib/uri/common.rb | |
--- lib/uri/common.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ lib/uri/common.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,7 +1,7 @@ | |
# = uri/common.rb | |
# | |
# Author:: Akira Yamada <[email protected]> | |
-# Revision:: $Id: common.rb 14178 2007-12-10 09:31:55Z matz $ | |
+# Revision:: $Id$ | |
# License:: | |
# You can redistribute it and/or modify it under the same term as Ruby. | |
# | |
diff -x .git -x .gitignore -ruB lib/uri/ftp.rb lib/uri/ftp.rb | |
--- lib/uri/ftp.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ lib/uri/ftp.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -3,7 +3,7 @@ | |
# | |
# Author:: Akira Yamada <[email protected]> | |
# License:: You can redistribute it and/or modify it under the same term as Ruby. | |
-# Revision:: $Id: ftp.rb 16085 2008-04-19 11:56:22Z knu $ | |
+# Revision:: $Id$ | |
# | |
require 'uri/generic' | |
diff -x .git -x .gitignore -ruB lib/uri/generic.rb lib/uri/generic.rb | |
--- lib/uri/generic.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ lib/uri/generic.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -3,7 +3,7 @@ | |
# | |
# Author:: Akira Yamada <[email protected]> | |
# License:: You can redistribute it and/or modify it under the same term as Ruby. | |
-# Revision:: $Id: generic.rb 16085 2008-04-19 11:56:22Z knu $ | |
+# Revision:: $Id$ | |
# | |
require 'uri/common' | |
diff -x .git -x .gitignore -ruB lib/uri/http.rb lib/uri/http.rb | |
--- lib/uri/http.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ lib/uri/http.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -3,7 +3,7 @@ | |
# | |
# Author:: Akira Yamada <[email protected]> | |
# License:: You can redistribute it and/or modify it under the same term as Ruby. | |
-# Revision:: $Id: http.rb 11747 2007-02-15 02:41:45Z knu $ | |
+# Revision:: $Id$ | |
# | |
require 'uri/generic' | |
diff -x .git -x .gitignore -ruB lib/uri/https.rb lib/uri/https.rb | |
--- lib/uri/https.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ lib/uri/https.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -3,7 +3,7 @@ | |
# | |
# Author:: Akira Yamada <[email protected]> | |
# License:: You can redistribute it and/or modify it under the same term as Ruby. | |
-# Revision:: $Id: https.rb 11747 2007-02-15 02:41:45Z knu $ | |
+# Revision:: $Id$ | |
# | |
require 'uri/http' | |
diff -x .git -x .gitignore -ruB lib/uri/ldap.rb lib/uri/ldap.rb | |
--- lib/uri/ldap.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ lib/uri/ldap.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -7,7 +7,7 @@ | |
# License:: | |
# URI::LDAP is copyrighted free software by Takaaki Tateishi and Akira Yamada. | |
# You can redistribute it and/or modify it under the same term as Ruby. | |
-# Revision:: $Id: ldap.rb 11708 2007-02-12 23:01:19Z shyouhei $ | |
+# Revision:: $Id$ | |
# | |
require 'uri/generic' | |
diff -x .git -x .gitignore -ruB lib/uri/mailto.rb lib/uri/mailto.rb | |
--- lib/uri/mailto.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ lib/uri/mailto.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -3,7 +3,7 @@ | |
# | |
# Author:: Akira Yamada <[email protected]> | |
# License:: You can redistribute it and/or modify it under the same term as Ruby. | |
-# Revision:: $Id: mailto.rb 11747 2007-02-15 02:41:45Z knu $ | |
+# Revision:: $Id$ | |
# | |
require 'uri/generic' | |
diff -x .git -x .gitignore -ruB lib/uri.rb lib/uri.rb | |
--- lib/uri.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ lib/uri.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -6,7 +6,7 @@ | |
# License:: | |
# Copyright (c) 2001 akira yamada <[email protected]> | |
# You can redistribute it and/or modify it under the same term as Ruby. | |
-# Revision:: $Id: uri.rb 16038 2008-04-15 09:41:47Z kazu $ | |
+# Revision:: $Id$ | |
# | |
# See URI for documentation | |
# | |
diff -x .git -x .gitignore -ruB lib/webrick/cgi.rb lib/webrick/cgi.rb | |
--- lib/webrick/cgi.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ lib/webrick/cgi.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -5,7 +5,7 @@ | |
# Copyright (c) 2003 Internet Programming with Ruby writers. All rights | |
# reserved. | |
# | |
-# $Id: cgi.rb 11708 2007-02-12 23:01:19Z shyouhei $ | |
+# $Id$ | |
require "webrick/httprequest" | |
require "webrick/httpresponse" | |
diff -x .git -x .gitignore -ruB lib/webrick/ssl.rb lib/webrick/ssl.rb | |
--- lib/webrick/ssl.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ lib/webrick/ssl.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -3,7 +3,7 @@ | |
# | |
# Copyright (c) 2003 GOTOU Yuuzou All rights reserved. | |
# | |
-# $Id: ssl.rb 11708 2007-02-12 23:01:19Z shyouhei $ | |
+# $Id$ | |
require 'webrick' | |
require 'openssl' | |
diff -x .git -x .gitignore -ruB lib/xmlrpc/base64.rb lib/xmlrpc/base64.rb | |
--- lib/xmlrpc/base64.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ lib/xmlrpc/base64.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -77,5 +77,5 @@ | |
=begin | |
= History | |
- $Id: base64.rb 11708 2007-02-12 23:01:19Z shyouhei $ | |
+ $Id$ | |
=end | |
diff -x .git -x .gitignore -ruB lib/xmlrpc/client.rb lib/xmlrpc/client.rb | |
--- lib/xmlrpc/client.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ lib/xmlrpc/client.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -268,7 +268,7 @@ | |
= History | |
- $Id: client.rb 18091 2008-07-16 17:07:44Z shyouhei $ | |
+ $Id$ | |
=end | |
diff -x .git -x .gitignore -ruB lib/xmlrpc/config.rb lib/xmlrpc/config.rb | |
--- lib/xmlrpc/config.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ lib/xmlrpc/config.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,5 +1,5 @@ | |
# | |
-# $Id: config.rb 11708 2007-02-12 23:01:19Z shyouhei $ | |
+# $Id$ | |
# Configuration file for XML-RPC for Ruby | |
# | |
diff -x .git -x .gitignore -ruB lib/xmlrpc/create.rb lib/xmlrpc/create.rb | |
--- lib/xmlrpc/create.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ lib/xmlrpc/create.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -3,7 +3,7 @@ | |
# | |
# Copyright (C) 2001, 2002, 2003 by Michael Neumann ([email protected]) | |
# | |
-# $Id: create.rb 11818 2007-02-23 03:45:55Z knu $ | |
+# $Id$ | |
# | |
require "date" | |
diff -x .git -x .gitignore -ruB lib/xmlrpc/datetime.rb lib/xmlrpc/datetime.rb | |
--- lib/xmlrpc/datetime.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ lib/xmlrpc/datetime.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -138,5 +138,5 @@ | |
=begin | |
= History | |
- $Id: datetime.rb 11708 2007-02-12 23:01:19Z shyouhei $ | |
+ $Id$ | |
=end | |
diff -x .git -x .gitignore -ruB lib/xmlrpc/httpserver.rb lib/xmlrpc/httpserver.rb | |
--- lib/xmlrpc/httpserver.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ lib/xmlrpc/httpserver.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -4,7 +4,7 @@ | |
# | |
# Copyright (C) 2001, 2002, 2003 by Michael Neumann ([email protected]) | |
# | |
-# $Id: httpserver.rb 11708 2007-02-12 23:01:19Z shyouhei $ | |
+# $Id$ | |
# | |
diff -x .git -x .gitignore -ruB lib/xmlrpc/marshal.rb lib/xmlrpc/marshal.rb | |
--- lib/xmlrpc/marshal.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ lib/xmlrpc/marshal.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -3,7 +3,7 @@ | |
# | |
# Copyright (C) 2001, 2002, 2003 by Michael Neumann ([email protected]) | |
# | |
-# $Id: marshal.rb 11708 2007-02-12 23:01:19Z shyouhei $ | |
+# $Id$ | |
# | |
require "xmlrpc/parser" | |
diff -x .git -x .gitignore -ruB lib/xmlrpc/parser.rb lib/xmlrpc/parser.rb | |
--- lib/xmlrpc/parser.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ lib/xmlrpc/parser.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -3,7 +3,7 @@ | |
# | |
# Copyright (C) 2001, 2002, 2003 by Michael Neumann ([email protected]) | |
# | |
-# $Id: parser.rb 13771 2007-10-24 23:04:42Z jeg2 $ | |
+# $Id$ | |
# | |
diff -x .git -x .gitignore -ruB lib/xmlrpc/server.rb lib/xmlrpc/server.rb | |
--- lib/xmlrpc/server.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ lib/xmlrpc/server.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -777,6 +777,6 @@ | |
=begin | |
= History | |
- $Id: server.rb 22461 2009-02-20 09:06:53Z shyouhei $ | |
+ $Id$ | |
=end | |
diff -x .git -x .gitignore -ruB lib/xmlrpc/utils.rb lib/xmlrpc/utils.rb | |
--- lib/xmlrpc/utils.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ lib/xmlrpc/utils.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -6,7 +6,7 @@ | |
# | |
# Copyright (C) 2001, 2002, 2003 by Michael Neumann ([email protected]) | |
# | |
-# $Id: utils.rb 13771 2007-10-24 23:04:42Z jeg2 $ | |
+# $Id$ | |
# | |
module XMLRPC | |
diff -x .git -x .gitignore -ruB lib/yaml/tag.rb lib/yaml/tag.rb | |
--- lib/yaml/tag.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ lib/yaml/tag.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,5 +1,5 @@ | |
# -*- mode: ruby; ruby-indent-level: 4; tab-width: 4 -*- vim: sw=4 ts=4 | |
-# $Id: tag.rb 16084 2008-04-19 11:45:39Z knu $ | |
+# $Id$ | |
# | |
# = yaml/tag.rb: methods for associating a taguri to a class. | |
# | |
diff -x .git -x .gitignore -ruB lib/yaml.rb lib/yaml.rb | |
--- lib/yaml.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ lib/yaml.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,5 +1,5 @@ | |
# -*- mode: ruby; ruby-indent-level: 4; tab-width: 4 -*- vim: sw=4 ts=4 | |
-# $Id: yaml.rb 16084 2008-04-19 11:45:39Z knu $ | |
+# $Id$ | |
# | |
# = yaml.rb: top-level module with methods for loading and parsing YAML documents | |
# | |
diff -x .git -x .gitignore -ruB main.c main.c | |
--- main.c 2010-04-27 21:24:05.000000000 +0200 | |
+++ main.c 2010-04-27 21:11:07.000000000 +0200 | |
@@ -2,8 +2,8 @@ | |
main.c - | |
- $Author: shyouhei $ | |
- $Date: 2007-02-13 00:01:19 +0100 (Di, 13 Feb 2007) $ | |
+ $Author$ | |
+ $Date$ | |
created at: Fri Aug 19 13:19:58 JST 1994 | |
Copyright (C) 1993-2003 Yukihiro Matsumoto | |
diff -x .git -x .gitignore -ruB marshal.c marshal.c | |
--- marshal.c 2010-04-27 21:24:05.000000000 +0200 | |
+++ marshal.c 2010-04-27 21:11:07.000000000 +0200 | |
@@ -2,8 +2,8 @@ | |
marshal.c - | |
- $Author: shyouhei $ | |
- $Date: 2009-01-28 13:12:07 +0100 (Mi, 28 Jan 2009) $ | |
+ $Author$ | |
+ $Date$ | |
created at: Thu Apr 27 16:30:01 JST 1995 | |
Copyright (C) 1993-2003 Yukihiro Matsumoto | |
diff -x .git -x .gitignore -ruB math.c math.c | |
--- math.c 2010-04-27 21:24:05.000000000 +0200 | |
+++ math.c 2010-04-27 21:11:07.000000000 +0200 | |
@@ -2,8 +2,8 @@ | |
math.c - | |
- $Author: shyouhei $ | |
- $Date: 2008-07-02 11:26:29 +0200 (Mi, 02 Jul 2008) $ | |
+ $Author$ | |
+ $Date$ | |
created at: Tue Jan 25 14:12:56 JST 1994 | |
Copyright (C) 1993-2003 Yukihiro Matsumoto | |
diff -x .git -x .gitignore -ruB mdoc2man.rb mdoc2man.rb | |
--- mdoc2man.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ mdoc2man.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -39,7 +39,7 @@ | |
### OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | |
### SUCH DAMAGE. | |
### | |
-### $Id: mdoc2man.rb 11708 2007-02-12 23:01:19Z shyouhei $ | |
+### $Id$ | |
### | |
class Mdoc2Man | |
diff -x .git -x .gitignore -ruB misc/inf-ruby.el misc/inf-ruby.el | |
--- misc/inf-ruby.el 2010-04-27 21:24:05.000000000 +0200 | |
+++ misc/inf-ruby.el 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,8 +1,8 @@ | |
;;; -*-Emacs-Lisp-*- | |
;;; | |
-;;; $Id: inf-ruby.el 12031 2007-03-11 10:01:15Z knu $ | |
-;;; $Author: knu $ | |
-;;; $Date: 2007-03-11 11:01:15 +0100 (So, 11 Mär 2007) $ | |
+;;; $Id$ | |
+;;; $Author$ | |
+;;; $Date$ | |
;;; | |
;;; Inferior Ruby Mode - ruby process in a buffer. | |
;;; adapted from cmuscheme.el | |
diff -x .git -x .gitignore -ruB misc/ruby-mode.el misc/ruby-mode.el | |
--- misc/ruby-mode.el 2010-04-27 21:24:05.000000000 +0200 | |
+++ misc/ruby-mode.el 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,12 +1,12 @@ | |
;;; | |
;;; ruby-mode.el - | |
;;; | |
-;;; $Author: knu $ | |
-;;; $Date: 2008-05-18 17:02:36 +0200 (So, 18 Mai 2008) $ | |
+;;; $Author$ | |
+;;; $Date$ | |
;;; created at: Fri Feb 4 14:49:13 JST 1994 | |
;;; | |
-(defconst ruby-mode-revision "$Revision: 16458 $") | |
+(defconst ruby-mode-revision "$Revision$") | |
(defconst ruby-mode-version | |
(progn | |
diff -x .git -x .gitignore -ruB missing/acosh.c missing/acosh.c | |
--- missing/acosh.c 2010-04-27 21:24:05.000000000 +0200 | |
+++ missing/acosh.c 2010-04-27 21:11:07.000000000 +0200 | |
@@ -2,8 +2,8 @@ | |
acosh.c - | |
- $Author: shyouhei $ | |
- $Date: 2007-02-13 00:01:19 +0100 (Di, 13 Feb 2007) $ | |
+ $Author$ | |
+ $Date$ | |
created at: Fri Apr 12 00:34:17 JST 2002 | |
public domain rewrite of acosh(3), asinh(3) and atanh(3) | |
diff -x .git -x .gitignore -ruB missing/strtod.c missing/strtod.c | |
--- missing/strtod.c 2010-04-27 21:24:05.000000000 +0200 | |
+++ missing/strtod.c 2010-04-27 21:11:07.000000000 +0200 | |
@@ -14,7 +14,7 @@ | |
* software for any purpose. It is provided "as is" without | |
* express or implied warranty. | |
* | |
- * RCS: @(#) $Id: strtod.c 11708 2007-02-12 23:01:19Z shyouhei $ | |
+ * RCS: @(#) $Id$ | |
*/ | |
#include "config.h" | |
diff -x .git -x .gitignore -ruB missing.h missing.h | |
--- missing.h 2010-04-27 21:24:05.000000000 +0200 | |
+++ missing.h 2010-04-27 21:11:07.000000000 +0200 | |
@@ -3,8 +3,8 @@ | |
missing.h - prototype for *.c in ./missing, and | |
for missing timeval struct | |
- $Author: knu $ | |
- $Date: 2008-06-06 12:39:57 +0200 (Fr, 06 Jun 2008) $ | |
+ $Author$ | |
+ $Date$ | |
created at: Sat May 11 23:46:03 JST 2002 | |
************************************************/ | |
diff -x .git -x .gitignore -ruB node.h node.h | |
--- node.h 2010-04-27 21:24:05.000000000 +0200 | |
+++ node.h 2010-04-27 21:11:07.000000000 +0200 | |
@@ -2,8 +2,8 @@ | |
node.h - | |
- $Author: shyouhei $ | |
- $Date: 2009-02-25 07:15:55 +0100 (Mi, 25 Feb 2009) $ | |
+ $Author$ | |
+ $Date$ | |
created at: Fri May 28 15:14:02 JST 1993 | |
Copyright (C) 1993-2003 Yukihiro Matsumoto | |
diff -x .git -x .gitignore -ruB numeric.c numeric.c | |
--- numeric.c 2010-04-27 21:24:05.000000000 +0200 | |
+++ numeric.c 2010-04-27 21:11:07.000000000 +0200 | |
@@ -2,8 +2,8 @@ | |
numeric.c - | |
- $Author: shyouhei $ | |
- $Date: 2009-02-22 13:43:42 +0100 (So, 22 Feb 2009) $ | |
+ $Author$ | |
+ $Date$ | |
created at: Fri Aug 13 18:33:09 JST 1993 | |
Copyright (C) 1993-2003 Yukihiro Matsumoto | |
diff -x .git -x .gitignore -ruB object.c object.c | |
--- object.c 2010-04-27 21:24:05.000000000 +0200 | |
+++ object.c 2010-04-27 21:11:07.000000000 +0200 | |
@@ -2,8 +2,8 @@ | |
object.c - | |
- $Author: shyouhei $ | |
- $Date: 2008-07-03 13:14:50 +0200 (Do, 03 Jul 2008) $ | |
+ $Author$ | |
+ $Date$ | |
created at: Thu Jul 15 12:01:24 JST 1993 | |
Copyright (C) 1993-2003 Yukihiro Matsumoto | |
diff -x .git -x .gitignore -ruB pack.c pack.c | |
--- pack.c 2010-04-27 21:24:05.000000000 +0200 | |
+++ pack.c 2010-04-27 21:11:07.000000000 +0200 | |
@@ -2,8 +2,8 @@ | |
pack.c - | |
- $Author: shyouhei $ | |
- $Date: 2009-02-19 10:02:43 +0100 (Do, 19 Feb 2009) $ | |
+ $Author$ | |
+ $Date$ | |
created at: Thu Feb 10 15:17:05 JST 1994 | |
Copyright (C) 1993-2003 Yukihiro Matsumoto | |
diff -x .git -x .gitignore -ruB parse.y parse.y | |
--- parse.y 2010-04-27 21:24:05.000000000 +0200 | |
+++ parse.y 2010-04-27 21:11:07.000000000 +0200 | |
@@ -2,8 +2,8 @@ | |
parse.y - | |
- $Author: shyouhei $ | |
- $Date: 2009-03-09 00:55:21 +0100 (Mo, 09 Mär 2009) $ | |
+ $Author$ | |
+ $Date$ | |
created at: Fri May 28 18:02:42 JST 1993 | |
Copyright (C) 1993-2003 Yukihiro Matsumoto | |
diff -x .git -x .gitignore -ruB prec.c prec.c | |
--- prec.c 2010-04-27 21:24:05.000000000 +0200 | |
+++ prec.c 2010-04-27 21:11:07.000000000 +0200 | |
@@ -2,8 +2,8 @@ | |
prec.c - | |
- $Author: shyouhei $ | |
- $Date: 2007-02-13 00:01:19 +0100 (Di, 13 Feb 2007) $ | |
+ $Author$ | |
+ $Date$ | |
created at: Tue Jan 26 02:40:41 2000 | |
Copyright (C) 1993-2003 Yukihiro Matsumoto | |
diff -x .git -x .gitignore -ruB process.c process.c | |
--- process.c 2010-04-27 21:54:12.000000000 +0200 | |
+++ process.c 2010-04-27 21:11:07.000000000 +0200 | |
@@ -2,8 +2,8 @@ | |
process.c - | |
- $Author: shyouhei $ | |
- $Date: 2008-06-29 11:34:43 +0200 (So, 29 Jun 2008) $ | |
+ $Author$ | |
+ $Date$ | |
created at: Tue Aug 10 14:30:50 JST 1993 | |
Copyright (C) 1993-2003 Yukihiro Matsumoto | |
@@ -1330,11 +1330,14 @@ | |
fflush(stderr); | |
#endif | |
+ rb_gc_before_fork(); | |
+ | |
switch (pid = fork()) { | |
case 0: | |
#ifdef linux | |
after_exec(); | |
#endif | |
+ rb_gc_after_fork(); | |
rb_thread_atfork(); | |
if (rb_block_given_p()) { | |
int status; | |
@@ -1570,9 +1573,11 @@ | |
chfunc = signal(SIGCHLD, SIG_DFL); | |
retry: | |
+ rb_gc_before_fork(); | |
pid = fork(); | |
if (pid == 0) { | |
/* child process */ | |
+ rb_gc_after_fork(); | |
rb_thread_atfork(); | |
rb_protect(proc_exec_args, (VALUE)&earg, NULL); | |
_exit(127); | |
diff -x .git -x .gitignore -ruB random.c random.c | |
--- random.c 2010-04-27 21:24:05.000000000 +0200 | |
+++ random.c 2010-04-27 21:11:07.000000000 +0200 | |
@@ -2,8 +2,8 @@ | |
random.c - | |
- $Author: shyouhei $ | |
- $Date: 2009-01-17 04:18:21 +0100 (Sa, 17 Jan 2009) $ | |
+ $Author$ | |
+ $Date$ | |
created at: Fri Dec 24 16:39:21 JST 1993 | |
Copyright (C) 1993-2003 Yukihiro Matsumoto | |
diff -x .git -x .gitignore -ruB range.c range.c | |
--- range.c 2010-04-27 21:24:05.000000000 +0200 | |
+++ range.c 2010-04-27 21:11:07.000000000 +0200 | |
@@ -2,8 +2,8 @@ | |
range.c - | |
- $Author: shyouhei $ | |
- $Date: 2009-02-22 13:43:42 +0100 (So, 22 Feb 2009) $ | |
+ $Author$ | |
+ $Date$ | |
created at: Thu Aug 19 17:46:47 JST 1993 | |
Copyright (C) 1993-2003 Yukihiro Matsumoto | |
diff -x .git -x .gitignore -ruB re.c re.c | |
--- re.c 2010-04-27 21:24:05.000000000 +0200 | |
+++ re.c 2010-04-27 21:11:07.000000000 +0200 | |
@@ -2,7 +2,7 @@ | |
re.c - | |
- $Author: shyouhei $ | |
+ $Author$ | |
created at: Mon Aug 9 18:24:49 JST 1993 | |
Copyright (C) 1993-2003 Yukihiro Matsumoto | |
diff -x .git -x .gitignore -ruB re.h re.h | |
--- re.h 2010-04-27 21:24:05.000000000 +0200 | |
+++ re.h 2010-04-27 21:11:07.000000000 +0200 | |
@@ -2,8 +2,8 @@ | |
re.h - | |
- $Author: shyouhei $ | |
- $Date: 2009-08-04 04:04:58 +0200 (Di, 04 Aug 2009) $ | |
+ $Author$ | |
+ $Date$ | |
created at: Thu Sep 30 14:18:32 JST 1993 | |
Copyright (C) 1993-2003 Yukihiro Matsumoto | |
diff -x .git -x .gitignore -ruB ruby.c ruby.c | |
--- ruby.c 2010-04-27 21:24:05.000000000 +0200 | |
+++ ruby.c 2010-04-27 21:11:07.000000000 +0200 | |
@@ -2,8 +2,8 @@ | |
ruby.c - | |
- $Author: shyouhei $ | |
- $Date: 2008-07-10 11:38:35 +0200 (Do, 10 Jul 2008) $ | |
+ $Author$ | |
+ $Date$ | |
created at: Tue Aug 10 12:47:31 JST 1993 | |
Copyright (C) 1993-2003 Yukihiro Matsumoto | |
diff -x .git -x .gitignore -ruB ruby.h ruby.h | |
--- ruby.h 2010-04-27 21:24:05.000000000 +0200 | |
+++ ruby.h 2010-04-27 21:11:07.000000000 +0200 | |
@@ -2,7 +2,7 @@ | |
ruby.h - | |
- $Author: shyouhei $ | |
+ $Author$ | |
created at: Thu Jun 10 14:26:32 JST 1993 | |
Copyright (C) 1993-2003 Yukihiro Matsumoto | |
diff -x .git -x .gitignore -ruB rubyio.h rubyio.h | |
--- rubyio.h 2010-04-27 21:24:05.000000000 +0200 | |
+++ rubyio.h 2010-04-27 21:11:07.000000000 +0200 | |
@@ -2,8 +2,8 @@ | |
rubyio.h - | |
- $Author: nobu $ | |
- $Date: 2008-04-15 05:35:55 +0200 (Di, 15 Apr 2008) $ | |
+ $Author$ | |
+ $Date$ | |
created at: Fri Nov 12 16:47:09 JST 1993 | |
Copyright (C) 1993-2003 Yukihiro Matsumoto | |
diff -x .git -x .gitignore -ruB rubysig.h rubysig.h | |
--- rubysig.h 2010-04-27 21:24:05.000000000 +0200 | |
+++ rubysig.h 2010-04-27 21:11:07.000000000 +0200 | |
@@ -2,8 +2,8 @@ | |
rubysig.h - | |
- $Author: shyouhei $ | |
- $Date: 2009-01-05 03:16:18 +0100 (Mo, 05 Jan 2009) $ | |
+ $Author$ | |
+ $Date$ | |
created at: Wed Aug 16 01:15:38 JST 1995 | |
Copyright (C) 1993-2003 Yukihiro Matsumoto | |
diff -x .git -x .gitignore -ruB sample/biorhythm.rb sample/biorhythm.rb | |
--- sample/biorhythm.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ sample/biorhythm.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -2,8 +2,8 @@ | |
# | |
# biorhythm.rb - | |
# $Release Version: $ | |
-# $Revision: 11708 $ | |
-# $Date: 2007-02-13 00:01:19 +0100 (Di, 13 Feb 2007) $ | |
+# $Revision$ | |
+# $Date$ | |
# by Yasuo OHBA(STAFS Development Room) | |
# | |
# -- | |
diff -x .git -x .gitignore -ruB signal.c signal.c | |
--- signal.c 2010-04-27 21:24:05.000000000 +0200 | |
+++ signal.c 2010-04-27 21:11:07.000000000 +0200 | |
@@ -2,8 +2,8 @@ | |
signal.c - | |
- $Author: knu $ | |
- $Date: 2008-06-06 12:39:57 +0200 (Fr, 06 Jun 2008) $ | |
+ $Author$ | |
+ $Date$ | |
created at: Tue Dec 20 10:13:44 JST 1994 | |
Copyright (C) 1993-2003 Yukihiro Matsumoto | |
diff -x .git -x .gitignore -ruB sprintf.c sprintf.c | |
--- sprintf.c 2010-04-27 21:24:05.000000000 +0200 | |
+++ sprintf.c 2010-04-27 21:11:07.000000000 +0200 | |
@@ -2,8 +2,8 @@ | |
sprintf.c - | |
- $Author: shyouhei $ | |
- $Date: 2008-06-20 01:12:46 +0200 (Fr, 20 Jun 2008) $ | |
+ $Author$ | |
+ $Date$ | |
created at: Fri Oct 15 10:39:26 JST 1993 | |
Copyright (C) 1993-2003 Yukihiro Matsumoto | |
diff -x .git -x .gitignore -ruB string.c string.c | |
--- string.c 2010-04-27 21:24:05.000000000 +0200 | |
+++ string.c 2010-04-27 21:11:07.000000000 +0200 | |
@@ -2,8 +2,8 @@ | |
string.c - | |
- $Author: shyouhei $ | |
- $Date: 2009-02-17 03:59:26 +0100 (Di, 17 Feb 2009) $ | |
+ $Author$ | |
+ $Date$ | |
created at: Mon Aug 9 17:12:58 JST 1993 | |
Copyright (C) 1993-2003 Yukihiro Matsumoto | |
diff -x .git -x .gitignore -ruB struct.c struct.c | |
--- struct.c 2010-04-27 21:24:05.000000000 +0200 | |
+++ struct.c 2010-04-27 21:11:07.000000000 +0200 | |
@@ -2,8 +2,8 @@ | |
struct.c - | |
- $Author: knu $ | |
- $Date: 2008-05-31 13:44:49 +0200 (Sa, 31 Mai 2008) $ | |
+ $Author$ | |
+ $Date$ | |
created at: Tue Mar 22 18:44:30 JST 1995 | |
Copyright (C) 1993-2003 Yukihiro Matsumoto | |
diff -x .git -x .gitignore -ruB test/digest/test_digest.rb test/digest/test_digest.rb | |
--- test/digest/test_digest.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ test/digest/test_digest.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,7 +1,7 @@ | |
#!/usr/bin/env ruby | |
# | |
# $RoughId: test.rb,v 1.4 2001/07/13 15:38:27 knu Exp $ | |
-# $Id: test_digest.rb 11708 2007-02-12 23:01:19Z shyouhei $ | |
+# $Id$ | |
require 'test/unit' | |
diff -x .git -x .gitignore -ruB test/fileutils/fileasserts.rb test/fileutils/fileasserts.rb | |
--- test/fileutils/fileasserts.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ test/fileutils/fileasserts.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,4 +1,4 @@ | |
-# $Id: fileasserts.rb 11708 2007-02-12 23:01:19Z shyouhei $ | |
+# $Id$ | |
module Test | |
module Unit | |
diff -x .git -x .gitignore -ruB test/fileutils/test_dryrun.rb test/fileutils/test_dryrun.rb | |
--- test/fileutils/test_dryrun.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ test/fileutils/test_dryrun.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,4 +1,4 @@ | |
-# $Id: test_dryrun.rb 11708 2007-02-12 23:01:19Z shyouhei $ | |
+# $Id$ | |
require 'test/unit' | |
require 'fileutils' | |
diff -x .git -x .gitignore -ruB test/fileutils/test_fileutils.rb test/fileutils/test_fileutils.rb | |
--- test/fileutils/test_fileutils.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ test/fileutils/test_fileutils.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,4 +1,4 @@ | |
-# $Id: test_fileutils.rb 11708 2007-02-12 23:01:19Z shyouhei $ | |
+# $Id$ | |
require 'fileutils' | |
require 'fileasserts' | |
diff -x .git -x .gitignore -ruB test/fileutils/test_nowrite.rb test/fileutils/test_nowrite.rb | |
--- test/fileutils/test_nowrite.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ test/fileutils/test_nowrite.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,4 +1,4 @@ | |
-# $Id: test_nowrite.rb 11708 2007-02-12 23:01:19Z shyouhei $ | |
+# $Id$ | |
require 'fileutils' | |
require 'fileasserts' | |
diff -x .git -x .gitignore -ruB test/fileutils/test_verbose.rb test/fileutils/test_verbose.rb | |
--- test/fileutils/test_verbose.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ test/fileutils/test_verbose.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,4 +1,4 @@ | |
-# $Id: test_verbose.rb 11708 2007-02-12 23:01:19Z shyouhei $ | |
+# $Id$ | |
require 'test/unit' | |
require 'fileutils' | |
diff -x .git -x .gitignore -ruB test/runner.rb test/runner.rb | |
--- test/runner.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ test/runner.rb 2010-04-27 21:11:07.000000000 +0200 | |
@@ -1,6 +1,6 @@ | |
require 'test/unit' | |
-rcsid = %w$Id: runner.rb 11708 2007-02-12 23:01:19Z shyouhei $ | |
+rcsid = %w$Id$ | |
Version = rcsid[2].scan(/\d+/).collect!(&method(:Integer)).freeze | |
Release = rcsid[3].freeze | |
diff -x .git -x .gitignore -ruB test/yaml/test_yaml.rb test/yaml/test_yaml.rb | |
--- test/yaml/test_yaml.rb 2010-04-27 21:24:05.000000000 +0200 | |
+++ test/yaml/test_yaml.rb 2010-04-27 21:11:08.000000000 +0200 | |
@@ -1,6 +1,6 @@ | |
# -*- mode: ruby; ruby-indent-level: 4; tab-width: 4 -*- | |
# vim:sw=4:ts=4 | |
-# $Id: test_yaml.rb 16084 2008-04-19 11:45:39Z knu $ | |
+# $Id$ | |
# | |
require 'test/unit' | |
require 'yaml' | |
diff -x .git -x .gitignore -ruB time.c time.c | |
--- time.c 2010-04-27 21:24:05.000000000 +0200 | |
+++ time.c 2010-04-27 21:11:08.000000000 +0200 | |
@@ -2,8 +2,8 @@ | |
time.c - | |
- $Author: shyouhei $ | |
- $Date: 2009-07-12 18:42:27 +0200 (So, 12 Jul 2009) $ | |
+ $Author$ | |
+ $Date$ | |
created at: Tue Dec 28 14:31:59 JST 1993 | |
Copyright (C) 1993-2003 Yukihiro Matsumoto | |
diff -x .git -x .gitignore -ruB util.c util.c | |
--- util.c 2010-04-27 21:24:05.000000000 +0200 | |
+++ util.c 2010-04-27 21:11:08.000000000 +0200 | |
@@ -2,8 +2,8 @@ | |
util.c - | |
- $Author: shyouhei $ | |
- $Date: 2009-06-03 14:13:40 +0200 (Mi, 03 Jun 2009) $ | |
+ $Author$ | |
+ $Date$ | |
created at: Fri Mar 10 17:22:34 JST 1995 | |
Copyright (C) 1993-2008 Yukihiro Matsumoto | |
diff -x .git -x .gitignore -ruB util.h util.h | |
--- util.h 2010-04-27 21:24:05.000000000 +0200 | |
+++ util.h 2010-04-27 21:11:08.000000000 +0200 | |
@@ -2,8 +2,8 @@ | |
util.h - | |
- $Author: shyouhei $ | |
- $Date: 2007-02-13 00:01:19 +0100 (Di, 13 Feb 2007) $ | |
+ $Author$ | |
+ $Date$ | |
created at: Thu Mar 9 11:55:53 JST 1995 | |
Copyright (C) 1993-2003 Yukihiro Matsumoto | |
diff -x .git -x .gitignore -ruB variable.c variable.c | |
--- variable.c 2010-04-27 21:24:05.000000000 +0200 | |
+++ variable.c 2010-04-27 21:11:08.000000000 +0200 | |
@@ -2,8 +2,8 @@ | |
variable.c - | |
- $Author: shyouhei $ | |
- $Date: 2009-02-02 03:37:26 +0100 (Mo, 02 Feb 2009) $ | |
+ $Author$ | |
+ $Date$ | |
created at: Tue Apr 19 23:55:15 JST 1994 | |
Copyright (C) 1993-2003 Yukihiro Matsumoto | |
diff -x .git -x .gitignore -ruB version.c version.c | |
--- version.c 2010-04-27 21:24:05.000000000 +0200 | |
+++ version.c 2010-04-27 21:11:08.000000000 +0200 | |
@@ -2,8 +2,8 @@ | |
version.c - | |
- $Author: knu $ | |
- $Date: 2008-05-31 15:37:06 +0200 (Sa, 31 Mai 2008) $ | |
+ $Author$ | |
+ $Date$ | |
created at: Thu Sep 30 20:08:01 JST 1993 | |
Copyright (C) 1993-2003 Yukihiro Matsumoto | |
diff -x .git -x .gitignore -ruB x68/_dtos18.c x68/_dtos18.c | |
--- x68/_dtos18.c 2010-04-27 21:24:05.000000000 +0200 | |
+++ x68/_dtos18.c 2010-04-27 21:11:08.000000000 +0200 | |
@@ -5,7 +5,7 @@ | |
* in public domain. You can freely use, copy, modify, and redistribute | |
* the whole contents, without this notice. | |
* -------------------------------------------------------------------- | |
- * $Id: _dtos18.c 11708 2007-02-12 23:01:19Z shyouhei $ | |
+ * $Id$ | |
*/ | |
/* System headers */ | |
diff -x .git -x .gitignore -ruB x68/_round.c x68/_round.c | |
--- x68/_round.c 2010-04-27 21:24:05.000000000 +0200 | |
+++ x68/_round.c 2010-04-27 21:11:08.000000000 +0200 | |
@@ -5,7 +5,7 @@ | |
* in public domain. You can freely use, copy, modify, and redistribute | |
* the whole contents, without this notice. | |
* -------------------------------------------------------------------- | |
- * $Id: _round.c 11708 2007-02-12 23:01:19Z shyouhei $ | |
+ * $Id$ | |
*/ | |
/* changed 1997.2.2 by K.Okabe */ | |
diff -x .git -x .gitignore -ruB x68/fconvert.c x68/fconvert.c | |
--- x68/fconvert.c 2010-04-27 21:24:05.000000000 +0200 | |
+++ x68/fconvert.c 2010-04-27 21:11:08.000000000 +0200 | |
@@ -5,7 +5,7 @@ | |
* in public domain. You can freely use, copy, modify, and redistribute | |
* the whole contents, without this notice. | |
* -------------------------------------------------------------------- | |
- * $Id: fconvert.c 11708 2007-02-12 23:01:19Z shyouhei $ | |
+ * $Id$ | |
*/ | |
/* changed 1997.2.3 by K.Okabe */ | |
diff -x .git -x .gitignore -ruB x68/select.c x68/select.c | |
--- x68/select.c 2010-04-27 21:24:05.000000000 +0200 | |
+++ x68/select.c 2010-04-27 21:11:08.000000000 +0200 | |
@@ -5,7 +5,7 @@ | |
* in public domain. You can freely use, copy, modify, and redistribute | |
* the whole contents, without this notice. | |
* -------------------------------------------------------------------- | |
- * $Id: select.c 11708 2007-02-12 23:01:19Z shyouhei $ | |
+ * $Id$ | |
*/ | |
#ifndef __IOCS_INLINE__ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment