Changeset 425 for trunk/src/sh_fInotify.c
- Timestamp:
- Feb 20, 2013, 7:30:02 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/sh_fInotify.c
r405 r425 525 525 { 526 526 int reported; 527 int ret = sh_files_search_file(path, &class, &check_mask, &reported); 528 529 if ((ret == 0) && (event->len > 0) && (ftype == SH_INOTIFY_FILE)) 530 { 531 ; /* do nothing, watch was for directory monitored as file only */ 532 } 533 else 534 { 535 sh_files_filecheck (class, check_mask, filename, 536 (event->len > 0) ? event->name : NULL, 537 &reported, 0); 527 int ret; 528 529 530 if (S_FALSE == sh_ignore_chk_mod(path)) 531 { 532 ret = sh_files_search_file(path, &class, &check_mask, &reported); 533 534 if ((ret == 0) && (event->len > 0) && (ftype == SH_INOTIFY_FILE)) 535 { 536 ; /* do nothing, watch was for directory monitored as file only */ 537 } 538 else 539 { 540 sh_files_filecheck (class, check_mask, filename, 541 (event->len > 0) ? event->name : NULL, 542 &reported, 0); 543 } 538 544 } 539 545 return 0;
Note:
See TracChangeset
for help on using the changeset viewer.