git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa26b0a
)
Fix bug #5908 - Samba 3.0.32 - internal change notify on share directory fails"
author
Dina Fine
<dina@exanet.com>
Tue, 18 Nov 2008 20:44:19 +0000
(12:44 -0800)
committer
Jeremy Allison
<jra@samba.org>
Tue, 18 Nov 2008 20:44:19 +0000
(12:44 -0800)
source/smbd/notify.c
patch
|
blob
|
history
diff --git
a/source/smbd/notify.c
b/source/smbd/notify.c
index eb3384d9a40dffe9d6690a43516922d9e61c1d31..55a5e69c8a3953f11492253673ec54684a4fb7b4 100644
(file)
--- a/
source/smbd/notify.c
+++ b/
source/smbd/notify.c
@@
-359,6
+359,9
@@
void notify_fname(connection_struct *conn, uint32 action, uint32 filter,
{
char *fullpath;
+ if (path[0] == '.' && path[1] == '/') {
+ path += 2;
+ }
if (asprintf(&fullpath, "%s/%s", conn->connectpath, path) == -1) {
DEBUG(0, ("asprintf failed\n"));
return;