From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on gnuweeb.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NO_DNS_FOR_FROM,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 Received: from mail-lf1-f43.google.com (mail-lf1-f43.google.com [209.85.167.43]) by gnuweeb.org (Postfix) with ESMTPSA id C88957E32F for ; Sun, 20 Mar 2022 15:55:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gnuweeb.org; s=default; t=1647791759; bh=MUkfzPrle+kb1qYPBpYlCE1LTNjiPsoixowosGS7nsA=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=rzMkkXtRmMr1W5s+aSU1JiQ8ibociU8exrReBgL86vaELhs27ausvcszlN3A4JGVD b/CAEoVOAektHKqTpXuX+eZ5ucFWPj/NTg3rzOk6eqT+UIAH9JeX7AE0pFXIB/Ucxm wiK1CQca+de0mIsJLv2er+EJud5rbZ2BeSfXl58iTLOn+6v+aNH0SGUel+MfSoa6Db WtHoV8MYuz+8KhLPLT9hgrNQsq3pwNytqmp4JupCmcn+hESQ39yhPomt9H0pTLQH/e W6MZAISY/XQGYXdlbYP+dH5ptcFfQg9cdaj+mqKWAMHLw7tXWF6+CGawP907KFt0f5 Xw6aglT/G4d/A== Received: by mail-lf1-f43.google.com with SMTP id t25so21201061lfg.7 for ; Sun, 20 Mar 2022 08:55:59 -0700 (PDT) X-Gm-Message-State: AOAM530WBw/3MJ6+w6NLCJDiAY/BrZBIqGZs/kJCODQC4jQy13BQguUG kqyr6PBlDYc9Df458azzR7h+zOtVTigOuEFQnos= X-Google-Smtp-Source: ABdhPJyi66E5LNkV2GYJBrRGfMSl8Uczfua83fXipEG1krylx/uA3kfQ2Pj/GGE/YO1BV43AP12cyKYkbXX5LxtmaVI= X-Received: by 2002:a05:6512:c08:b0:448:56a2:b936 with SMTP id z8-20020a0565120c0800b0044856a2b936mr11559647lfu.636.1647791757801; Sun, 20 Mar 2022 08:55:57 -0700 (PDT) MIME-Version: 1.0 References: <20220320093750.159991-1-ammarfaizi2@gnuweeb.org> <20220320093750.159991-7-ammarfaizi2@gnuweeb.org> In-Reply-To: <20220320093750.159991-7-ammarfaizi2@gnuweeb.org> From: Alviro Iskandar Setiawan Date: Sun, 20 Mar 2022 22:55:46 +0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [RFC PATCH v1 6/6] tools/include/string: Implement `strdup()` and `strndup()` To: Ammar Faizi Cc: Willy Tarreau , "Paul E. McKenney" , Nugraha , Linux Kernel Mailing List , "GNU/Weeb Mailing List" Content-Type: text/plain; charset="UTF-8" List-Id: On Sun, Mar 20, 2022 at 4:37 PM Ammar Faizi wrote: > +} > + > + (Trivial) Got double newlines here, one newline should be good. > static __attribute__((unused)) > size_t strlcat(char *dst, const char *src, size_t size) > { -- Viro