From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27055 invoked from network); 2 Mar 2004 12:14:33 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 2 Mar 2004 12:14:33 -0000 Received: (qmail 12416 invoked by alias); 2 Mar 2004 12:14:25 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 19523 Received: (qmail 12383 invoked from network); 2 Mar 2004 12:14:24 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 2 Mar 2004 12:14:24 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [62.189.58.19] by sunsite.dk (MessageWall 1.0.8) with SMTP; 2 Mar 2004 12:14:24 -0000 Received: from MAILSWEEPER01.csr.com (mailhost1.csr.com [62.189.183.235]) by lhuumrelay3.lnd.ops.eu.uu.net (8.11.0/8.11.0) with ESMTP id i22CENv29461 for ; Tue, 2 Mar 2004 12:14:23 GMT Received: from EXCHANGE02.csr.com (unverified [192.168.137.45]) by MAILSWEEPER01.csr.com (Content Technologies SMTPRS 4.3.12) with ESMTP id ; Tue, 2 Mar 2004 12:14:03 +0000 Received: from csr.com ([192.168.144.127]) by EXCHANGE02.csr.com with Microsoft SMTPSVC(5.0.2195.5329); Tue, 2 Mar 2004 12:15:57 +0000 To: Ibraheem Umaru-Mohammed , zsh-workers@sunsite.dk (Zsh hackers list) Subject: Re: 4.2.0-pre-1 In-reply-to: "Ibraheem Umaru-Mohammed"'s message of "Tue, 02 Mar 2004 11:46:21 GMT." <20040302114621.GA3581@rabox> Date: Tue, 02 Mar 2004 12:14:21 +0000 Message-ID: <17613.1078229661@csr.com> From: Peter Stephenson X-OriginalArrivalTime: 02 Mar 2004 12:15:57.0457 (UTC) FILETIME=[1E09F810:01C40050] Ibraheem Umaru-Mohammed wrote: > Hmmmn, sigcount.h seems to have unclosed quotes: > > ,---- [ sigcount.h ] > | #define SIGCOUNT 59 > | #define sigmsg(sig) ((sig) <= SIGCOUNT ? sig_msg[sig] : "unknown signal3) > `---- Yes, I can believe that's wrong... Presumably it's also wrong in signames.c. The problem must be in signames2.awk which generates this: printf "#define sigmsg(sig) ((sig) <= SIGCOUNT ? sig_msg[sig] : %c%s%c)", 34, "unknown signal", 34 My guess is your awk is truncating the input line in some weird way. (It can't be 80 characters, however, since you wouldn't get the `unknown signal' at all.) Can you try altering that line as per the following patch and see if that helps? If your awk is playing up, you might find other weirdness, in particular the `# ifdef USE_SUSPENDED' bit in signames.c. So even if it looks like it works it would be worth checking (or posting) the resulting signames.c. Any fixes ought to be similarly trivial, but I wouldn't like to second guess what awk is actually getting up to. Index: Src/signames2.awk =================================================================== RCS file: /cvsroot/zsh/zsh/Src/signames2.awk,v retrieving revision 1.1.1.4 diff -u -r1.1.1.4 signames2.awk --- Src/signames2.awk 15 Feb 2000 16:44:54 -0000 1.1.1.4 +++ Src/signames2.awk 2 Mar 2004 12:05:38 -0000 @@ -63,7 +63,8 @@ printf "#include %czsh.mdh%c\n", 34, 34 printf "\n" printf "/**/\n" - printf "#define sigmsg(sig) ((sig) <= SIGCOUNT ? sig_msg[sig] : %c%s%c)", 34, "unknown signal", 34 + printf "#define sigmsg(sig) ((sig) <= SIGCOUNT ? sig_msg[sig]" + printf " : %c%s%c)", 34, "unknown signal", 34 printf "\n" printf "/**/\n" printf "mod_export char *sig_msg[SIGCOUNT+2] = {\n" -- Peter Stephenson Software Engineer CSR Ltd., Science Park, Milton Road, Cambridge, CB4 0WH, UK Tel: +44 (0)1223 692070 ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. www.mimesweeper.com **********************************************************************