mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
Respect FAMChanged -- attempt to fix bug 5307
Thanks to Ricardo Santos
This commit is contained in:
parent
b214365ec3
commit
97cc5e316a
@ -156,6 +156,9 @@ static void fam_handler(struct event_context *event_ctx,
|
|||||||
fam_event.filename));
|
fam_event.filename));
|
||||||
|
|
||||||
switch (fam_event.code) {
|
switch (fam_event.code) {
|
||||||
|
case FAMChanged:
|
||||||
|
ne.action = NOTIFY_ACTION_MODIFIED;
|
||||||
|
break;
|
||||||
case FAMCreated:
|
case FAMCreated:
|
||||||
ne.action = NOTIFY_ACTION_ADDED;
|
ne.action = NOTIFY_ACTION_ADDED;
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user