git.samba.org
/
idra
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
69debd4
)
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:45:42 +0000
(12:45 -0800)
committer
Jeremy Allison
<jra@samba.org>
Tue, 18 Nov 2008 20:45:42 +0000
(12:45 -0800)
source3/smbd/notify.c
patch
|
blob
|
history
diff --git
a/source3/smbd/notify.c
b/source3/smbd/notify.c
index 5a517654bf363b2db5a4d9c9e958baf4a464a8c3..2d0811bc1c0a47e8e7cfa6e627d653d3c5486c62 100644
(file)
--- a/
source3/smbd/notify.c
+++ b/
source3/smbd/notify.c
@@
-339,6
+339,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;