Hi Sinisa,

> No, this is actually quite correct for Linux, as tested so far.
How would those functions know than which request is being processed?
In multithreaded case argument is the only way.
Don't rely on testing -- bug gets a "free ride" in this case on i386.
Even if it works -- it may very well stop working when you put -O3
or smth.

> What are declarations for your FBSD and what FBSD version is that ??
Declarations in K&R style -- w/out the arguments. That is incorrect
from the standpoint of C++. But C has this exception encoded so
it passes any usage of such functions. Correct with the argument
or incorrect w/out as in MySQL.
Definitions in libwrap.so are with argument
"struct request_info *" as it should be.

Version: FreeBSD-5.0-CURRENT, DEC Alpha DS7310.

---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to