Remove debug info.

SVN revision: 16384
This commit is contained in:
sebastid 2005-08-27 12:25:22 +00:00 committed by sebastid
parent b71553bff9
commit 8b675d93ff
2 changed files with 0 additions and 8 deletions

View File

@ -22,7 +22,6 @@ int
ecore_file_monitor_init(void) ecore_file_monitor_init(void)
{ {
#ifdef HAVE_INOTIFY #ifdef HAVE_INOTIFY
printf("inotify\n");
monitor_type = ECORE_FILE_MONITOR_TYPE_INOTIFY; monitor_type = ECORE_FILE_MONITOR_TYPE_INOTIFY;
if (ecore_file_monitor_inotify_init()) if (ecore_file_monitor_inotify_init())
return 1; return 1;
@ -35,12 +34,10 @@ ecore_file_monitor_init(void)
#endif #endif
#endif #endif
#ifdef HAVE_POLL #ifdef HAVE_POLL
printf("poll\n");
monitor_type = ECORE_FILE_MONITOR_TYPE_POLL; monitor_type = ECORE_FILE_MONITOR_TYPE_POLL;
if (ecore_file_monitor_poll_init()) if (ecore_file_monitor_poll_init())
return 1; return 1;
#endif #endif
printf("none\n");
monitor_type = ECORE_FILE_MONITOR_TYPE_NONE; monitor_type = ECORE_FILE_MONITOR_TYPE_NONE;
return 0; return 0;
} }
@ -81,7 +78,6 @@ ecore_file_monitor_add(const char *path,
return NULL; return NULL;
#ifdef HAVE_INOTIFY #ifdef HAVE_INOTIFY
case ECORE_FILE_MONITOR_TYPE_INOTIFY: case ECORE_FILE_MONITOR_TYPE_INOTIFY:
printf("inotify add\n");
return ecore_file_monitor_inotify_add(path, func, data); return ecore_file_monitor_inotify_add(path, func, data);
#endif #endif
#ifdef HAVE_FAM #ifdef HAVE_FAM
@ -90,7 +86,6 @@ ecore_file_monitor_add(const char *path,
#endif #endif
#ifdef HAVE_POLL #ifdef HAVE_POLL
case ECORE_FILE_MONITOR_TYPE_POLL: case ECORE_FILE_MONITOR_TYPE_POLL:
printf("poll add\n");
return ecore_file_monitor_poll_add(path, func, data); return ecore_file_monitor_poll_add(path, func, data);
#endif #endif
} }

View File

@ -82,13 +82,10 @@ ecore_file_monitor_inotify_init(void)
{ {
int fd; int fd;
/* Check if we can open /dev/inotify */
printf("open\n");
fd = inotify_init(); fd = inotify_init();
if (fd < 0) if (fd < 0)
return 0; return 0;
printf("handler\n");
_fdh = ecore_main_fd_handler_add(fd, ECORE_FD_READ, _ecore_file_monitor_inotify_handler, _fdh = ecore_main_fd_handler_add(fd, ECORE_FD_READ, _ecore_file_monitor_inotify_handler,
NULL, NULL, NULL); NULL, NULL, NULL);
if (!_fdh) if (!_fdh)