git.samba.org
/
gd
/
samba
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
strchr and strrchr are macros when compiling with optimisation in gcc, so we can...
[gd/samba/.git]
/
source
/
smbd
/
vfs.c
diff --git
a/source/smbd/vfs.c
b/source/smbd/vfs.c
index 747d393386a48349ebce74cb568935670a9c181d..71ebf9b506b99c1b3ff84196e3de756f78d4d878 100644
(file)
--- a/
source/smbd/vfs.c
+++ b/
source/smbd/vfs.c
@@
-705,7
+705,7
@@
BOOL reduce_name(connection_struct *conn, char *s,char *dir,BOOL widelinks)
all_string_sub(s,"//","/",0);
pstrcpy(base_name,s);
- p = strrchr(base_name,'/');
+ p = strrchr
_m
(base_name,'/');
if (!p)
return(True);