Preserve the case of the user-specified port encoding string.
authorMark H Weaver <mhw@netris.org>
Wed, 3 Apr 2013 20:00:12 +0000 (16:00 -0400)
committerMark H Weaver <mhw@netris.org>
Wed, 3 Apr 2013 20:07:34 +0000 (16:07 -0400)
commit412053922501e2e9cac7fc0c1b91de8fc3aa375a
tree35921a33a272ba929184c1d89a39febbbeb20dca
parentc3e3ef6eb6d1487d342389b202b0b00f9385de6a
Preserve the case of the user-specified port encoding string.

* libguile/ports.c (scm_i_set_port_encoding_x): Always copy the
  user-provided port encoding string, so that its case will be preserved
  and returned exactly by subsequent calls to 'port-encoding'.
libguile/ports.c