Fixing yet another regression introduced in rev1.37 by preserving cs_local

pointer such that local to DOS code page conversion with combined option
'-L,-D' works again.

Reviewed by:	rodrigc
This commit is contained in:
Tai-hwa Liang 2005-12-01 00:18:48 +00:00
parent 045d4ae3f6
commit 9f6442eea2

View File

@ -126,6 +126,7 @@ main(int argc, char **argv)
err(EX_CONFIG, "%s", optarg);
quirk = kiconv_quirkcs(csp + 1, KICONV_VENDOR_MICSFT);
build_iovec_argf(&iov, &iovlen, "cs_local", quirk);
cs_local = strdup(quirk);
}
break;
case 'D':