httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Hyde <bh...@pobox.com>
Subject Re: checking for EWOULDBLOCK/EAGAIN *inside* APR
Date Fri, 07 Apr 2000 19:18:46 GMT
Jeff Trawick <trawickj@bellsouth.net> writes:
> Ben mentioned a concern that something like "(errno == EAGAIN || errno
> == EWOULDBLOCK)" might lead to a compiler warning.  gcc -Wall doesn't
> emit one, however.  If we find a better solution later, we can always
> handle it then.

I believe -Wall notices:

  switch(errno){
  case EAGAIN:
  case EWOULDBLOCK:
    ...
  ...
 }

Not that it's imporant.

Oh, fyi ben != Ben, and I'm ben.  Ben has a bunker, sadly all I have is a big basement.


Mime
View raw message