[#32910] NKF,Kconv — Kazuhiro NISHIYAMA <zn@...>
西山和広です。
[#32913] openの"b"とencoding — Kazuhiro NISHIYAMA <zn@...>
西山和広です。
[#32922] SEGV by regexp match in while loop — Tanaka Akira <akr@...>
Debian GNU/Linux (sarge) の gcc-3.4 を使ってビルドした ruby
[#32935] queue and timeout — Tanaka Akira <akr@...>
timeout で Queue#pop に時間制限をつけた時、タイムアウト時に
まつもと ゆきひろです
[#32940] ripper cannot build on win32 — yukimi_sake <yukimi_sake@...>
雪見酒です。
[#32945] Shift_JIS variants and UTF-16 support — "U.Nakamura" <usa@...>
こんにちは、なかむら(う)です。
中村さん、こんにちは。
まつもと ゆきひろです
成瀬です。
まつもと ゆきひろです
こんにちは、なかむら(う)です。
成瀬です。
こんにちは、なかむら(う)です。
成瀬です。
こんにちは、なかむら(う)です。
まつもと ゆきひろです
[#32946] replica と alias の違い(encoding) — KIMURA Koichi <kimura.koichi@...>
木村です。
[#32987] error with open-uri (instance_eval?) — "U.Nakamura" <usa@...>
こんにちは、なかむら(う)です。
[#32988] Re: [ruby-cvs:22194] Ruby:r14957 (trunk): * encoding.c (rb_enc_init): UTF-{16,32}{BE,LE} are not builtin. — Yukihiro Matsumoto <matz@...>
まつもと ゆきひろです
[#32992] ASCII is alias of US-ASCII; replica of dummy encoding is not a dummy — "NARUSE, Yui" <naruse@...>
成瀬です。
まつもと ゆきひろです
At 18:13 08/01/09, Yukihiro Matsumoto wrote:
成瀬です。
まつもと ゆきひろです
成瀬です。
まつもと ゆきひろです
なかだです。
まつもと ゆきひろです
[#32996] binmode and ASCII-8BIT — Kazuhiro NISHIYAMA <zn@...>
西山和広です。
[#33069] Re: [ruby-cvs:22244] Ruby:r15007 (trunk): * enc/make_encdb.rb: added. search enc/*.c and make encoding database. — Yukihiro Matsumoto <matz@...>
まつもと ゆきひろです
まつもと ゆきひろです
[#33076] Encoding.compatible? and dummy encodings — sheepman <sheepman@...>
こんにちは sheepman です。
成瀬です。
まつもと ゆきひろです
[#33078] NEW REPLICA ENCODINGS AND ENCODING ALIASES — "NARUSE, Yui" <naruse@...>
成瀬です。
[#33101] String#valid_encoding? shoud be strict? — Masayoshi Takahashi <maki@...>
高橋征義です。1.9のエンコーディングとString#valid_encoding?について。
[#33139] Bignum#* might invoke GC parallelly? — "Yusuke ENDOH" <mame@...>
遠藤と申します。
[#33156] default script encoding and -K option — sheepman <sheepman@...>
こんばんは sheepman です。
こんにちは、なかむら(う)です。
まつもと ゆきひろです
[#33164] default encoding for Marshal.load — "Shugo Maeda" <shugo@...>
前田です。
まつもと ゆきひろです
[#33185] コンパイルの問題 (r15218) — Martin Duerst <duerst@...>
r15128 当たりで (実はもう少し前から) コンパイルできなくなりました。
[#33218] Re: Ruby1.9String バイト列へのインデックス アクセス — "Hisanori Kiryu" <hkiryu@...>
> ちなみに、byte のではなく bytes の方が妥当だと思います。
[#33224] printf "%0x" — Tanaka Akira <akr@...>
printf の %0x に負の整数を与えると、値によって .. がついたり
[#33226] [PATCH] warnings of enc/trans/utf_16_32.c — Nobuyoshi Nakada <nobu@...>
なかだです。
[#33239] Re: [ruby-cvs:22386] Ruby:r15149 (trunk): * string.c (rb_str_each_char): move forward. — Tanaka Akira <akr@...>
In article <200801210259.m0L2x3CW017171@ci.ruby-lang.org>,
なかだです。
In article <20080121065650.55F60E0662@mail.bc9.jp>,
なかだです。
まつもと ゆきひろです
[#33247] requests to transcode — "U.Nakamura" <usa@...>
こんにちは、なかむら(う)です。
[#33303] Time#strftimeのエンコーディング — rubikitch@...
るびきちです。
まつもと ゆきひろです
なかだです。
西山和広です。
[#33368] summary of script encoding — "U.Nakamura" <usa@...>
こんにちは、なかむら(う)です。
まつもと ゆきひろです
こんにちは、なかむら(う)です。
まつもと ゆきひろです
永井@知能.九工大です.
[#33387] HashからStructを作る — rubikitch@...
るびきちです。
まつもと ゆきひろです
From: Yukihiro Matsumoto <matz@ruby-lang.org>
まつもと ゆきひろです
From: Yukihiro Matsumoto <matz@ruby-lang.org>
まつもと ゆきひろです
From: Yukihiro Matsumoto <matz@ruby-lang.org>
まつもと ゆきひろです
[#33399] regexp match /.../n against to UTF-8 string — Tanaka Akira <akr@...>
以下のように、つけてもいない正規表現の n オプションに関して
[#33400] /#{}/e.encoding — Tanaka Akira <akr@...>
以下のように /#{}/e の encoding が US-ASCII になります。
[#33403] wrapped String#gsub — "Park Ji-In" <tisphie@...>
こんにちは、朴 芝印です。
[#33417] コンパイルの問題 — Martin Duerst <duerst@...>
現在 (r15264 で) コンパイル使用とすると、エラーになります:
At 16:28 08/01/27, you wrote:
[#33433] Win32OLE: set encoding to OLE string — "U.Nakamura" <usa@...>
こんにちは、なかむら(う)です。
成瀬です。
助田です。
こんにちは、なかむら(う)です。
こんにちは、なかむら(う)です。
[#33452] enc/euc_kr.c (euckr_mbc_enc_len) euc_kr.c is also used by CP942 — "NARUSE, Yui" <naruse@...>
成瀬です。
まつもと ゆきひろです
成瀬です。
[#33461] Failed to make ruby-1.8.6-p111 on MacOSX 10.5(Leopard) — MORITA Hideyuki <h-morita@...>
=1B$B?9ED$H?=3D$7$^$9!#=1B(B
なかだです。
森田です。
なかだです。
森田です。
天野竜太郎と申します。
森田です。
天野です。
森田です。
天野です。
森田です。
天野です。
森田です。
天野です。
[#33488] 現在の script encoding の値を得る方法は? — Hidetoshi NAGAI <nagai@...>
永井@知能.九工大です.
まつもと ゆきひろです
永井@知能.九工大です.
成瀬です。
永井@知能.九工大です.
成瀬です。
永井@知能.九工大です.
成瀬です。
In article <47A00E86.4010701@airemix.com>,
成瀬です。
In article <47A03C9D.2090008@airemix.com>,
In article <87hcgvu1ng.fsf@fsij.org>,
[#33521] nkf の CP932 — Martin Duerst <duerst@...>
成瀬さん、皆さん、こんにちは。
[#33548] block parameter of String#gsub — "NARUSE, Yui" <naruse@...>
成瀬です。
まつもと ゆきひろです
[ruby-dev:33250] Re: SEGV by test/ruby/test_io_m17n.rb
田中さん、こんにちは。
これは encode でこけましたみたいので、責任を感じていますが、
これから何をすればあまりよく分かりませんので教えてください。
もっと短い Ruby のプログラムでエラーがでれば是非送ってください。
At 12:36 08/01/21, Tanaka Akira wrote:
>test_io_m17n.rb で SEGV するようになったようです。
>
>% ./ruby test/runner.rb test/ruby/test_io_m17n.rb
こちらでこれをやろうとしたら、
test/runner.rb:3:in `require': no such file to load -- test/unit (LoadError)
になりました。
./ruby を (install 済み) の ruby に変更したら、Error 一つと
Failure 一つがでてきました。これはそちらの Segmentation fault
と関係あるのでしょうか。
宜しくお願いします。 Martin.
duerst@Tanzawa /cygdrive/d/ruby
$ ruby test/runner.rb test/ruby/test_io_m17n.rb
Loaded suite test_io_m17n.rb
Started
E.....................F..
Finished in 1.125 seconds.
1) Error:
test_getc_stateful_conversion(TestIO_M17N):
RuntimeError: this mode is not supported (ESC
/cygdrive/d/ruby/test/ruby/test_io_m17n.rb:231:in `encode'
/cygdrive/d/ruby/test/ruby/test_io_m17n.rb:231:in `getc'
/cygdrive/d/ruby/test/ruby/test_io_m17n.rb:231:in `block (2 levels) in test_getc_stateful_conversion'
/cygdrive/d/ruby/test/ruby/test_io_m17n.rb:230:in `open'
/cygdrive/d/ruby/test/ruby/test_io_m17n.rb:230:in `block in test_getc_stateful_conversion'
/cygdrive/d/ruby/test/ruby/test_io_m17n.rb:16:in `block (2 levels) in with_tmpdir'
/cygdrive/d/ruby/test/ruby/test_io_m17n.rb:15:in `chdir'
/cygdrive/d/ruby/test/ruby/test_io_m17n.rb:15:in `block in with_tmpdir'
/usr/local/lib/ruby/1.9.0/tmpdir.rb:122:in `mktmpdir'
/cygdrive/d/ruby/test/ruby/test_io_m17n.rb:14:in `with_tmpdir'
/cygdrive/d/ruby/test/ruby/test_io_m17n.rb:227:in `test_getc_stateful_conversion'
2) Failure:
test_terminator_stateful_conversion(TestIO_M17N)
[/cygdrive/d/ruby/test/ruby/test_io_m17n.rb:44:in `assert_str_equal'
/cygdrive/d/ruby/test/ruby/test_io_m17n.rb:177:in `block in test_terminator_stateful_conversion'
/cygdrive/d/ruby/test/ruby/test_io_m17n.rb:16:in `block (2 levels) in with_tmpdir'
/cygdrive/d/ruby/test/ruby/test_io_m17n.rb:15:in `chdir'
/cygdrive/d/ruby/test/ruby/test_io_m17n.rb:15:in `block in with_tmpdir'
/usr/local/lib/ruby/1.9.0/tmpdir.rb:122:in `mktmpdir'
/cygdrive/d/ruby/test/ruby/test_io_m17n.rb:14:in `with_tmpdir'
/cygdrive/d/ruby/test/ruby/test_io_m17n.rb:170:in `test_terminator_stateful_conversion']:
"before \xA3\xB0\xA3\xB1 after".force_encoding("EUC-JP") expected but not equal to
"before \xA3\xB0".force_encoding("EUC-JP").
25 tests, 157 assertions, 1 failures, 1 errors
duerst@Tanzawa /cygdrive/d/ruby
$
>Loaded suite test_io_m17n.rb
>Started
>/tmp/a/ruby/test/ruby/test_io_m17n.rb:231: [BUG] Segmentation fault
>ruby 1.9.0 (2008-01-21 revision 0) [i686-linux]
>
>-- control frame ----------
>c:0031 p:---- s:0104 b:0104 l:000103 d:000103 CFUNC :encode
>c:0030 p:---- s:0102 b:0102 l:000101 d:000101 CFUNC :getc
>c:0029 p:0020 s:0099 b:0097 l:000067 d:000096 BLOCK
>/tmp/a/ruby/test/ruby/test_io_m17n.rb:231
>c:0028 p:---- s:0097 b:0097 l:000096 d:000096 FINISH :initialize
>c:0027 p:---- s:0095 b:0095 l:000094 d:000094 CFUNC :open
>c:0026 p:0037 s:0090 b:0090 l:000067 d:000089 BLOCK
>/tmp/a/ruby/test/ruby/test_io_m17n.rb:230
>c:0025 p:0006 s:0088 b:0088 l:000070 d:000087 BLOCK
>/tmp/a/ruby/test/ruby/test_io_m17n.rb:16
>c:0024 p:---- s:0089 b:0089 l:000088 d:000088 FINISH :call
>c:0023 p:---- s:0087 b:0087 l:000086 d:000086 CFUNC :chdir
>c:0022 p:0016 s:0083 b:0083 l:000070 d:000082 BLOCK
>/tmp/a/ruby/test/ruby/test_io_m17n.rb:15
>c:0021 p:0270 s:0081 b:0081 l:000080 d:000080 METHOD
>/tmp/a/lib/ruby/1.9.0/tmpdir.rb:122
>c:0020 p:0013 s:0071 b:0071 l:000070 d:000070 METHOD
>/tmp/a/ruby/test/ruby/test_io_m17n.rb:14
>c:0019 p:0007 s:0068 b:0068 l:000067 d:000067 METHOD
>/tmp/a/ruby/test/ruby/test_io_m17n.rb:227
>c:0018 p:0039 s:0065 b:0065 l:000064 d:000064 METHOD
>/tmp/a/lib/ruby/1.9.0/test/unit/testcase.rb:76
>c:0017 p:0015 s:0060 b:0060 l:000054 d:000059 BLOCK
>/tmp/a/lib/ruby/1.9.0/test/unit/testsuite.rb:34
>c:0016 p:---- s:0060 b:0060 l:000059 d:000059 FINISH :inherited
>c:0015 p:---- s:0058 b:0058 l:000057 d:000057 CFUNC :each
>c:0014 p:0026 s:0055 b:0055 l:000054 d:000054 METHOD
>/tmp/a/lib/ruby/1.9.0/test/unit/testsuite.rb:33
>c:0013 p:0015 s:0050 b:0050 l:000044 d:000049 BLOCK
>/tmp/a/lib/ruby/1.9.0/test/unit/testsuite.rb:34
>c:0012 p:---- s:0050 b:0050 l:000049 d:000049 FINISH :%
>c:0011 p:---- s:0048 b:0048 l:000047 d:000047 CFUNC :each
>c:0010 p:0026 s:0045 b:0045 l:000044 d:000044 METHOD
>/tmp/a/lib/ruby/1.9.0/test/unit/testsuite.rb:33
>c:0009 p:0128 s:0040 b:0040 l:001b04 d:001b04 METHOD
>/tmp/a/lib/ruby/1.9.0/test/unit/ui/testrunnermediator.rb:46
>c:0008 p:0008 s:0031 b:0031 l:000030 d:000030 METHOD
>/tmp/a/lib/ruby/1.9.0/test/unit/ui/console/testrunner.rb:67
>c:0007 p:0023 s:0028 b:0028 l:000027 d:000027 METHOD
>/tmp/a/lib/ruby/1.9.0/test/unit/ui/console/testrunner.rb:41
>c:0006 p:0026 s:0025 b:0025 l:000024 d:000024 METHOD
>/tmp/a/lib/ruby/1.9.0/test/unit/ui/testrunnerutilities.rb:29
>c:0005 p:0051 s:0020 b:0020 l:000019 d:000019 METHOD
>/tmp/a/lib/ruby/1.9.0/test/unit/autorunner.rb:216
>c:0004 p:0070 s:0016 b:0016 l:000015 d:000015 METHOD
>/tmp/a/lib/ruby/1.9.0/test/unit/autorunner.rb:12
>c:0003 p:0139 s:0008 b:0007 l:000006 d:000006 TOP test/runner.rb:9
>c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH :inherited
>c:0001 p:0000 s:0002 b:0002 l:000001 d:000001 TOP <dummy toplevel>:17
>---------------------------
>DBG> : "/tmp/a/ruby/test/ruby/test_io_m17n.rb:231:in `getc'"
>DBG> : "/tmp/a/ruby/test/ruby/test_io_m17n.rb:231:in `block (2 levels) in
>test_getc_stateful_conversion'"
>DBG> : "/tmp/a/ruby/test/ruby/test_io_m17n.rb:230:in `open'"
>DBG> : "/tmp/a/ruby/test/ruby/test_io_m17n.rb:230:in `block in
>test_getc_stateful_conversion'"
>DBG> : "/tmp/a/ruby/test/ruby/test_io_m17n.rb:16:in `block (2 levels) in
>with_tmpdir'"
>DBG> : "/tmp/a/ruby/test/ruby/test_io_m17n.rb:15:in `chdir'"
>DBG> : "/tmp/a/ruby/test/ruby/test_io_m17n.rb:15:in `block in with_tmpdir'"
>DBG> : "/tmp/a/lib/ruby/1.9.0/tmpdir.rb:122:in `mktmpdir'"
>DBG> : "/tmp/a/ruby/test/ruby/test_io_m17n.rb:14:in `with_tmpdir'"
>DBG> : "/tmp/a/ruby/test/ruby/test_io_m17n.rb:227:in
>`test_getc_stateful_conversion'"
>DBG> : "/tmp/a/lib/ruby/1.9.0/test/unit/testcase.rb:76:in `run'"
>DBG> : "/tmp/a/lib/ruby/1.9.0/test/unit/testsuite.rb:34:in `block in run'"
>DBG> : "/tmp/a/lib/ruby/1.9.0/test/unit/testsuite.rb:33:in `each'"
>DBG> : "/tmp/a/lib/ruby/1.9.0/test/unit/testsuite.rb:33:in `run'"
>DBG> : "/tmp/a/lib/ruby/1.9.0/test/unit/testsuite.rb:34:in `block in run'"
>DBG> : "/tmp/a/lib/ruby/1.9.0/test/unit/testsuite.rb:33:in `each'"
>DBG> : "/tmp/a/lib/ruby/1.9.0/test/unit/testsuite.rb:33:in `run'"
>DBG> : "/tmp/a/lib/ruby/1.9.0/test/unit/ui/testrunnermediator.rb:46:in
>`run_suite'"
>DBG> : "/tmp/a/lib/ruby/1.9.0/test/unit/ui/console/testrunner.rb:67:in
>`start_mediator'"
>DBG> : "/tmp/a/lib/ruby/1.9.0/test/unit/ui/console/testrunner.rb:41:in `start'"
>DBG> : "/tmp/a/lib/ruby/1.9.0/test/unit/ui/testrunnerutilities.rb:29:in `run'"
>DBG> : "/tmp/a/lib/ruby/1.9.0/test/unit/autorunner.rb:216:in `run'"
>DBG> : "/tmp/a/lib/ruby/1.9.0/test/unit/autorunner.rb:12:in `run'"
>DBG> : "test/runner.rb:9:in `<main>'"
>-- backtrace of native function call (Use addr2line) --
>0x80f07c5
>0x810f6de
>0x810f73b
>0x80bfa20
>0xb7f89440
>0x80d96e3
>0x80d9cc3
>0x80e6c9e
>0x80ef6e5
>0x805b3b8
>0x805b6a0
>0x805ba06
>0x806ad2e
>0x80eefe3
>0x80ea90e
>0x80ee1d4
>0x80ee907
>0x805ae4e
>0x8059911
>0x806af38
>0x807217d
>0x80e6c9e
>0x80eefe3
>0x80ea90e
>0x80ee1d4
>0x80ee907
>0x805ae4e
>0x8059911
>0x8109b97
>0x80e6c9e
>0x80eefe3
>0x80ea90e
>0x80ee1d4
>0x80ee907
>0x805ae4e
>0x80fa00f
>0x8059911
>0x80fb145
>0x80eefe3
>0x80ea90e
>0x80ee1d4
>0x80ee907
>0x805ae4e
>0x80fa00f
>0x8059911
>0x80fb145
>0x80eefe3
>0x80ea90e
>0x80ee1d4
>0x80ee50d
>0x805a759
>0x805e850
>0x8058185
>0xb7deaea8
>0x8058081
>-------------------------------------------------------
>zsh: abort (core dumped) ./ruby test/runner.rb test/ruby/test_io_m17n.rb
>--
>[田中 哲][たなか あきら][Tanaka Akira]
#-#-# Martin J. Du"rst, Assoc. Professor, Aoyama Gakuin University
#-#-# http://www.sw.it.aoyama.ac.jp mailto:duerst@it.aoyama.ac.jp