From 7cd21b9ed1a87af2979573b580508651466a67a8 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Fri, 28 Aug 2009 13:53:22 +0200 Subject: remove unused CObserver::Debug method Signed-off-by: Denys Vlasenko --- src/Daemon/Daemon.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/Daemon/Daemon.cpp') diff --git a/src/Daemon/Daemon.cpp b/src/Daemon/Daemon.cpp index de9431a..b6155f1 100644 --- a/src/Daemon/Daemon.cpp +++ b/src/Daemon/Daemon.cpp @@ -30,6 +30,10 @@ #include "Daemon.h" +#define VAR_RUN_LOCK_FILE VAR_RUN"/abrt.lock" +#define VAR_RUN_PIDFILE VAR_RUN"/abrt.pid" + + //FIXME: add some struct to be able to join all threads! typedef struct cron_callback_data_t { @@ -423,6 +427,8 @@ static gboolean waitsignal_dispatch(GSource *source, GSourceFunc callback, gpoin } /* Inotify handler */ +/* 1024 simultaneous actions */ +#define INOTIFY_BUFF_SIZE ((sizeof(struct inotify_event)+FILENAME_MAX)*1024) static gboolean handle_event_cb(GIOChannel *gio, GIOCondition condition, gpointer ptr_unused) { GIOError err; -- cgit