Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:42406 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 5595 invoked from network); 30 Dec 2008 08:36:02 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 30 Dec 2008 08:36:02 -0000 Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 72.14.220.152 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 72.14.220.152 fg-out-1718.google.com Received: from [72.14.220.152] ([72.14.220.152:65233] helo=fg-out-1718.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 55/D3-14877-07DD9594 for ; Tue, 30 Dec 2008 03:36:00 -0500 Received: by fg-out-1718.google.com with SMTP id 16so1751265fgg.23 for ; Tue, 30 Dec 2008 00:35:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=pOMW4UwXaJUpD8zcz6uSOpLqcCKv3/Rq7Tgk+cC/7uI=; b=xhthm5QWIWuXc7NGkK+HGjPNEMxlIrZt1zngLlEW9VUpb7/vVTUROeDkLbvyAHOs2W uxzEAlw9b+pbl3JZ5CySQQFy/lhZFvNq7wF2Y3nxp0EouDX21p99dBrpXGs+8GRpUQ7J 1LNBuo7PiMrTzCyO4w5Z0XVLDkWgcRNvY9lo4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=qJzuKuK7CuqP3mdnHmkO17LDlvnVuXlmWpKr8uh9OISRKVycUHDSrMgCZ4LkNPfhXL DBAZ57y+Hfnl9bJeqDXxkiRPTEhHrNEoVaQNJoqs7tfQROh0uFI7ckf03cMfDAVZO+AE pNJxNCusKr99T7DvxDCmc6/1PHLXNsphPKHRw= Received: by 10.86.91.3 with SMTP id o3mr7098358fgb.35.1230626157255; Tue, 30 Dec 2008 00:35:57 -0800 (PST) Received: by 10.86.29.11 with HTTP; Tue, 30 Dec 2008 00:35:57 -0800 (PST) Message-ID: Date: Tue, 30 Dec 2008 09:35:57 +0100 To: Kalle Cc: "Ilia Alshanetsky" , "Daniel Brown" , "Brian A. Seklecki" , "PHP Development" In-Reply-To: <0EF4028C-3E68-418F-A7CF-FCBF7B1163C4@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <0EF4028C-3E68-418F-A7CF-FCBF7B1163C4@gmail.com> Subject: Re: [PHP-DEV] Re: [PHP] POSIX 1003.1-2001 gethostname(2) From: pierre.php@gmail.com ("Pierre Joye") hi, On Tue, Dec 30, 2008 at 1:00 AM, Kalle wrote: > Hi Ilia > > Den 30/12/2008 kl. 00.30 skrev Ilia Alshanetsky : > >> 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. >> >> > > 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