From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-vk1-xa32.google.com (mail-vk1-xa32.google.com [IPv6:2607:f8b0:4864:20::a32]) by sourceware.org (Postfix) with ESMTPS id AC2F238417DD for ; Fri, 16 Dec 2022 21:34:34 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org AC2F238417DD Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-vk1-xa32.google.com with SMTP id r204so1745089vkf.8 for ; Fri, 16 Dec 2022 13:34:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:reply-to:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=xx7Ui0anDJ5XrqyU5AAKvXLVl/SywxuKA0xQDOuCi1A=; b=BjQnreuAN/SHaGqqtIfR0nsD7aMpynU9HKAyYpk89po2cm069bK7iuGyOH1QdfM4pi doYNQzGQBaWMDNcTu0WGHrpRuhY/xrp7SzmkspLMezogKvHa6tYHb/dbTUWdsNf018a3 j9dfrYQ2GWyg8RKIBRRtix0FNO0B3K8NpB5wozFMl/Urj7szC0fnGCrW0fP1JfztSzin fesniz1TQA0u3H0NJ/EQ/aTKVDGZoFK4zqELviAQNigxKlddWb8cRKz1NOzaVenm9UG+ 1rFQ7liL6hn9kR9cG2Ih/OssgiXRzRPU7mlJJNLXC2yZ2ufDDnQym8Alyp4yigH3Os4G U/YQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:reply-to:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=xx7Ui0anDJ5XrqyU5AAKvXLVl/SywxuKA0xQDOuCi1A=; b=GRFdnd9FgkN3WLPG1l6TBMEp010t9SLvrf+a3awMtM5mCg/ig3GpTbXNJCGom9Ux5S t4lAIrVyf7q8Vr+32EPjlsKLm2lXiAMpBdY9f+VJQz3POWPlz3ZzxnAKejkLswvoQ0A9 hZf/VPyu05V4AJtTuMqzOXprf64vFCedp6nkcGT1IbRr+P7KSPatnLoabMUyvpqT7UpC kfTATtHHltycUlvymqTT96fafWBw/ds9SzCzexr71/OrD7si4NxSYVZTZyVx8sVosmYa /k1ttCbBavzytDUkPSfYADc03PjJqoNmPocLBuPZc0JJgY8HJGDCAhi/WMVQjxCplPp9 ZN3g== X-Gm-Message-State: ANoB5pkaoPX8Drjd2CZa5a0yiQnLrOjZoMrGcAFpebWG0v6d0tdOCY+l BxX7UX2VUApVUemqFq40QH8R3sFJrX1ic8DiGgXuDcxb X-Google-Smtp-Source: AA0mqf7IXYXhhq+2V8dTM/jHislOQSLDHblvhZHbzmBNIl7K2U0HEEYBbf2c1NxFVBWOJ2tiEF0AAyeKJhHh9zvJXl8= X-Received: by 2002:a1f:1409:0:b0:3c1:2fa:82e1 with SMTP id 9-20020a1f1409000000b003c102fa82e1mr2832099vku.7.1671226474090; Fri, 16 Dec 2022 13:34:34 -0800 (PST) MIME-Version: 1.0 References: <20221020182603.815-1-luoyonggang@gmail.com> <20221020182603.815-10-luoyonggang@gmail.com> In-Reply-To: Reply-To: luoyonggang@gmail.com From: =?UTF-8?B?572X5YuH5YiaKFlvbmdnYW5nIEx1byk=?= Date: Sat, 17 Dec 2022 05:34:22 +0800 Message-ID: Subject: Re: [PATCH 09/25] include libgen.h in system.h To: Mark Wielaard Cc: elfutils-devel@sourceware.org Content-Type: multipart/alternative; boundary="00000000000053d99f05eff8bcd6" X-Spam-Status: No, score=-1.0 required=5.0 tests=BAYES_00,BODY_8BITS,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: --00000000000053d99f05eff8bcd6 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable But still I think the force cast to (char *) is needed On Sat, Dec 17, 2022 at 5:22 AM =E7=BD=97=E5=8B=87=E5=88=9A(Yonggang Luo) <= luoyonggang@gmail.com> wrote: > > > > On Fri, Oct 28, 2022 at 7:45 PM Mark Wielaard wrote: > > > > On Fri, 2022-10-21 at 02:25 +0800, Yonggang Luo via Elfutils-devel > > wrote: > > > basename function are accessed multiple place, but used without > > > include libgen.h > > > > This is wrong. We use the GNU basename (from string.h with > > _GNU_SOURCE), not the POSIX one (from libgen.h). > > Thanks, that informs me, are they the same thing? > obviously mingw lacked of this > > > > > Cheers, > > > > Mark > > > > -- > =E6=AD=A4=E8=87=B4 > =E7=A4=BC > =E7=BD=97=E5=8B=87=E5=88=9A > Yours > sincerely, > Yonggang Luo -- =E6=AD=A4=E8=87=B4 =E7=A4=BC =E7=BD=97=E5=8B=87=E5=88=9A Yours sincerely, Yonggang Luo --00000000000053d99f05eff8bcd6--