* transcode.c (rb_econv_open): make ec a local variable.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19260 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2008-09-08 16:11:32 +00:00
parent 4106a7c067
commit 65110d6464
2 changed files with 5 additions and 1 deletions

View file

@ -885,7 +885,7 @@ rb_econv_open(const char *sname, const char *dname, int ecflags)
{
transcoder_entry_t **entries = NULL;
int num_trans;
static rb_econv_t *ec;
rb_econv_t *ec;
rb_encoding *senc, *denc;
int sidx, didx;