From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/6073 Path: news.gmane.org!not-for-mail From: Szabolcs Nagy Newsgroups: gmane.linux.lib.musl.general Subject: Re: lfs *64 fixes Date: Thu, 4 Sep 2014 23:04:55 +0200 Message-ID: <20140904210453.GF10361@port70.net> References: <20140904205107.GE10361@port70.net> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="GpGaEY17fSl8rd50" X-Trace: ger.gmane.org 1409864716 26726 80.91.229.3 (4 Sep 2014 21:05:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 4 Sep 2014 21:05:16 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-6086-gllmg-musl=m.gmane.org@lists.openwall.com Thu Sep 04 23:05:10 2014 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1XPeDM-0006Qs-Du for gllmg-musl@plane.gmane.org; Thu, 04 Sep 2014 23:05:08 +0200 Original-Received: (qmail 13883 invoked by uid 550); 4 Sep 2014 21:05:07 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 13875 invoked from network); 4 Sep 2014 21:05:07 -0000 Mail-Followup-To: musl@lists.openwall.com Content-Disposition: inline In-Reply-To: <20140904205107.GE10361@port70.net> User-Agent: Mutt/1.5.21 (2010-09-15) Xref: news.gmane.org gmane.linux.lib.musl.general:6073 Archived-At: --GpGaEY17fSl8rd50 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline * Szabolcs Nagy [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 --GpGaEY17fSl8rd50 Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="0001-fix-macros-for-LFS-64_t-types-in-sys-stat.h-and-sys-.patch" >From 9dcf5d838393a0100125af4aa0f2c2d0a91c61c5 Mon Sep 17 00:00:00 2001 From: Szabolcs Nagy 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 --GpGaEY17fSl8rd50--