Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Feb 24th, 2011  |  syntax: None  |  size: 1.23 KB  |  views: 56  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Index: src/lib/ecore_file/Ecore_File.h
  2. ===================================================================
  3. --- src/lib/ecore_file/Ecore_File.h     (rĂ©vision 57298)
  4. +++ src/lib/ecore_file/Ecore_File.h     (copie de travail)
  5. @@ -73,7 +73,8 @@
  6.     ECORE_FILE_EVENT_DELETED_FILE,      /**< Deleted file event. */
  7.     ECORE_FILE_EVENT_DELETED_DIRECTORY, /**< Deleted directory event. */
  8.     ECORE_FILE_EVENT_DELETED_SELF,      /**< Deleted monitored directory event. */
  9. -   ECORE_FILE_EVENT_MODIFIED           /**< Modified file or directory event. */
  10. +   ECORE_FILE_EVENT_MODIFIED,          /**< Modified file or directory event. */
  11. +   ECORE_FILE_EVENT_CLOSED             /**< Closed file event */
  12.  } Ecore_File_Event;
  13.  
  14.  /**
  15. Index: src/lib/ecore_file/ecore_file_monitor_inotify.c
  16. ===================================================================
  17. --- src/lib/ecore_file/ecore_file_monitor_inotify.c     (rĂ©vision 57298)
  18. +++ src/lib/ecore_file/ecore_file_monitor_inotify.c     (copie de travail)
  19. @@ -218,7 +218,7 @@
  20.     if (mask & IN_CLOSE_WRITE)
  21.       {
  22.          if (!isdir)
  23. -          em->func(em->data, em, ECORE_FILE_EVENT_MODIFIED, buf);
  24. +          em->func(em->data, em, ECORE_FILE_EVENT_CLOSED, buf);
  25.       }
  26.     if (mask & IN_MODIFY)
  27.       {
clone this paste RAW Paste Data