From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 9295 invoked from network); 7 Dec 2022 21:22:47 -0000 Received: from mail-ua1-x93c.google.com (2607:f8b0:4864:20::93c) by inbox.vuxu.org with ESMTPUTF8; 7 Dec 2022 21:22:47 -0000 Received: by mail-ua1-x93c.google.com with SMTP id t7-20020ab04ac7000000b004199dbe4e01sf7806532uae.3 for ; Wed, 07 Dec 2022 13:22:47 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1670448165; cv=pass; d=google.com; s=arc-20160816; b=js/oCKcaNSVNpOaxUTAXYRwd0ZcgZ8FP5LKHuHsZJzWBCG9wI9zYOr4GfJmvSKeD0K Zsfr7Tv88Udwr8jvRTsPvOMzoV8HjL2eStE9tMpg2ahQNF5ILuURoXhafopvnGMjv4Xl DwFVEJbkLAD+1GUKsgq+LQn9+RMoPc7+a+hEE6QBlGot//F63fi9qYGGyNBB7itKeKhw boAHT6U9tVHhO34U8iZUQuGSUORbvEw/wO2mYKNDGX6FiAbhUWNG8hR6vweeMWtJh41/ ep2K04PCzbjmcMhr7KowTyIbikRjCXm/ADPLMp00WgOFL10I/7vnPJUQjWbC6aFopATR hl/g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:to:subject:date:from:message-id :mime-version:sender:dkim-signature; bh=tbtxnkytHyWE8IsOUX8Zs6NPycDOpjOK/0fi1TTDxz8=; b=MJlN/Z3CF26BmFmAZzoGQWrRcETSYjo63YBzr24iIUGKavNJU8ABWm4TGgWY5/wZot 3Jmn3C4UemSYWjl3TkC1+btysYtEMnGRKIg+YRdOZPxDIDbfvDv6JOdeMpazigns5w1L oX/ddUbOIYZmqiUSSVmL1YbxQ2qePbn5eCOxLcCUB2JXkUSY1pgCbgQfwdAUPLOQ8wVB qgMKREomhXjz5T+GXLWJhgsFP1i533tQWpNT0ET6BZDCIEXCMymuOlWk+8uG/DXiT2yM f7MycjwUASwG28KcZTK9HcKv4dp8QeYoF0SvmyupsSv8pzucDFSFRVvrQt3NWu3mEBSF 1z+g== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@mforney.org header.s=google header.b=dldN9Ysw; spf=pass (google.com: domain of mforney@mforney.org designates 2607:f8b0:4864:20::62e as permitted sender) smtp.mailfrom=mforney@mforney.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-authentication-results :x-original-sender:to:subject:date:from:message-id:mime-version :sender:from:to:cc:subject:date:message-id:reply-to; bh=tbtxnkytHyWE8IsOUX8Zs6NPycDOpjOK/0fi1TTDxz8=; b=VquK+N3OMcDPTylmC79rD5SbhdfaIsI+p2znImNsgArV8OG5FyhzNktD2W6rok9wp8 Osd7eAhd18S+WGUD54xLmVONd4I4kgWqnhjmj5nDDaTrAx2H0TAVCkBVO1jrbFX+ip4k 1k4rp0z/X/fiNl08yO6tdapRqwKH2msxrEu/Hm3O1Fa74MfEZ+mH74CTpNuE9Cha8ujd nFpzy0Bz4mCFHhzw0UySg6aZKSVWwKZK+VFMC7XG0JOyl4/Vjwd1rwLIYof6mtx/ifnu kf2EDBX7zqpVHYJT+JFUq58jTd+SNI1w0mIRxWAqLj7u81zQDpAF109Jdpo6Q/mYQDeu tTZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:to:subject:date :from:message-id:mime-version:x-gm-message-state:sender:from:to:cc :subject:date:message-id:reply-to; bh=tbtxnkytHyWE8IsOUX8Zs6NPycDOpjOK/0fi1TTDxz8=; b=k/ejMvUfrwjCHrm+ULGciEY01jZ7vabY7HPg0doY4mdW0z+672zL/Yi4DeVzGGqL9v YO05cR4AMoWSH5VqM5v2xRMfM9FWvC5oKBVkVLZAK+goEk+dLiRLNtbUwhh43FUmhTcd FNnrNFo/i9yU85yBQsifPwZ5l9ro7szWHrpPlD0TOVYMfJ/2AmgkPA1aCU1V3QWIMwyt ZAjvxt0GUzgyjMjP8HHzyhbYF5Ue0f1rRi66BNEAvD5azu2bkb9zMfs8GvFmXlBxXreq fo8xX1ShhIZ05AdSkSHCVT2p304gToGkofVV06eUGMf2GL1P3Yvkk29USgGe8kpAIxVw Rr0Q== Sender: mblaze@googlegroups.com X-Gm-Message-State: ANoB5pl28uzBtjQ87wVKS1DD4u6DJFQQzg0blIDEiBmp0peHUPHkFOrC 5CS0N0pzYPqocp2/hfC8BfQ= X-Google-Smtp-Source: AA0mqf48wC7S31og9B8ESMkuCOqpZnfZgp1JBmkMedLZdkM/fHoOPeTL/G1CICBo6/WG5mRLYl+AOg== X-Received: by 2002:a67:e054:0:b0:3b2:e9be:75eb with SMTP id n20-20020a67e054000000b003b2e9be75ebmr4424736vsl.44.1670448165699; Wed, 07 Dec 2022 13:22:45 -0800 (PST) MIME-Version: 1.0 X-BeenThere: mblaze@googlegroups.com Received: by 2002:a1f:6e07:0:b0:3bc:95bf:a044 with SMTP id j7-20020a1f6e07000000b003bc95bfa044ls441490vkc.9.-pod-prod-gmail; Wed, 07 Dec 2022 13:22:44 -0800 (PST) X-Received: by 2002:a1f:9e92:0:b0:3ab:a69f:3b7c with SMTP id h140-20020a1f9e92000000b003aba69f3b7cmr52531064vke.36.1670448164768; Wed, 07 Dec 2022 13:22:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670448164; cv=none; d=google.com; s=arc-20160816; b=0xTBz6YsNecCmF9YH4uXEu5Ntu6Z3eFLLTrjwnWWDtUFUlhngQfMj6T1cMTNyUHveH tuoeshdTiEuHCCQEmTIOsd/DLRVvA9sSWq0D6Q0PcuLcFBcs9Wl4pradjwVWkzQ4BLVJ QscU2KGG88/zMeil7pqCxj3mazAzHc7dz6qgJW3TYNju5AT56XxsAKOpfs9sPtLbTPqm 7LIiyZsM21Edc5Fvxiv0WFQNXewU2dhIo9lTYbGogCaw9wSy6PSN6hSlGJYLacjb/FJK ijgrmksjmYuGFM9qojXnMuRVZtq+CACxG281zaO6ro3CQ3CCOkUYJtFvCC7Dy6As+zh9 wmNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=to:subject:date:from:message-id:dkim-signature; bh=6XRLHcUGCLIqmHdIG699/7W3/Wo75Rg6QiD11GCHVn4=; b=rluOE7l3aO9uVJYuLvJkOp4FA1q7WOKVbKlrCk5vlYCKxOXgPlJx0L1euOSQFK0RCO RSk+qyufdhnfOYGH+csjiXvOmw+rIFVBtXCp5xtFU8bWmvUrP9cI0LgOa4r5D6w1aVYw PNrJie6YRnVjxhlZmlBGD53OQnPcDS1WEXHJVGQkrr2E0tPgrrAjCNZhsVo/SUX1X1nq Q7n962cuwxvxbmciwN556fztwUCjf7as1/DvD1lWUcz4gFAyvhvqMyXkCMah7l5t2FaO pVVMEGuqJ32MQqwIRHmxke6QIYXKyj2jY9IfgkgU7tCoa2gQJeSyF8RJyl2ezsCVTciC 2EJA== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@mforney.org header.s=google header.b=dldN9Ysw; spf=pass (google.com: domain of mforney@mforney.org designates 2607:f8b0:4864:20::62e as permitted sender) smtp.mailfrom=mforney@mforney.org Received: from mail-pl1-x62e.google.com (mail-pl1-x62e.google.com. [2607:f8b0:4864:20::62e]) by gmr-mx.google.com with ESMTPS id 187-20020a1f01c4000000b003b87d0d4e7bsi1369372vkb.1.2022.12.07.13.22.42 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 07 Dec 2022 13:22:42 -0800 (PST) Received-SPF: pass (google.com: domain of mforney@mforney.org designates 2607:f8b0:4864:20::62e as permitted sender) client-ip=2607:f8b0:4864:20::62e; Received: by mail-pl1-x62e.google.com with SMTP id m4so11321025pls.4 for ; Wed, 07 Dec 2022 13:22:42 -0800 (PST) X-Received: by 2002:a17:902:d647:b0:189:cf7a:b564 with SMTP id y7-20020a170902d64700b00189cf7ab564mr18735076plh.8.1670448161250; Wed, 07 Dec 2022 13:22:41 -0800 (PST) Received: from localhost ([2601:647:6400:20b0:a66b:b6ff:fe3e:9f1d]) by smtp.gmail.com with ESMTPSA id m17-20020a170902f21100b00189393ab02csm14958769plc.99.2022.12.07.13.22.40 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 07 Dec 2022 13:22:40 -0800 (PST) Message-Id: <85c82c7c2dd07febc84e0958244c7eb48e1a83de.1670448134.git.mforney@mforney.org> From: Michael Forney Date: Wed, 7 Dec 2022 13:11:58 -0800 Subject: [PATCH] mlist: use fixed-width integer types for struct linux_dirent64 d_ino and d_off To: mblaze@googlegroups.com X-Original-Sender: mforney@mforney.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@mforney.org header.s=google header.b=dldN9Ysw; spf=pass (google.com: domain of mforney@mforney.org designates 2607:f8b0:4864:20::62e as permitted sender) smtp.mailfrom=mforney@mforney.org Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list mblaze@googlegroups.com; contact mblaze+owners@googlegroups.com List-ID: X-Google-Group-Id: 738309941541 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , ino64_t and off64_t are non-standard types and musl will no longer expose them without __LARGEFILE64_SOURCE in the next release. Internally, the kernel uses u64 and s64 for these fields, so replace them with uint64_t and int64_t respectively. --- mlist.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mlist.c b/mlist.c index 5debf99..20061d9 100644 --- a/mlist.c +++ b/mlist.c @@ -111,8 +111,8 @@ list(char *prefix, char *file) #include struct linux_dirent64 { - ino64_t d_ino; /* 64-bit inode number */ - off64_t d_off; /* 64-bit offset to next structure */ + uint64_t d_ino; /* 64-bit inode number */ + int64_t d_off; /* 64-bit offset to next structure */ unsigned short d_reclen; /* Size of this dirent */ unsigned char d_type; /* File type */ char d_name[]; /* Filename (null-terminated) */ -- 2.37.3 -- You received this message because you are subscribed to the Google Groups "mblaze" group. To unsubscribe from this group and stop receiving emails from it, send an email to mblaze+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/mblaze/85c82c7c2dd07febc84e0958244c7eb48e1a83de.1670448134.git.mforney%40mforney.org.