diff options
author | Caleb Tennis <caleb@gentoo.org> | 2004-04-21 01:51:01 +0000 |
---|---|---|
committer | Caleb Tennis <caleb@gentoo.org> | 2004-04-21 01:51:01 +0000 |
commit | cc74010a61ed9a6ecb7a6eb49c3736fe2b3401c4 (patch) | |
tree | aad330af2984306cd49042e6ed4a80ee6f2e24c7 /kde-base/arts/files | |
parent | Remove old version (diff) | |
download | historical-cc74010a61ed9a6ecb7a6eb49c3736fe2b3401c4.tar.gz historical-cc74010a61ed9a6ecb7a6eb49c3736fe2b3401c4.tar.bz2 historical-cc74010a61ed9a6ecb7a6eb49c3736fe2b3401c4.zip |
remove old version
Diffstat (limited to 'kde-base/arts/files')
-rw-r--r-- | kde-base/arts/files/digest-arts-1.0.5b | 3 | ||||
-rw-r--r-- | kde-base/arts/files/tmp-mcop-user-fix.patch | 33 |
2 files changed, 0 insertions, 36 deletions
diff --git a/kde-base/arts/files/digest-arts-1.0.5b b/kde-base/arts/files/digest-arts-1.0.5b deleted file mode 100644 index 54813bde9dbb..000000000000 --- a/kde-base/arts/files/digest-arts-1.0.5b +++ /dev/null @@ -1,3 +0,0 @@ -MD5 226c503848cbc85a5daacb28eef4a0a6 /files/tmp-mcop-user-fix.patch 1045 -MD5 e3ca52900ec6a6d7c3646dfac9e028a8 /arts-1.0.5b.ebuild 1438 -MD5 f0459975c08bcc6456a4d88d6f224e80 arts-1.0.5b.tar.bz2 1020983 diff --git a/kde-base/arts/files/tmp-mcop-user-fix.patch b/kde-base/arts/files/tmp-mcop-user-fix.patch deleted file mode 100644 index 1a24fd51179d..000000000000 --- a/kde-base/arts/files/tmp-mcop-user-fix.patch +++ /dev/null @@ -1,33 +0,0 @@ ---- ../foo/arts-1.0.4/mcop/mcoputils.cc 2002-02-09 14:10:12.000000000 +0100 -+++ mcop/mcoputils.cc 2002-12-15 21:41:24.000000000 +0100 -@@ -31,6 +31,7 @@ - #include <errno.h> - #include <config.h> - #include <ctype.h> -+#include <pwd.h> //included to get logname from uid - #include <map> - - using namespace std; -@@ -73,8 +74,20 @@ - - string MCOPUtils::createFilePath(string name) - { -- string logname = "unknown"; -- if(getenv("LOGNAME")) logname = getenv("LOGNAME"); -+// changed to get logname from uid instead of environment variable -+// LOGNAME to avoid trouble when LOGNAME does not exist or -+// is wrong (such as in kdesu environment) -+// S. Voitzsch Sebastian.Voitzsch@web.de -+// 2002-12-03 -+ -+ struct passwd *pwd = NULL; -+ pwd = getpwuid(geteuid()); -+ if (pwd == NULL) arts_fatal("could not get user name from user id"); -+ -+ string logname = "unknown"; -+ logname = pwd->pw_name; -+ -+// if(getenv("LOGNAME")) logname = getenv("LOGNAME"); - - string tmpdir = "/tmp/mcop-"+uglify(logname); - if(mkdir(tmpdir.c_str(),0700) != 0 && errno != EEXIST) |