httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: ap_status_t for Win32 (some conclusion finally?)
Date Sat, 01 Apr 2000 19:25:25 GMT

> >If I change the APR error definitions I posted earlier today so that
> >on Windows "return errno" works and that in macros we play some trick
> >on Windows like turn on bit 29 for native OS errors, does that meet
> >your approval? 
> I think this is more complex than is needed as it's platform specific.
> Some other platform may have actual error codes that have bit 29 set.
> Take a look at my proposed scheme and if you can find a significant
> disadvantage or deficiency in it then let us know. The way I've worked
> it, nothing needs to know about any bit mappings in Win32 error codes
> and should work in an identical way on all platforms. In fact it's so
> simple there must be _something_ wrong with it or we would have come up
> with it long ago (unless we're just slow that is ;-)


Unless I;ve misread your idea, it's just perfect.  And, we did come up
with it a long time ago, we just didn't take it far enough.  Your idea
should basically just add another macro that needs to be defined on each


Ryan Bloom               
406 29th St.
San Francisco, CA 94131

View raw message