* [PATCH] Unbreak CVS compilation
@ 2008-02-26 18:04 İsmail Dönmez
0 siblings, 0 replies; only message in thread
From: İsmail Dönmez @ 2008-02-26 18:04 UTC (permalink / raw)
To: zsh-workers
[-- Attachment #1: Type: text/plain, Size: 180 bytes --]
Hi all,
Last commit to the CVS repo broke compilation. Attached patch should fix it.
Regards,
ismail
--
Never learn by your mistakes, if you do you may never dare to try again
[-- Attachment #2: zsh.patch --]
[-- Type: application/octet-stream, Size: 600 bytes --]
diff --git a/Src/utils.c b/Src/utils.c
index 271f2c0..e9f551d 100644
--- a/Src/utils.c
+++ b/Src/utils.c
@@ -4885,9 +4885,9 @@ getkeystring(char *s, int *len, int how, int *misc)
* 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");
if (cd == (iconv_t)-1) {
zerr("cannot do charset conversion (iconv failed)");
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-02-26 18:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-26 18:04 [PATCH] Unbreak CVS compilation İsmail Dönmez
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).