From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Fix use of sockaddr_in Date: Sat, 13 May 2017 21:14:33 +0200 Message-ID: <877f1kefhi.fsf@linux-m68k.org> References: <83shk989r5.fsf@gnu.org> <20170513150837.31184-1-phst@google.com> <83h90o8zt9.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1494702895 9907 195.159.176.226 (13 May 2017 19:14:55 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 13 May 2017 19:14:55 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) Cc: phst@google.com, Philipp Stephani , emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat May 13 21:14:51 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d9cV7-0002TB-D6 for ged-emacs-devel@m.gmane.org; Sat, 13 May 2017 21:14:49 +0200 Original-Received: from localhost ([::1]:58625 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d9cVC-00022I-S7 for ged-emacs-devel@m.gmane.org; Sat, 13 May 2017 15:14:54 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43724) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d9cV0-00021x-Ag for emacs-devel@gnu.org; Sat, 13 May 2017 15:14:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d9cUz-0004i8-I6 for emacs-devel@gnu.org; Sat, 13 May 2017 15:14:42 -0400 Original-Received: from mail-out.m-online.net ([212.18.0.10]:58818) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1d9cUv-0004bx-Lp; Sat, 13 May 2017 15:14:37 -0400 Original-Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 3wQGk33Ngcz1qqkr; Sat, 13 May 2017 21:14:35 +0200 (CEST) Original-Received: from localhost (dynscan01.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 3wQGk32fVFz3jgXn; Sat, 13 May 2017 21:14:35 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Original-Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan01.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id PmKzPaZD-Y_f; Sat, 13 May 2017 21:14:34 +0200 (CEST) X-Auth-Info: g8hN0YWB6cJ35Kn+u24ZQfgeIdVPwxFjHHEjGP+rlLWQGTFShPusbH7iDUQ4drH+ Original-Received: from igel.home (ppp-88-217-13-105.dynamic.mnet-online.de [88.217.13.105]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Sat, 13 May 2017 21:14:34 +0200 (CEST) Original-Received: by igel.home (Postfix, from userid 1000) id 512E62C511D; Sat, 13 May 2017 21:14:33 +0200 (CEST) X-Yow: LBJ, LBJ, how many JOKES did you tell today??! In-Reply-To: <83h90o8zt9.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 13 May 2017 19:52:02 +0300") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 212.18.0.10 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:214830 Archived-At: On Mai 13 2017, Eli Zaretskii wrote: > The first hunk doesn't seem to be necessary, though: in both IPv4 and > IPv6 structures, the port is at the same offset and has the same size. That isn't true for AF_UNIX addresses. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."