git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eecd65d
)
lib/util: Remove code inside #ifdef HAVE_BROKEN_READDIR_NAME
author
Christof Schmitt
<cs@samba.org>
Tue, 23 Jun 2020 18:51:41 +0000
(11:51 -0700)
committer
Volker Lendecke
<vl@samba.org>
Thu, 16 Jul 2020 01:29:45 +0000
(
01:29
+0000)
This is dead code, the define is never set.
Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
source3/lib/util.c
patch
|
blob
|
history
diff --git
a/source3/lib/util.c
b/source3/lib/util.c
index 975e852506da5651896982b17c0d7a5bcce80854..a51c4aaf5140244dad2af317084e30d293501053 100644
(file)
--- a/
source3/lib/util.c
+++ b/
source3/lib/util.c
@@
-867,11
+867,6
@@
const char *readdirname(DIR *p)
dname = ptr->d_name;
-#ifdef HAVE_BROKEN_READDIR_NAME
- /* using /usr/ucb/cc is BAD */
- dname = dname - 2;
-#endif
-
return talloc_strdup(talloc_tos(), dname);
}