From: matz@... (Yukihiro Matsumoto) Date: 1995-12-21T18:08:16+09:00 Subject: [ruby-list:4] Re: ruby の install について 障ゃ 蚊鐚帥宴若с鐚 In message "ruby install ゃ" on 95/12/21, KITA Jun-ichiro writes: |紊鐚紊ф宴潟障鐚 | |`吾с' с鐚`tk 吾ゃ潟帥若с若鴻' |鴻潟cэruby 潟潟ゃс鐚ゃ羂篁 |鴻cэ障с怨障鐚 障鐚篁緇鐚 |膈馹鐚make test ф激潟筝伹障鐚 |<医с? 絽翫膣莨若違с鐚篁ヤ綵 鐚篁ヤゃ障鐚<ゃ patch -p ゃ綵с鐚 --- array.c~ Thu Dec 21 14:39:19 1995 +++ array.c Thu Dec 21 14:36:06 1995 @@ -283,8 +283,8 @@ end = len + end; if (end < 0) end = 0; } - if (len < end) end = len; - if (beg < end) { + if (end > len) end = len; + if (beg > end) { *lenp = 0; } else { --- variable.c~ Thu Dec 21 16:23:39 1995 +++ variable.c Thu Dec 21 16:13:09 1995 @@ -315,7 +315,7 @@ } static void -readonly_setter(id, var, val) +readonly_setter(val, id, var) ID id; void *var; VALUE val; |障鐚configure х Makefile ゃс鐚make clean |鐚ext/ make install 障障鐚 腆冴鐚紊掩с鐚障鐚 --- Makefile.in~ Wed Dec 20 12:06:12 1995 +++ Makefile.in Thu Dec 21 17:39:57 1995 @@ -96 +96 @@ - cd ext; ../ruby ./extmk.rb install + cd ext; ../ruby ./extmk.rb clean |篁鐚solaris 2.* с |-lsocket -lnsl 綽荀 Makefile 荐菴違障鐚 篆罩c障鐚 --- ext/socket/extconf.rb~ Thu Dec 21 17:58:31 1995 +++ ext/socket/extconf.rb Thu Dec 21 17:57:01 1995 @@ -1,0 +2 @@ +have_library("nls", "gethostbyname") |障鐚BSD/OS2.0.1 с鐚READ_DATA_PENDING ReadDataPending() |define с鐚潟 `ReadDataPending() <' |障障鐚 | |#ifdef bsdi |# define READ_DATA_PENDING(fp) ((fp)->_r > 0) |#endif | |障鐚罩c障鐚 紊鐚罩c障鐚 --- configure.in~ Wed Dec 6 12:23:41 1995 +++ configure.in Thu Dec 21 18:00:49 1995 @@ -76,3 +76,3 @@ [FILE *f = stdin; f->_cnt = 0;], rb_cv_fcnt="_cnt", ) -if test "$rb_cv_fcnt=" = ""; then +if test "$rb_cv_fcnt" = ""; then AC_TRY_COMPILE([#include ], @@ -80,3 +80,3 @@ fi -if test "$rb_cv_fcnt=" = ""; then +if test "$rb_cv_fcnt" = ""; then AC_TRY_COMPILE([#include ], @@ -84,3 +84,3 @@ fi -if test "$rb_cv_fcnt=" = ""; then +if test "$rb_cv_fcnt" = ""; then AC_TRY_COMPILE([#include ], --- configure~ Wed Dec 6 12:23:44 1995 +++ configure Thu Dec 21 18:01:27 1995 @@ -2167,3 +2167,3 @@ -if test "$rb_cv_fcnt=" = ""; then +if test "$rb_cv_fcnt" = ""; then cat > conftest.$ac_ext < conftest.$ac_ext < conftest.$ac_ext < + +require 'tk.rb' + +class TkScrollbox:TkListbox + include TkComposite + def initialize_composite + list = TkListbox.new(@frame) + scroll = TkScrollbar.new(@frame) + @path = list.path + + list.yscroll proc{|idx| + scroll.set *idx + } + list.pack 'side'=>'left','fill'=>'both','expand'=>'yes' + scroll.command proc{|idx| + list.yview *idx + } + scroll.pack 'side'=>'right','fill'=>'y' + + delegate('DEFALUT', list) + delegate('foreground', list, scroll) + delegate('background', list, scroll) + delegate('borderwidth', @frame) + delegate('relief', @frame) + end +end |篁ヤ鐚х潟荐潟с鐚医晃с鐚 紊у障鐚障鐚 篁ヤ賢ruby-0.95a.tar.gz障鐚障鏄 c翫鐚ャс ruby-archive@caelum.co.jp 'get'泣吾с<ゃc鐚 # <ゃ潟違鴻ruby-list@caelum.co.jpс鐚