Re: svn: /php/php-src/ branches/PHP_5_3/ext/standard/dns.c branches/PHP_5_4/ext/standard/dns.c trunk/ext/standard/dns.c
| From: | Pierre Joye | Date: | Wed, 10 Aug 2011 16:51:57 +0000 |
| Subject: | Re: svn: /php/php-src/ branches/PHP_5_3/ext/standard/dns.c branches/PHP_5_4/ext/standard/dns.c trunk/ext/standard/dns.c | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-65819@lists.php.net to get a copy of this message | ||
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 <iliaa@php.net> wrote:
> iliaa Wed, 10 Aug 2011 15:59:32 +0000
>
> Revision: http://svn.php.net/viewvc?view=revision&revision=314753á3
> ‚¢ømwmä*;Å%
>
> 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