From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 From: Mike Frysinger To: Simon Marchi Cc: gdb-patches@sourceware.org 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-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org 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: , X-List-Received-Date: Sun, 02 May 2021 00:46:20 -0000 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