zsh-workers
 help / color / mirror / code / Atom feed
From: Andrej Borsenkow <Andrej.Borsenkow@mow.siemens.ru>
To: Bart Schaefer <schaefer@candle.brasslantern.com>
Cc: ZSH Workers Mailing List <zsh-workers@sunsite.dk>
Subject: Re: AIX patch
Date: Tue, 19 Jun 2001 22:48:40 +0400 (MSD)	[thread overview]
Message-ID: <Pine.SV4.4.33.0106192242180.22350-100000@itsrm2.mow.siemens.ru> (raw)
In-Reply-To: <1010619161132.ZM16333@candle.brasslantern.com>

On Tue, 19 Jun 2001, Bart Schaefer wrote:

> 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.
>
> +    for zsh_type in socklen_t int "unsigned long" size_t ; do

I had some considerations for testing for int first. If we hit some really
broken compiler that does not care about protoype mismatch we better have
the "most common" case first. It defaulted to int before - so let's stick
to int as much as possible. May be, I'm just plain paranoid. And the
whole needs check for general prototype support of course.

BTW Linux/gcc is pretty vague definition :-) On Mandrake cooker it finds
size_t.

-andrej


  reply	other threads:[~2001-06-19 18:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-19  6:45 Andrej Borsenkow
2001-06-19 16:11 ` Bart Schaefer
2001-06-19 18:48   ` Andrej Borsenkow [this message]
2001-06-20 17:12     ` Bart Schaefer
2001-06-20 17:56       ` Andrej Borsenkow

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=Pine.SV4.4.33.0106192242180.22350-100000@itsrm2.mow.siemens.ru \
    --to=andrej.borsenkow@mow.siemens.ru \
    --cc=schaefer@candle.brasslantern.com \
    --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).