[#21508] eval BEGIN/END at runtime — "NAKAMURA, Hiroshi" <nakahiro@...>

なひです。

15 messages 2003/10/06

[#21616] access ENV on $SAFE==4 — Hidetoshi NAGAI <nagai@...>

永井@知能.九工大です.

44 messages 2003/10/14
[#21643] Re: access ENV on $SAFE==4 — matz@... (Yukihiro Matsumoto) 2003/10/20

まつもと ゆきひろです

[#21646] Re: access ENV on $SAFE==4 — TADA Tadashi <sho@...> 2003/10/20

ただただしです。

[#21656] Re: access ENV on $SAFE==4 — Hidetoshi NAGAI <nagai@...> 2003/10/20

永井@知能.九工大です.

[#21695] Re: access ENV on $SAFE==4 — Hidetoshi NAGAI <nagai@...> 2003/10/23

永井@知能.九工大です.

[#21696] Re: access ENV on $SAFE==4 — nobu.nakada@... 2003/10/23

なかだです。

[#21697] Re: access ENV on $SAFE==4 — Hidetoshi NAGAI <nagai@...> 2003/10/23

永井@知能.九工大です.

[#21698] Re: access ENV on $SAFE==4 — nobu.nakada@... 2003/10/23

なかだです。

[#21704] Re: access ENV on $SAFE==4 — Hidetoshi NAGAI <nagai@...> 2003/10/24

永井@知能.九工大です.

[#21712] Re: access ENV on $SAFE==4 — matz@... (Yukihiro Matsumoto) 2003/10/24

まつもと ゆきひろです

[#21713] Re: access ENV on $SAFE==4 — Hidetoshi NAGAI <nagai@...> 2003/10/24

永井@知能.九工大です.

[#21715] Re: access ENV on $SAFE==4 — matz@... (Yukihiro Matsumoto) 2003/10/25

まつもと ゆきひろです

[#21718] Re: access ENV on $SAFE==4 — Hidetoshi NAGAI <nagai@...> 2003/10/25

永井@知能.九工大です.

[#21720] Re: access ENV on $SAFE==4 — Hidetoshi NAGAI <nagai@...> 2003/10/25

永井@知能.九工大です.

[#21721] Re: access ENV on $SAFE==4 — matz@... (Yukihiro Matsumoto) 2003/10/25

まつもと ゆきひろです

[#21723] Re: access ENV on $SAFE==4 — Hidetoshi NAGAI <nagai@...> 2003/10/25

永井@知能.九工大です.

[#21727] Re: access ENV on $SAFE==4 — Hidetoshi NAGAI <nagai@...> 2003/10/26

永井@知能.九工大です.

[#21682] ruby-tk hangs when exception is raised — akira yamada <akira@...>

62 messages 2003/10/23
[#21683] Re: ruby-tk hangs when exception is raised — nobu.nakada@... 2003/10/23

なかだです。

[#21685] Re: ruby-tk hangs when exception is raised — akira yamada / やまだあきら <akira@...> 2003/10/23

[#21687] Re: ruby-tk hangs when exception is raised — Hidetoshi NAGAI <nagai@...> 2003/10/23

永井@知能.九工大です.

[#21688] Re: ruby-tk hangs when exception is raised — akira yamada / やまだあきら <akira@...> 2003/10/23

[#21691] Re: ruby-tk hangs when exception is raised — Hidetoshi NAGAI <nagai@...> 2003/10/23

永井@知能.九工大です.

[#21693] Re: ruby-tk hangs when exception is raised — akira yamada / やまだあきら <akira@...> 2003/10/23

[#21694] Re: ruby-tk hangs when exception is raised — Hidetoshi NAGAI <nagai@...> 2003/10/23

永井@知能.九工大です.

[#21736] Re: ruby-tk hangs when exception is raised — Hidetoshi NAGAI <nagai@...> 2003/10/28

永井@知能.九工大です.

[#21744] Re: ruby-tk hangs when exception is raised — akira yamada / やまだあきら <akira@...> 2003/10/28

[#21797] Re: ruby-tk hangs when exception is raised — Hidetoshi NAGAI <nagai@...> 2003/10/31

永井@知能.九工大です.

[#21801] Re: ruby-tk hangs when exception is raised — Hidetoshi NAGAI <nagai@...> 2003/11/01

永井@知能.九工大です.

[#21825] Re: ruby-tk hangs when exception is raised — Hidetoshi NAGAI <nagai@...> 2003/11/04

永井@知能.九工大です.

[#21833] pthread trouble on tcltklib (Re: ruby-tk hangs when exception is raised) — Hidetoshi NAGAI <nagai@...> 2003/11/05

永井@知能.九工大です.

[#21835] Re: pthread trouble on tcltklib — Hidetoshi NAGAI <nagai@...> 2003/11/05

永井@知能.九工大です.

[#21900] Re: pthread trouble on tcltklib — nobu.nakada@... 2003/11/11

なかだです。

[#21901] Re: pthread trouble on tcltklib — Hidetoshi NAGAI <nagai@...> 2003/11/12

永井@知能.九工大です.

[#21905] Re: pthread trouble on tcltklib — nobu.nakada@... 2003/11/12

なかだです。

[#21908] Re: pthread trouble on tcltklib — Hidetoshi NAGAI <nagai@...> 2003/11/12

永井@知能.九工大です.

[#21914] Re: pthread trouble on tcltklib — nobu.nakada@... 2003/11/12

なかだです。

[#21915] Re: pthread trouble on tcltklib — Hidetoshi NAGAI <nagai@...> 2003/11/12

永井@知能.九工大です.

[#21916] Re: pthread trouble on tcltklib — nobu.nakada@... 2003/11/12

なかだです。

[#21922] Re: pthread trouble on tcltklib — Hidetoshi NAGAI <nagai@...> 2003/11/14

永井@知能.九工大です.

[#21929] Re: pthread trouble on tcltklib — Tietew <tietew-ml-ruby-dev@...> 2003/11/17

[#21930] Re: pthread trouble on tcltklib — nobu.nakada@... 2003/11/17

なかだです。

[#21931] Re: pthread trouble on tcltklib — Hidetoshi NAGAI <nagai@...> 2003/11/17

永井@知能.九工大です.

[#21934] Re: pthread trouble on tcltklib — nobu.nakada@... 2003/11/17

なかだです。

[#21937] Re: pthread trouble on tcltklib — Hidetoshi NAGAI <nagai@...> 2003/11/17

永井@知能.九工大です.

[#21952] Re: pthread trouble on tcltklib — matz@... (Yukihiro Matsumoto) 2003/11/18

まつもと ゆきひろです

[#21957] Re: pthread trouble on tcltklib — Hidetoshi NAGAI <nagai@...> 2003/11/19

永井@知能.九工大です.

[#21958] Re: pthread trouble on tcltklib — Tietew <tietew-ml-ruby-dev@...> 2003/11/19

[#21959] Re: pthread trouble on tcltklib — Hidetoshi NAGAI <nagai@...> 2003/11/19

永井@知能.九工大です.

[#21960] Re: pthread trouble on tcltklib — Tietew <tietew-ml-ruby-dev@...> 2003/11/19

[#21707] drb Hash#each — matz@... (Yukihiro Matsumoto)

まつもと ゆきひろです

22 messages 2003/10/24
[#21708] Re: drb Hash#each — m_seki@... 2003/10/24

[#21709] Re: drb Hash#each — matz@... (Yukihiro Matsumoto) 2003/10/24

まつもと ゆきひろです

[#21710] Re: drb Hash#each — m_seki@... 2003/10/24

[#21747] ruby 1.8.1 preview1 schedule — matz@... (Yukihiro Matsumoto)

関係者各位、

25 messages 2003/10/29

[ruby-dev:21750] Re: ruby 1.8.1 preview1 schedule

From: "U.Nakamura" <usa@...>
Date: 2003-10-29 07:50:52 UTC
List: ruby-dev #21750
こんにちは、なかむら(う)です。

In message "[ruby-dev:21747] ruby 1.8.1 preview1 schedule"
    on Oct.29,2003 15:56:08, <matz@ruby-lang.org> wrote:
| コミットしたいが決めかねている人は議論を始めてください。

Tclが8.3以下のとき、ext/tcltklibで怒られるような気がします。
# 私のせいかもしれません

手元の8.3・8.4のtcl.hを眺めた感じでは、以下のようにするとよい
のではないと思うのですが、どうでしょう?

Index: ext/tcltklib/tcltklib.c
===================================================================
RCS file: /home/cvs/ruby/ext/tcltklib/tcltklib.c,v
retrieving revision 1.44
diff -u -1 -p -w -r1.44 tcltklib.c
--- ext/tcltklib/tcltklib.c	28 Oct 2003 06:23:47 -0000	1.44
+++ ext/tcltklib/tcltklib.c	29 Oct 2003 07:46:12 -0000
@@ -26,2 +26,16 @@
 
+#if TCL_MAJOR_VERSION >= 8
+# ifndef CONST84
+#  if TCL_MAJOR_VERSION == 8 && TCL_MINOR_VERSION <= 4 /* Tcl8.0.x -- 8.4b1 */
+#   define CONST84
+#  else /* unknown (maybe TCL_VERSION >= 8.5) */
+#   ifdef CONST
+#    define CONST84 CONST
+#   else
+#    define CONST84
+#   endif
+#  endif
+# endif
+#endif
+
 /* for ruby_debug */
@@ -864,4 +878,4 @@ ip_ruby(clientData, interp, argc, argv)
 /**************************/
-static char *VwaitVarProc _((ClientData, Tcl_Interp *, CONST char *,
-			     CONST char *, int));
+static char *VwaitVarProc _((ClientData, Tcl_Interp *, CONST84 char *,
+			     CONST84 char *, int));
 static char *
@@ -870,4 +884,4 @@ VwaitVarProc(clientData, interp, name1, 
     Tcl_Interp *interp;         /* Interpreter containing variable. */
-    CONST char *name1;          /* Name of variable. */
-    CONST char *name2;          /* Second part of variable name. */
+    CONST84 char *name1;        /* Name of variable. */
+    CONST84 char *name2;        /* Second part of variable name. */
     int flags;                  /* Information about what happened. */
@@ -955,4 +969,4 @@ ip_rbVwaitCommand(clientData, interp, ob
 /**************************/
-static char *WaitVariableProc _((ClientData, Tcl_Interp *, CONST char *,
-				 CONST char *, int));
+static char *WaitVariableProc _((ClientData, Tcl_Interp *, CONST84 char *,
+				 CONST84 char *, int));
 static char *
@@ -961,4 +975,4 @@ WaitVariableProc(clientData, interp, nam
     Tcl_Interp *interp;         /* Interpreter containing variable. */
-    CONST char *name1;          /* Name of variable. */
-    CONST char *name2;          /* Second part of variable name. */
+    CONST84 char *name1;        /* Name of variable. */
+    CONST84 char *name2;        /* Second part of variable name. */
     int flags;                  /* Information about what happened. */
@@ -1049,15 +1063,3 @@ ip_rbTkWaitCommand(clientData, interp, o
     if (Tcl_GetIndexFromObj(interp, objv[1], 
-# ifdef CONST84 /* Tcl8.4.x -- ?.?.? (current latest version is 8.4.4) */
                             (CONST84 char **)optionStrings, 
-# else
-#  if TCL_MAJOR_VERSION == 8 && TCL_MINOR_VERSION <= 4 /* Tcl8.0.x -- 8.4b1 */
-                            (char **)optionStrings, 
-#  else /* unknown (maybe TCL_VERSION >= 8.5) */
-#   ifdef CONST
-                            (CONST char **)optionStrings, 
-#   else
-                            optionStrings, 
-#   endif
-#  endif
-# endif
 			    "option", 0, &index) != TCL_OK) {
@@ -1175,4 +1177,4 @@ struct th_vwait_param {
 
-static char *rb_threadVwaitProc _((ClientData, Tcl_Interp *, CONST char *,
-				   CONST char *, int));
+static char *rb_threadVwaitProc _((ClientData, Tcl_Interp *, CONST84 char *,
+				   CONST84 char *, int));
 static char *
@@ -1181,4 +1183,4 @@ rb_threadVwaitProc(clientData, interp, n
     Tcl_Interp *interp;         /* Interpreter containing variable. */
-    CONST char *name1;          /* Name of variable. */
-    CONST char *name2;          /* Second part of variable name. */
+    CONST84 char *name1;        /* Name of variable. */
+    CONST84 char *name2;        /* Second part of variable name. */
     int flags;                  /* Information about what happened. */
@@ -1364,15 +1366,3 @@ ip_rb_threadTkWaitCommand(clientData, in
     if (Tcl_GetIndexFromObj(interp, objv[1], 
-# ifdef CONST84 /* Tcl8.4.x -- ?.?.? (current latest version is 8.4.4) */
                             (CONST84 char **)optionStrings, 
-# else
-#  if TCL_MAJOR_VERSION == 8 && TCL_MINOR_VERSION <= 4 /* Tcl8.0.x -- 8.4b1 */
-                            (char **)optionStrings, 
-#  else /* unknown (maybe TCL_VERSION >= 8.5) */
-#   ifdef CONST
-                            (CONST char **)optionStrings, 
-#   else
-                            optionStrings, 
-#   endif
-#  endif
-# endif
 			    "option", 0, &index) != TCL_OK) {
@@ -1980,18 +1970,4 @@ ip_invoke_real(argc, argv, obj)
 #if TCL_MAJOR_VERSION >= 8
-# ifdef CONST84 /* Tcl8.4.x -- ?.?.? (current latest version is 8.4.4) */
 	ptr->return_value = (*info.proc)(info.clientData, ptr->ip, 
 					 argc, (CONST84 char **)av);
-# else
-#  if TCL_MAJOR_VERSION == 8 && TCL_MINOR_VERSION <= 4 /* Tcl8.0.x -- 8.4b1 */
-	ptr->return_value = (*info.proc)(info.clientData, ptr->ip, argc, av);
-
-#  else /* unknown (maybe TCL_VERSION >= 8.5) */
-#   ifdef CONST
-	ptr->return_value = (*info.proc)(info.clientData, ptr->ip, 
-					 argc, (CONST char **)av);
-#   else
-	ptr->return_value = (*info.proc)(info.clientData, ptr->ip, argc, av);
-#   endif
-#  endif
-# endif
 #else /* TCL_MAJOR_VERSION < 8 */

それでは。
-- 
U.Nakamura <usa@osb.att.ne.jp>



In This Thread