ruby-cvs:23655
From: usa ruby-lang.org
Date: Wed, 14 May 2008 17:16:52 +0900 (JST)
Subject: [ruby-cvs:23655] Ruby:r16415 (ruby_1_8): * ext/tk/tkutil/extronf.rb: check stdndup() because it's not standard
usa 2008-05-14 17:16:51 +0900 (Wed, 14 May 2008)
New Revision: 16415
Modified files:
branches/ruby_1_8/ChangeLog
branches/ruby_1_8/ext/tk/tkutil/extconf.rb
branches/ruby_1_8/ext/tk/tkutil/tkutil.c
branches/ruby_1_8/version.h
Log:
* ext/tk/tkutil/extronf.rb: check stdndup() because it's not standard
function of C.
* ext/tk/tkutil/tkutil.c (cbsubst_table_setup): use malloc() and
strncpy() instead of strndup() if not available.
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8/ChangeLog?r1=16415&r2=16414&diff_format=u
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8/ext/tk/tkutil/extconf.rb?r1=16415&r2=16414&diff_format=u
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8/version.h?r1=16415&r2=16414&diff_format=u
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8/ext/tk/tkutil/tkutil.c?r1=16415&r2=16414&diff_format=u