From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17709 invoked from network); 19 Jun 2001 16:14:51 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 19 Jun 2001 16:14:51 -0000 Received: (qmail 16141 invoked by alias); 19 Jun 2001 16:14:14 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 14976 Received: (qmail 16122 invoked from network); 19 Jun 2001 16:14:14 -0000 From: "Bart Schaefer" Message-Id: <1010619161132.ZM16333@candle.brasslantern.com> Date: Tue, 19 Jun 2001 16:11:31 +0000 In-Reply-To: <000601c0f88b$77806660$21c9ca95@mow.siemens.ru> Comments: In reply to "Andrej Borsenkow" "AIX patch" (Jun 19, 10:45am) References: <000601c0f88b$77806660$21c9ca95@mow.siemens.ru> X-Mailer: Z-Mail (5.0.0 30July97) To: "Andrej Borsenkow" , "ZSH Workers Mailing List" Subject: Re: AIX patch MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Jun 19, 10:45am, Andrej Borsenkow wrote: } } Note, that it adds test for type of third argument to accept (that is used } in some other functions as well). It currently checks for size_t, unsigned } long and int (those I have on systems here and reported on AIX 4.x) Linux/gcc apparently has an actual `socklen_t' typedef. Probably should try that first. Index: aczsh.m4 =================================================================== RCS file: /extra/cvsroot/zsh/zsh-4.0/aczsh.m4,v retrieving revision 1.4 diff -u -r1.4 aczsh.m4 --- aczsh.m4 2001/06/19 16:00:43 1.4 +++ aczsh.m4 2001/06/19 16:01:45 @@ -695,7 +695,7 @@ [base type of the third argument to accept], [zsh_cv_type_socklen_t], [zsh_cv_type_socklen_t= - for zsh_type in int "unsigned long" size_t ; do + for zsh_type in socklen_t int "unsigned long" size_t ; do AC_TRY_COMPILE( [#include #include ], -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net