| To: | xfs@xxxxxxxxxxx |
|---|---|
| Subject: | [PATCH v2 07/11] xfsprogs: change nftw64 to nftw |
| From: | Jan Tulak <jtulak@xxxxxxxxxx> |
| Date: | Thu, 3 Sep 2015 12:39:44 +0200 |
| Cc: | hch@xxxxxxxxxxxxx, Jan Tulak <jtulak@xxxxxxxxxx> |
| Delivered-to: | xfs@xxxxxxxxxxx |
| In-reply-to: | <1440590555-20463-7-git-send-email-jtulak@xxxxxxxxxx> |
| References: | <1440590555-20463-7-git-send-email-jtulak@xxxxxxxxxx> |
Changelog:
- Subject was "add nftw64 translation for OS X"
- Changed from #define to renaming
There is only one usage of nftw64 in entire xfsprogs, but
multiple usages of nftw. It seems the 64 variant has no reason,
and causes difficulties with some other platforms which has
only nftw call.
Signed-off-by: Jan Tulak <jtulak@xxxxxxxxxx>
---
estimate/xfs_estimate.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/estimate/xfs_estimate.c b/estimate/xfs_estimate.c
index 65b7168..632e4ec 100644
--- a/estimate/xfs_estimate.c
+++ b/estimate/xfs_estimate.c
@@ -168,7 +168,7 @@ main(int argc, char **argv)
ndirs=0LL; /* number of directories */
nspecial=0LL; /* number of special files */
- nftw64(argv[optind], ffn, 40, FTW_PHYS | FTW_MOUNT);
+ nftw(argv[optind], ffn, 40, FTW_PHYS | FTW_MOUNT);
if (__debug) {
printf(_("dirsize=%llu\n"), dirsize);
--
2.4.5
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH 10/11] xfsprogs: add dummy mntent for OS X, Jan Tulak |
|---|---|
| Next by Date: | Re: [PATCH] xfs: fix null pointer dereference when mapping is NULL, Brian Foster |
| Previous by Thread: | [PATCH v2] xfsprogs: Make mremap conditional, Jan Tulak |
| Next by Thread: | Re: [PATCH v2 07/11] xfsprogs: change nftw64 to nftw, Jan Tulak |
| Indexes: | [Date] [Thread] [Top] [All Lists] |