git.samba.org
/
nivanova
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e509e9
)
r7846: Fix from bugzilla@kevinjamieson.com Kevin Jamieson - typo
author
Jeremy Allison
<jra@samba.org>
Thu, 23 Jun 2005 17:00:11 +0000
(17:00 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 15:57:59 +0000
(10:57 -0500)
in checking for .. in statcache. Bugid #2819.
Jeremy.
(This used to be commit
a5619d717954ad2a3ffaa549b11bfa738720e325
)
source3/smbd/statcache.c
patch
|
blob
|
history
diff --git
a/source3/smbd/statcache.c
b/source3/smbd/statcache.c
index 8e22d9687b8d2785810feb9d7fd02bcfbf2ccc3c..97ecd4152c8b80d17355a85a0d120ad7d940c723 100644
(file)
--- a/
source3/smbd/statcache.c
+++ b/
source3/smbd/statcache.c
@@
-64,7
+64,7
@@
void stat_cache_add( const char *full_orig_name, const char *orig_translated_pat
if((*full_orig_name == '\0') || (full_orig_name[0] == '.' &&
((full_orig_name[1] == '\0') ||
- (full_orig_name[1] == '.' && full_orig_name[
1
] == '\0'))))
+ (full_orig_name[1] == '.' && full_orig_name[
2
] == '\0'))))
return;
/*