zsh-workers
 help / color / mirror / code / Atom feed
From: "İsmail Dönmez" <ismail@namtrac.org>
To: zsh-workers@sunsite.dk
Subject: [PATCH] Unbreak CVS compilation
Date: Tue, 26 Feb 2008 20:04:57 +0200	[thread overview]
Message-ID: <19e566510802261004k40a416fwc74aa89beafdfef4@mail.gmail.com> (raw)

[-- 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)");

                 reply	other threads:[~2008-02-26 18:05 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=19e566510802261004k40a416fwc74aa89beafdfef4@mail.gmail.com \
    --to=ismail@namtrac.org \
    --cc=zsh-workers@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).