From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from omta038.useast.a.cloudfilter.net (omta038.useast.a.cloudfilter.net [44.202.169.37]) by sourceware.org (Postfix) with ESMTPS id 6EF273858C78 for ; Tue, 21 May 2024 17:55:25 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 6EF273858C78 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=tromey.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=tromey.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 6EF273858C78 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=44.202.169.37 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1716314127; cv=none; b=RSiH+I0kbrGKeqXuLLwiluG4aRhIoz1j77A3uc+ovFr8eOauZu4Zfr+46TyUQx+hzkpQrqYm9fA4IN+cGjElwkj2bSAGd7E9d7DUe4alclGS1ybP89zy3kSPnJb0tv7LiUccTmWurSkme9yU27cSwXgeCFEtHBdxmeYjKPnk61k= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1716314127; c=relaxed/simple; bh=aXSPDEF4/JmXoU6XXUuIDfVhkJcTspkHV6jhqS74WQo=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=yAR/YApfxLwo13A7M1hVHAepH/UzjKDI/6sIF7qqx12o/ubFPLoN4RxJoC1EhLrXB67KX1pDN97LtW/tT9UBB4DjxGGyhRgks8aHRvp2Twm/ybbIo4tnKI3wCi7VepvlncDajWgR+4fMZPQBpvVYGtMOT6isoh5e9ZP8NoELIkE= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from eig-obgw-5007a.ext.cloudfilter.net ([10.0.29.141]) by cmsmtp with ESMTPS id 9SNcspQyfjfBA9ThtsFxVZ; Tue, 21 May 2024 17:55:25 +0000 Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with ESMTPS id 9Thssd8zlWqfj9ThssOfFq; Tue, 21 May 2024 17:55:24 +0000 X-Authority-Analysis: v=2.4 cv=GsNE+F1C c=1 sm=1 tr=0 ts=664ce00c a=ApxJNpeYhEAb1aAlGBBbmA==:117 a=ApxJNpeYhEAb1aAlGBBbmA==:17 a=TpHVaj0NuXgA:10 a=Qbun_eYptAEA:10 a=urf386TiMZrmh4u26JwA:9 a=dtz0M0AVFasA:10 a=YAbz3KNM6moCJwu-m_c4:22 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; s=default; h=Content-Type:MIME-Version:Message-ID:Date:References:In-Reply-To :Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=0hhy/F/mGgs8SUhSDh1ZSch/BcvkFE16X2gW5hSi3V0=; b=GvI7FRpU+IhsNP6ov7CPXDrxp3 Nfg5MQVgy5IC/SPuw1VJzPv/xYb/38tqvKomMx8BOD1V7iv6V0Wouv7Fubc8Q0kh6wenWdv1doCla yjK83N8zZX4QIx+D8wU8KS4Ej; Received: from 75-166-134-4.hlrn.qwest.net ([75.166.134.4]:49354 helo=murgatroyd) by box5379.bluehost.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96.2) (envelope-from ) id 1s9Ths-001TN6-00; Tue, 21 May 2024 11:55:24 -0600 From: Tom Tromey To: Bernd Edlinger Cc: "gdb-patches@sourceware.org" Subject: Re: [PATCH v2] sim: fix a warning in dv-sockser.c at connected_p() In-Reply-To: (Bernd Edlinger's message of "Tue, 21 May 2024 06:46:36 +0200") References: X-Attribution: Tom Date: Tue, 21 May 2024 11:55:23 -0600 Message-ID: <87pltft5h0.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - box5379.bluehost.com X-AntiAbuse: Original Domain - sourceware.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - tromey.com X-BWhitelist: no X-Source-IP: 75.166.134.4 X-Source-L: No X-Exim-ID: 1s9Ths-001TN6-00 X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 75-166-134-4.hlrn.qwest.net (murgatroyd) [75.166.134.4]:49354 X-Source-Auth: tom+tromey.com X-Email-Count: 79 X-Org: HG=bhshared;ORG=bluehost; X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTM3OS5ibHVlaG9zdC5jb20= X-Local-Domain: yes X-CMAE-Envelope: MS4xfGkng3FwtfVPtyXd5R8AAF8zQcw4g9JuK3W8Gjwk2keUvoh/HFr9fc91T425RKcUNS/aEslLcGkWFTb+uwRvt177jTBUEGKxgCf4VgQK9nQ0XejH4OPV IE1gEus1ln8R01cTo6sI40857ruVgtkArkkLROQ0ad3w2MCQK2RqcsEFovJSxaeAJHyLKkC39zky14wiIu764v/iM/6flt1YvCY= X-Spam-Status: No, score=-3014.6 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,JMQ_SPF_NEUTRAL,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: >>>>> "Bernd" == Bernd Edlinger writes: Bernd> + { Bernd> + int flags = fcntl (sockser_fd, F_GETFL); You don't need a new block here. Tom