From: Szabolcs Nagy <nsz@port70.net>
To: musl@lists.openwall.com
Subject: Re: lfs *64 fixes
Date: Thu, 4 Sep 2014 23:04:55 +0200 [thread overview]
Message-ID: <20140904210453.GF10361@port70.net> (raw)
In-Reply-To: <20140904205107.GE10361@port70.net>
[-- Attachment #1: Type: text/plain, Size: 157 bytes --]
* Szabolcs Nagy <nsz@port70.net> [2014-09-04 22:51:07 +0200]:
> Subject: [PATCH 2/2] fix the macros for LFS *64_t types in sys/stat.h
>
missed sys/types.h
[-- Attachment #2: 0001-fix-macros-for-LFS-64_t-types-in-sys-stat.h-and-sys-.patch --]
[-- Type: text/x-diff, Size: 1283 bytes --]
From 9dcf5d838393a0100125af4aa0f2c2d0a91c61c5 Mon Sep 17 00:00:00 2001
From: Szabolcs Nagy <nsz@port70.net>
Date: Thu, 4 Sep 2014 22:14:24 +0200
Subject: [PATCH] fix macros for LFS *64_t types in sys/stat.h and sys/types.h
there is no blksize64_t (blksize_t is always long) but there are
fsblkcnt64_t and fsfilcnt64_t types.
---
include/sys/stat.h | 3 ++-
include/sys/types.h | 1 -
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/sys/stat.h b/include/sys/stat.h
index c6abab5..82a6490 100644
--- a/include/sys/stat.h
+++ b/include/sys/stat.h
@@ -100,8 +100,9 @@ int lchmod(const char *, mode_t);
#define fstat64 fstat
#define lstat64 lstat
#define fstatat64 fstatat
-#define blksize64_t blksize_t
#define blkcnt64_t blkcnt_t
+#define fsblkcnt64_t fsblkcnt_t
+#define fsfilcnt64_t fsfilcnt_t
#define ino64_t ino_t
#define off64_t off_t
#endif
diff --git a/include/sys/types.h b/include/sys/types.h
index f00db03..75e489c 100644
--- a/include/sys/types.h
+++ b/include/sys/types.h
@@ -73,7 +73,6 @@ typedef unsigned long long u_quad_t;
#endif
#if defined(_LARGEFILE64_SOURCE) || defined(_GNU_SOURCE)
-#define blksize64_t blksize_t
#define blkcnt64_t blkcnt_t
#define fsblkcnt64_t fsblkcnt_t
#define fsfilcnt64_t fsfilcnt_t
--
1.7.10.4
prev parent reply other threads:[~2014-09-04 21:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-04 20:51 Szabolcs Nagy
2014-09-04 21:04 ` Szabolcs Nagy [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140904210453.GF10361@port70.net \
--to=nsz@port70.net \
--cc=musl@lists.openwall.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/musl/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).