summaryrefslogtreecommitdiff
path: root/rpmio/fts.h
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2007-12-11 08:51:54 +0200
committerPanu Matilainen <pmatilai@redhat.com>2007-12-11 08:51:54 +0200
commitc68860f056ce6bb122b8fac469d07414e8caefdf (patch)
tree3f7258164a84df4576718224746d32410b1ddfc1 /rpmio/fts.h
parent6a779c394b9ed70f7d7b45716b207ebae170f732 (diff)
downloadrpm-c68860f056ce6bb122b8fac469d07414e8caefdf.tar.gz
rpm-c68860f056ce6bb122b8fac469d07414e8caefdf.tar.bz2
rpm-c68860f056ce6bb122b8fac469d07414e8caefdf.zip
OS X Leopard fixes from Giulio Eulisse
Diffstat (limited to 'rpmio/fts.h')
-rw-r--r--rpmio/fts.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpmio/fts.h b/rpmio/fts.h
index 09e675b11..a05c2d554 100644
--- a/rpmio/fts.h
+++ b/rpmio/fts.h
@@ -56,7 +56,7 @@
#endif
#if defined(__APPLE__)
-# define _D_EXACT_NAMLEN(d) ((d)->d_reclen)
+# define _D_EXACT_NAMLEN(d) (strlen((d)->d_name))
#endif
#endif