tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/lib/libc/net



On Mon, 19 Aug 2013, Christos Zoulas wrote:
Perl has no business using symbols that are not defined in headers.

I agree.

How does it know if it is the Linux one: [...]
The IBM/AIX one: [...]
The QNX one: [...]
The Oracle/HPUX/Solaris one: [...]

I may have misunderstood it, but perl's configure script appears to do something like this:

   if (symbol is in libc) {
       if (prototype looks like X) ...;
       else if (prototype looks like Y) ...;
       else if (prototype looks like Z) ...;
   }

and it probably blows up if the symbol is there with no prototype.

--apb (Alan Barrett)


Home | Main Index | Thread Index | Old Index