From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pj1-f48.google.com (mail-pj1-f48.google.com [209.85.216.48]) by sourceware.org (Postfix) with ESMTPS id 937573858C50 for ; Tue, 3 May 2022 10:45:12 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 937573858C50 Received: by mail-pj1-f48.google.com with SMTP id w17-20020a17090a529100b001db302efed6so1669452pjh.4 for ; Tue, 03 May 2022 03:45:12 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=RsAgrhBDVtJ6Y7jIy449N6d98JBoyYoUqvH2svH5ypE=; b=QFqb9xT7NQlgNwC8CmoGWK42ses36vpR0iwbHPRgoOfNskVAdy87xugq1xXU7Xg57B CbyTEL00BtJc9v9oKAV9sqKhyzBU83hnbG3ri76lb9FHXGLWwrm1mBgMwdK5Rz7g4iQ9 aIkjIhh2SVOKe2h1FRk8oHxCAgx75wJ2J6xlWm90fs3SdstZUV/fxPRbRW/xWzxxyQA9 LLm8pFgynZNt0ds9hSGPcNYovLUA+ZvyIxW6enQjFtS/suH/LnoLBazrDsy2lCQdSsx8 SfyGjVt/ClDYNVaEHBj+PspgWbK66VejmAAiex9m6B+Y/t0TDPA5iZzD1xLCFhzCCRJ7 t+Pw== X-Gm-Message-State: AOAM531UDHDIbV7CbvYsv3ktwTFJpMIC6bH1oq2uu04pEj8bV461Afez o6hepyJJeatNkbH114L5pFnUS8L8tw4yS8zVUEhVM3jRQd0= X-Google-Smtp-Source: ABdhPJyqk8pBKRGd0SqMdeD/LJGh0vt9ukT7/AAu6Cqh1nOHdADlgqSd4B2Pbmfc1EWnFPL9XPfMNpFocTWEZYqpcg4= X-Received: by 2002:a17:902:f2ca:b0:15d:180d:704 with SMTP id h10-20020a170902f2ca00b0015d180d0704mr15657855plc.102.1651574711361; Tue, 03 May 2022 03:45:11 -0700 (PDT) MIME-Version: 1.0 References: <871qxbxe2i.fsf@oldenburg.str.redhat.com> <87ee1bf3b6.fsf@igel.home> <87r15bvwza.fsf@oldenburg.str.redhat.com> <87a6bzf1gu.fsf@igel.home> <87k0b3vvl7.fsf@oldenburg.str.redhat.com> In-Reply-To: <87k0b3vvl7.fsf@oldenburg.str.redhat.com> From: =?UTF-8?Q?Cristian_Rodr=C3=ADguez?= Date: Tue, 3 May 2022 06:45:00 -0400 Message-ID: Subject: Re: [PATCH] stdio-common: Add the fgetln function To: Florian Weimer Cc: Andreas Schwab , Florian Weimer via Libc-alpha Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS, KAM_DMARC_STATUS, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 May 2022 10:45:14 -0000 On Tue, May 3, 2022 at 5:01 AM Florian Weimer via Libc-alpha wrote: > I think we should provide this function to avoid the bugs I outlined. For what my opinion is worth..I agree most relevant BSD functions that are not implemented in glibc should be.. not because they are nice, in fact some of this interfaces are terrible and their use should not be encouraged, however the sad reality is there is a ton of diverging, buggy "compat wrappers" around just to deal with glibc not having this functions.. just look at openssh as a start..