Re: Re: POSIX 1003.1-2001 gethostname(2)
| From: | Pierre Joye | Date: | Tue, 30 Dec 2008 08:35:57 +0000 |
| Subject: | Re: Re: POSIX 1003.1-2001 gethostname(2) | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-42406@lists.php.net to get a copy of this message | ||
hi,
On Tue, Dec 30, 2008 at 1:00 AM, Kalle <kalle.php@gmail.com> wrote:
> Hi Ilia
>
> Den 30/12/2008 kl. 00.30 skrev Ilia Alshanetsky <ilia@prohost.org>:
>
>> Here is a pretty simple patch that will provide the indicated function. If
>> no one objects I'll commit it to 5.3/6 branches in the next day or two.
>>
>> <gethostname.txt>
>
> You should use zend_parse_parameters_none() here.
>
> I have no test env here, but does it work on Windows?
Yes, I only have to add HAVE_GETHOSTNAME to config.w32.h.in
Cheers,
--
Pierre
http://blog.thepimp.net | http://www.libgd.org