diff options
Diffstat (limited to 'error.c')
-rw-r--r-- | error.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1059,6 +1059,7 @@ syserr_initialize(int argc, VALUE *argv, VALUE self) if (le != me && rb_enc_asciicompat(me)) le = me; }/* else assume err is non ASCII string. */ + if (OBJ_TAINTED(str)) OBJ_TAINT(mesg); rb_enc_associate(mesg, le); } else { |