I haven't read any squid code for *months*, so I probably have no
business commenting...but what the heck. :)
At 24 Oct 1997 17:01:57 +0800, "Michael O'Reilly" writes:
>A few minor problems (I'm trying to compile the USE_ASYNC_IO stuff against
>linuxthreads-0.6).
>
>Big one: aiops.h doesn't seem to exist??
>
>Can't seem to find this anywhere. Found a version in squid-1.1.1, but
>the function prototypes et al don't match.
aiops.h my be an IRIX-specific header (I remember the first
hack'n'slash AIO stuff I did for squid, I managed to sneak some bits
in that were specific to SGI's aio implementation), so I guess it
might be a case of "some user assembly required". Read the Linux aio
man pages and see what system headers their aio funcs need and include
those instead.
>structs.h:858 defines a variable called 'errno'. The problem here is
>that linuxthreads want to '#define' errno to be a thread specific
>variable, and needless to say, it breaks badly.
>which doesn't look 100% correct... maybe s/) (/,/g ???
I don't have an ANSI standard to hand, but I have a sneaking feeling
that making errno a macro rather than an int is changing "defined
behaviour"... but I guess I shouldn't comment on that either till I
have a standard to hand :)
Pete.
Received on Tue Jul 29 2003 - 13:15:43 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:11:27 MST