From 2c4a290ae270924340991931a9e0ca793f8e9443 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 27 Jan 2013 01:00:43 -0600 Subject: Rename a number of libraries and executables to avoid conflicts with KDE4 --- ksysv/AUTHORS | 2 +- ksysv/TopWidget.cpp | 2 +- ksysv/ksv_conf.cpp | 2 +- ksysv/ksvconfigwizard.cpp | 2 +- ksysv/ksvpathconfig.cpp | 2 +- ksysv/leveldb.c | 2 +- ksysv/leveldb.h | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) (limited to 'ksysv') diff --git a/ksysv/AUTHORS b/ksysv/AUTHORS index a2a59a9..dad4d1f 100644 --- a/ksysv/AUTHORS +++ b/ksysv/AUTHORS @@ -4,7 +4,7 @@ Current Code Main developer: Peter Putzer -leveldb.{h,c} (from chkconfig): +leveldb.{h,c} (from chtdeconfig): Red Hat Software http://www.redhat.com Previous Versions diff --git a/ksysv/TopWidget.cpp b/ksysv/TopWidget.cpp index 26bea71..4724eb7 100644 --- a/ksysv/TopWidget.cpp +++ b/ksysv/TopWidget.cpp @@ -67,7 +67,7 @@ #include #include #include -#include +#include #include #include diff --git a/ksysv/ksv_conf.cpp b/ksysv/ksv_conf.cpp index 0b63438..37a24ee 100644 --- a/ksysv/ksv_conf.cpp +++ b/ksysv/ksv_conf.cpp @@ -17,7 +17,7 @@ #include #include #include -#include +#include #include "ksv_core.h" #include "ksv_conf.h" diff --git a/ksysv/ksvconfigwizard.cpp b/ksysv/ksvconfigwizard.cpp index a869d46..54450fa 100644 --- a/ksysv/ksvconfigwizard.cpp +++ b/ksysv/ksvconfigwizard.cpp @@ -28,7 +28,7 @@ #include #include -#include +#include #include #include diff --git a/ksysv/ksvpathconfig.cpp b/ksysv/ksvpathconfig.cpp index 5f1193a..8c713d8 100644 --- a/ksysv/ksvpathconfig.cpp +++ b/ksysv/ksvpathconfig.cpp @@ -26,7 +26,7 @@ #include "ksvpathconfig.h" #include -#include +#include /* * Constructs a KSVPathConfig which is a child of 'parent', with the diff --git a/ksysv/leveldb.c b/ksysv/leveldb.c index 149cb3b..030e941 100644 --- a/ksysv/leveldb.c +++ b/ksysv/leveldb.c @@ -111,7 +111,7 @@ int readServiceInfo(const char* RUNLEVELS, const char * name, struct service * s while (isspace(*start) && start < end) start++; if (start == end) continue; - if (!strncmp(start, "chkconfig:", 10)) { + if (!strncmp(start, "chtdeconfig:", 10)) { start += 10; while (isspace(*start) && start < end) start++; if (start == end) { diff --git a/ksysv/leveldb.h b/ksysv/leveldb.h index e18d202..ef6dea9 100644 --- a/ksysv/leveldb.h +++ b/ksysv/leveldb.h @@ -34,7 +34,7 @@ struct service { int parseLevels(const char * str, int emptyOk); -/* returns 0 on success, 1 if the service is not chkconfig-able, -1 if an +/* returns 0 on success, 1 if the service is not chtdeconfig-able, -1 if an I/O error occurs (in which case errno can be checked) */ int readServiceInfo(const char* RUNLEVELS, const char* name, struct service * service); int currentRunlevel(void); -- cgit v1.2.1