diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-11-02 11:58:01 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-11-02 11:58:01 +0100 |
commit | 68e616def90ece3bdde925dc106e51e8560fa05d (patch) | |
tree | 9b6c258dcacf7b2a7d7f38d16cee0a7f9c338fc0 /src/Daemon/Daemon.cpp | |
parent | 0586639caf9fd8218257a16006bb9783ee490102 (diff) | |
download | abrt-68e616def90ece3bdde925dc106e51e8560fa05d.tar.gz abrt-68e616def90ece3bdde925dc106e51e8560fa05d.tar.xz abrt-68e616def90ece3bdde925dc106e51e8560fa05d.zip |
lib/Plugins/CCpp: respect DebugInfoCacheMB setting
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'src/Daemon/Daemon.cpp')
-rw-r--r-- | src/Daemon/Daemon.cpp | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/src/Daemon/Daemon.cpp b/src/Daemon/Daemon.cpp index 4a4f6918..188cd0d1 100644 --- a/src/Daemon/Daemon.cpp +++ b/src/Daemon/Daemon.cpp @@ -114,17 +114,6 @@ static bool s_exiting; CCommLayerServer* g_pCommLayer; -/* Is it "." or ".."? */ -/* abrtlib candidate */ -static bool dot_or_dotdot(const char *filename) -{ - if (filename[0] != '.') return false; - if (filename[1] == '\0') return true; - if (filename[1] != '.') return false; - if (filename[2] == '\0') return true; - return false; -} - static double GetDirSize(const std::string &pPath, std::string *worst_dir = NULL, const char *excluded = NULL) { DIR *dp = opendir(pPath.c_str()); @@ -621,7 +610,7 @@ static void run_main_loop(GMainLoop* loop) if (s_timeout) alarm(s_timeout); - g_poll(fds, nfds, timeout); + g_poll(fds, nfds, timeout); if (s_timeout) alarm(0); @@ -709,7 +698,7 @@ int main(int argc, char** argv) default: error_msg_and_die( "Usage: abrtd [-dv]\n" - "\nOptions:" + "\nOptions:" "\n\t-d\tDo not daemonize" "\n\t-s\tLog to syslog even with -d" "\n\t-t SEC\tExit after SEC seconds of inactivity" |