From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id 8On+MF32jWA/EwAAWB0awg (envelope-from ) for ; Sat, 01 May 2021 20:46:21 -0400 Received: by simark.ca (Postfix, from userid 112) id B76D11F11C; Sat, 1 May 2021 20:46:21 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-0.7 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RDNS_DYNAMIC,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (ip-8-43-85-97.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 2D70A1E01F for ; Sat, 1 May 2021 20:46:21 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id D50A438460A2; Sun, 2 May 2021 00:46:20 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D50A438460A2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1619916380; bh=9rNONoCapEDTB9mErSLpBNekLOfeO5hTvP4cse/exnQ=; h=Date:To:Subject:References:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=iqGJNuSfXGZdOlRMer34I0W8FDNdIhkA26peBp0bcxw3AEAHWZYCuoqEJdG6nISTm yPAQ9lpFz47+ZFYfxwXvGknUaj+0+03wwb7F5t2DIgq2Q6J3iYWYaykByVIpQl9Hsl KPhlWmOBt+tn2RUAD/tHmT8G5UEVTX7b5Njn2ozY= Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by sourceware.org (Postfix) with ESMTP id 1EF1B38460A2 for ; Sun, 2 May 2021 00:46:19 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 1EF1B38460A2 Received: from vapier (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1E284335D2F; Sun, 2 May 2021 00:46:18 +0000 (UTC) Date: Sat, 1 May 2021 20:46:17 -0400 To: Simon Marchi Subject: Re: [PATCH] gnulib: import getline Message-ID: Mail-Followup-To: Simon Marchi , gdb-patches@sourceware.org References: <20210501220936.30972-1-vapier@gentoo.org> <533969a7-d2fe-cdbd-40dc-e77eab30a469@polymtl.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <533969a7-d2fe-cdbd-40dc-e77eab30a469@polymtl.ca> X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Mike Frysinger via Gdb-patches Reply-To: Mike Frysinger Cc: gdb-patches@sourceware.org Errors-To: gdb-patches-bounces@sourceware.org Sender: "Gdb-patches" On 01 May 2021 20:39, Simon Marchi wrote: > On 2021-05-01 6:09 p.m., Mike Frysinger via Gdb-patches wrote: > > We use getline in sim today which breaks on older systems that are > > compliant with the latest POSIX standard. > > I can't really parse that sentence. Using getline doesn't work on older > systems, because those older systems are compliant with the latest POSIX > standard? Huh? Wouldn't being compliant with the latest POSIX standard > be a good thing? sorry, meant "not compliant". getline is in POSIX, but not all targets support it. e.g. Windows (mingw) omit it. -mike