diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-08-05 19:04:44 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-08-05 19:04:44 +0200 |
commit | 8336bbee624aa84b485e3f6b0984bce04b52e61d (patch) | |
tree | 7bd7ad50971d9029265bdc5cf03d2963c017326e /inc | |
parent | 35d4ceb1fa329e2adba6af29cde8cb1a805522c1 (diff) | |
download | abrt-8336bbee624aa84b485e3f6b0984bce04b52e61d.tar.gz abrt-8336bbee624aa84b485e3f6b0984bce04b52e61d.tar.xz abrt-8336bbee624aa84b485e3f6b0984bce04b52e61d.zip |
Hooks/CCpp.cpp: don't dump executables with "/abrt" substring in the name
some cleanups and abrtlib work crept in too...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'inc')
-rw-r--r-- | inc/abrtlib.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/inc/abrtlib.h b/inc/abrtlib.h index 65e8fb8f..29c8b5e8 100644 --- a/inc/abrtlib.h +++ b/inc/abrtlib.h @@ -36,6 +36,8 @@ #endif #include <pwd.h> #include <grp.h> +/* C++ bits */ +#include <string> /* Some libc's forget to declare these, do it ourself */ extern char **environ; @@ -103,6 +105,7 @@ void xstat(const char *name, struct stat *stat_buf); void xmove_fd(int from, int to); char* xasprintf(const char *format, ...); +std::string ssprintf(const char *format, ...); /* copyfd_XX print read/write errors and return -1 if they occur */ off_t copyfd_eof(int src_fd, int dst_fd); |