mistakes in those three lines of code, as
Geoff pointed out. I was lulled into a false sense of security
because
this doesn't get compiled on my machine. I tried it specially.
Index: Src/utils.c
===================================================================
RCS file: /cvsroot/zsh/zsh/Src/utils.c,v
retrieving revision 1.178
diff -u -r1.178 utils.c
--- Src/utils.c 26 Feb 2008 16:19:34 -0000 1.178
+++ Src/utils.c 26 Feb 2008 18:05:59 -0000
@@ -4885,9 +4885,9 @@
* It shouldn't ever be NULL, but while we're
* being paranoid...
*/
- if (!codessetstr || !*codsetstr ||
+ if (!codesetstr || !*codesetstr ||
!strcmp(codesetstr, "646"))
- codesetstr == "US-ASCII";
+ codesetstr = "US-ASCII";
cd = iconv_open(nl_langinfo(CODESET), "UCS-4BE");