summaryrefslogtreecommitdiff
path: root/source3/smbd/vfs.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2006-03-27 19:50:45 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:15:45 -0500
commit1d3fd5201c98417ba40bb367d92c3a924f947799 (patch)
tree8b3f2e65e6077252b3a85f3c98abc88c245aab23 /source3/smbd/vfs.c
parent2f28844a1099d16607b6b54d382b2fb9e2ba64a2 (diff)
downloadsamba-1d3fd5201c98417ba40bb367d92c3a924f947799.tar.gz
samba-1d3fd5201c98417ba40bb367d92c3a924f947799.tar.bz2
samba-1d3fd5201c98417ba40bb367d92c3a924f947799.zip
r14746: Add the Samba4 replacements for opendir/readdir etc. to
Samba3 - with some 64-bit macro madness. Attempt to fix the broken directory handling in the *BSD-of-the-month club. Jeremy. (This used to be commit fd98427f64f4206c01f16f82fadf24f5863878db)
Diffstat (limited to 'source3/smbd/vfs.c')
-rw-r--r--source3/smbd/vfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/vfs.c b/source3/smbd/vfs.c
index 001d42d172..07e18caa5c 100644
--- a/source3/smbd/vfs.c
+++ b/source3/smbd/vfs.c
@@ -712,7 +712,7 @@ char *vfs_readdirname(connection_struct *conn, void *p)
return(NULL);
#endif
-#ifdef HAVE_BROKEN_READDIR
+#ifdef HAVE_BROKEN_READDIR_NAME
/* using /usr/ucb/cc is BAD */
dname = dname - 2;
#endif