diff options
author | Christof Schmitt <cs@samba.org> | 2020-06-23 11:55:05 -0700 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2020-07-16 01:29:45 +0000 |
commit | 6fc0a48626206d5964ed04acbbf86f81e51b34c3 (patch) | |
tree | dae1b38e8ebc599e091d4e89791cae0d45ec25b2 /source3/smbd | |
parent | ee6b31ad9b0f54e3d19e1c64033dec357d9f5b0d (diff) | |
download | samba-6fc0a48626206d5964ed04acbbf86f81e51b34c3.tar.gz |
smbd: Remove code inside #ifdef HAVE_BROKEN_READDIR_NAME
This is dead code, the define is never set.
Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/vfs.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/source3/smbd/vfs.c b/source3/smbd/vfs.c index df2d7605ad9..2194e09ab16 100644 --- a/source3/smbd/vfs.c +++ b/source3/smbd/vfs.c @@ -854,12 +854,6 @@ const char *vfs_readdirname(connection_struct *conn, void *p, dname = ptr->d_name; - -#ifdef HAVE_BROKEN_READDIR_NAME - /* using /usr/ucb/cc is BAD */ - dname = dname - 2; -#endif - status = SMB_VFS_TRANSLATE_NAME(conn, dname, vfs_translate_to_windows, talloc_tos(), &translated); if (NT_STATUS_EQUAL(status, NT_STATUS_NONE_MAPPED)) { |