Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:101168 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 48032 invoked from network); 27 Nov 2017 17:51:24 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 27 Nov 2017 17:51:24 -0000 Authentication-Results: pb1.pair.com header.from=php@golemon.com; sender-id=softfail Authentication-Results: pb1.pair.com smtp.mail=php@golemon.com; spf=softfail; sender-id=softfail Received-SPF: softfail (pb1.pair.com: domain golemon.com does not designate 209.85.220.177 as permitted sender) X-PHP-List-Original-Sender: php@golemon.com X-Host-Fingerprint: 209.85.220.177 mail-qk0-f177.google.com Received: from [209.85.220.177] ([209.85.220.177:44753] helo=mail-qk0-f177.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 36/6A-26862-A905C1A5 for ; Mon, 27 Nov 2017 12:51:23 -0500 Received: by mail-qk0-f177.google.com with SMTP id n3so33514765qkn.11 for ; Mon, 27 Nov 2017 09:51:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=golemon-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-transfer-encoding; bh=7UbBGhQ1cC2/YB4mM1+xvppEUfVpKNLd3u6cGyUvaqU=; b=U5esqpNt7Fr8rofSlruXKfP/gcVkpY6nEou5Xqs4XTdazkLElGJrVUTE+qoxU8sK8j HwFrywvMRuTXFVl1TkQxK2piSc1PZPjTZc5IdMYxW8v00u6mNdi4bNA+rScvR3s0AHld 3t/OMSThWQy86M7qLQIXWIyL5f4vLSyzXsdToSJV9qbuYrpLC66bOt1DiUCkQZsZv5+4 cXJzDaY4QBE6zs6ws79Tz/j5zofpPFEyyfPNaO0xXhmecT3V/MV44LaANOCcEAe7kpY6 qy9YOGEuiURS2AS0b6DE7sFGPrs6DbMl4MN1vOYic6OsVXcOYm6ne20a1oVEAW6d7ZMy NmVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc:content-transfer-encoding; bh=7UbBGhQ1cC2/YB4mM1+xvppEUfVpKNLd3u6cGyUvaqU=; b=g0DpCP2vfd0AqM4zl1721iPqGBHSjEI8XQDsR7mP3ZyJh6m1MOksL5dTGFQJW2h6Ib /nMH+JeZlAxXmnUzKNRuPbUkxH0q5jtDBZ9fg4MuPXxQkg5TGGGy847p9CSe2ppQKLss SINwG3h6UjVujec8QSmPwGaUb7e08kK5qGJGd8v62D86tpbptV7kyjgI1YGhzTG7Q/kc SlQXIGHYJaGNbUen9x84tN8LJUVqkepk8aLlMzBg3G16i/5yeE3jb8oKo4wYPKExJRZd SchrbT3KZv0mwnLhuye4Qy6PgsJLULs8yFSwFEVtIEswlql6aF9bYBoukLpHluJazZD3 Aoew== X-Gm-Message-State: AJaThX7Kjk+0ISseWJnVjKXQRZs+Ppi7OsaA/vjkZ9U9d8jRlLKrGsk9 jfBTM8RQqg+5FJ5GOngQT9FSm7FQ5g6yNcXkGhw9e2Mq X-Google-Smtp-Source: AGs4zMYeLaPbe5Y9hVlWCfSRf97pCs7+jstWRWUtcewWo4NpURuycpLwrzH7wBkRE/4/Z8/x1ma/6gHxSRAFfRkR4cw= X-Received: by 10.55.6.149 with SMTP id 143mr17275987qkg.43.1511805080101; Mon, 27 Nov 2017 09:51:20 -0800 (PST) MIME-Version: 1.0 Sender: php@golemon.com Received: by 10.12.158.145 with HTTP; Mon, 27 Nov 2017 09:51:19 -0800 (PST) X-Originating-IP: [206.252.215.26] In-Reply-To: <85a60268-3d24-aa0b-9072-3783735612d6@beccati.com> References: <73a4b3a5-5a48-fdab-8d7a-08cc596661ff@anderiasch.de> <587c708c-48b9-b18e-098f-26ac0a113cc8@anderiasch.de> <142a4a73-ee43-efea-d1f9-69ad981178f9@anderiasch.de> <85a60268-3d24-aa0b-9072-3783735612d6@beccati.com> Date: Mon, 27 Nov 2017 12:51:19 -0500 X-Google-Sender-Auth: LKssvxhgIFiMtUKxdGz7VhbSBaw Message-ID: To: Matteo Beccati Cc: Florian Anderiasch , PHP internals , Dan Ackroyd Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] net_get_interfaces() From: pollita@php.net (Sara Golemon) On Mon, Nov 27, 2017 at 12:23 PM, Matteo Beccati wrote: > I've just tested a NetBSD 7.0 i386 machine and I'm getting a few errors: > > ext/standard/net.c: At top level: > ext/standard/net.c:98:13: warning: =E2=80=98iface_append_unicast=E2=80=99= defined but > not used [-Wunused-function] > static void iface_append_unicast(zval *unicast, zend_long flags, > ^ > *** Error code 1 > Interesting, that tells me that getifaddrs() isn't available on your system. I've pushed a fix for the include and the unused method, but I'll have to spin up a NetBSD VM to figure out a way to support the functionality on that platform. Thanks for testing! -Sara