From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8314 invoked from network); 18 Dec 2007 16:22:38 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.3 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 18 Dec 2007 16:22:38 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 57339 invoked from network); 18 Dec 2007 16:22:31 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 18 Dec 2007 16:22:31 -0000 Received: (qmail 25225 invoked by alias); 18 Dec 2007 16:22:28 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 24282 Received: (qmail 25209 invoked from network); 18 Dec 2007 16:22:28 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 18 Dec 2007 16:22:28 -0000 Received: from virusfilter.dotsrc.org (bifrost [127.0.0.1]) by spamfilter.dotsrc.org (Postfix) with ESMTP id 8A8818058F54 for ; Tue, 18 Dec 2007 17:19:19 +0100 (CET) Received: from sdf.lonestar.org (mx.freeshell.ORG [192.94.73.19]) by bifrost.dotsrc.org (Postfix) with ESMTP for ; Tue, 18 Dec 2007 17:19:16 +0100 (CET) Received: from sdf.lonestar.org (IDENT:pda@sverige.freeshell.org [192.94.73.4]) by sdf.lonestar.org (8.14.1/8.13.8) with ESMTP id lBIGMFZ2018523 for ; Tue, 18 Dec 2007 16:22:15 GMT Received: (from pda@localhost) by sdf.lonestar.org (8.14.1/8.12.8/Submit) id lBIGMBvY016069 for zsh-workers@sunsite.dk; Tue, 18 Dec 2007 16:22:11 GMT From: Paul Ackersviller Date: Tue, 18 Dec 2007 16:22:11 +0000 To: Zsh hackers list Subject: Re: Compilation error in Src/Modules/curses.c on HP-UX Message-ID: <20071218162211.GA11442@sverige> Mail-Followup-To: Zsh hackers list References: <21585.1197814087@pws-pc> <20071216173733.GM982@prunille.vinc17.org> <20071216193143.ac75ef46.p.w.stephenson@ntlworld.com> <20071217004133.GB11772@sverige> <20071217014231.GF22518@blorf.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20071217014231.GF22518@blorf.net> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: ClamAV using ClamSMTP On Sun, Dec 16, 2007 at 05:42:31PM -0800, Wayne Davison wrote: > On Mon, Dec 17, 2007 at 12:41:33AM +0000, Paul Ackersviller wrote: > > 1332 if (getyx(w->win, intarr[0], intarr[1]) == ERR || > > 1333 getbegyx(w->win, intarr[2], intarr[3]) == ERR || > > 1334 getmaxyx(w->win, intarr[4], intarr[5]) == ERR) > > These are all defined as returning void in both the linux docs and hp > docs that I checked. So this checking of the return values is illegal. For the record, your patch solved my HP and curses problem -- thanks.