author | tille <tille> | 2002-06-28 17:01:13 (UTC) |
---|---|---|
committer | tille <tille> | 2002-06-28 17:01:13 (UTC) |
commit | 8176526fc61f4b4012021a4324aee592463dbb3a (patch) (unidiff) | |
tree | 928ffd2ce9c00df7d763e1e34b0f137192975c09 | |
parent | 986a23a683f53ab612be03b56dd9bc7c1aeb3651 (diff) | |
download | opie-8176526fc61f4b4012021a4324aee592463dbb3a.zip opie-8176526fc61f4b4012021a4324aee592463dbb3a.tar.gz opie-8176526fc61f4b4012021a4324aee592463dbb3a.tar.bz2 |
setpgid(0,0); thanks to sandman
-rw-r--r-- | noncore/unsupported/oipkg/main.cpp | 1 | ||||
-rw-r--r-- | noncore/unsupported/oipkg/package.cpp | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/noncore/unsupported/oipkg/main.cpp b/noncore/unsupported/oipkg/main.cpp index f72540c..c579df8 100644 --- a/noncore/unsupported/oipkg/main.cpp +++ b/noncore/unsupported/oipkg/main.cpp | |||
@@ -8,6 +8,7 @@ int debugLevel; | |||
8 | 8 | ||
9 | int main( int argc, char ** argv ) | 9 | int main( int argc, char ** argv ) |
10 | { | 10 | { |
11 | setpgid(0,0); | ||
11 | printf("This is oipkg\n"); | 12 | printf("This is oipkg\n"); |
12 | printf("$Id$\n"); | 13 | printf("$Id$\n"); |
13 | debugLevel = 2; | 14 | debugLevel = 2; |
diff --git a/noncore/unsupported/oipkg/package.cpp b/noncore/unsupported/oipkg/package.cpp index 8bbdd77..0cd93bf 100644 --- a/noncore/unsupported/oipkg/package.cpp +++ b/noncore/unsupported/oipkg/package.cpp | |||
@@ -53,6 +53,7 @@ Package::Package( QStringList pack, PackageManagerSettings *s , QObject *parent, | |||
53 | } | 53 | } |
54 | 54 | ||
55 | Package::Package( QString n, PackageManagerSettings *s, QObject *parent, const char *name ) | 55 | Package::Package( QString n, PackageManagerSettings *s, QObject *parent, const char *name ) |
56 | : QObject(parent,name) | ||
56 | { | 57 | { |
57 | init(s); | 58 | init(s); |
58 | if ( !QFile::exists( n ) ) | 59 | if ( !QFile::exists( n ) ) |
@@ -67,6 +68,7 @@ Package::Package( QString n, PackageManagerSettings *s, QObject *parent, const c | |||
67 | } | 68 | } |
68 | 69 | ||
69 | Package::Package( Package *pi, QObject *parent, const char *name ) | 70 | Package::Package( Package *pi, QObject *parent, const char *name ) |
71 | : QObject(parent,name) | ||
70 | { | 72 | { |
71 | init(pi->settings); | 73 | init(pi->settings); |
72 | copyValues( pi ); | 74 | copyValues( pi ); |