hi Ilia, This does not sound correct and somehow random (host names are not paths). See http://msdn.microsoft.com/en-us/library/ms738532(v=vs.85).aspx for an example.
On Wed, Aug 10, 2011 at 5:59 PM, Ilia Alshanetsky <il...@php.net> wrote: > iliaa Wed, 10 Aug 2011 15:59:32 +0000 > > Revision: http://svn.php.net/viewvc?view=revision&revision=314753 > > Log: > Fix win32 build > > Changed paths: > U php/php-src/branches/PHP_5_3/ext/standard/dns.c > U php/php-src/branches/PHP_5_4/ext/standard/dns.c > U php/php-src/trunk/ext/standard/dns.c > > Modified: php/php-src/branches/PHP_5_3/ext/standard/dns.c > =================================================================== > --- php/php-src/branches/PHP_5_3/ext/standard/dns.c 2011-08-10 15:55:36 > UTC (rev 314752) > +++ php/php-src/branches/PHP_5_3/ext/standard/dns.c 2011-08-10 15:59:32 > UTC (rev 314753) > @@ -62,6 +62,10 @@ > #define AF_INET 2 /* internetwork: UDP, TCP, etc. */ > #endif > > +#ifndef MAXHOSTNAMELEN > +#define MAXHOSTNAMELEN 255 > +#endif > + > #include "php_dns.h" > > /* type compat */ > > Modified: php/php-src/branches/PHP_5_4/ext/standard/dns.c > =================================================================== > --- php/php-src/branches/PHP_5_4/ext/standard/dns.c 2011-08-10 15:55:36 > UTC (rev 314752) > +++ php/php-src/branches/PHP_5_4/ext/standard/dns.c 2011-08-10 15:59:32 > UTC (rev 314753) > @@ -62,6 +62,10 @@ > #define AF_INET 2 /* internetwork: UDP, TCP, etc. */ > #endif > > +#ifndef MAXHOSTNAMELEN > +#define MAXHOSTNAMELEN 255 > +#endif > + > #include "php_dns.h" > > /* type compat */ > > Modified: php/php-src/trunk/ext/standard/dns.c > =================================================================== > --- php/php-src/trunk/ext/standard/dns.c 2011-08-10 15:55:36 UTC (rev > 314752) > +++ php/php-src/trunk/ext/standard/dns.c 2011-08-10 15:59:32 UTC (rev > 314753) > @@ -62,6 +62,10 @@ > #define AF_INET 2 /* internetwork: UDP, TCP, etc. */ > #endif > > +#ifndef MAXHOSTNAMELEN > +#define MAXHOSTNAMELEN 255 > +#endif > + > #include "php_dns.h" > > /* type compat */ > > > -- > PHP CVS Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- Pierre @pierrejoye | http://blog.thepimp.net | http://www.libgd.org -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php