add kde tools

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@903 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
geos_one
2009-03-29 07:05:36 +00:00
parent a62799ffc0
commit f8647230c5
80 changed files with 4794 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
--- common/common.h.orig 2009-02-03 19:54:32.000000000 +0500
+++ common/common.h 2009-02-03 19:55:09.000000000 +0500
@@ -205,7 +205,12 @@
{
do
{
- lockFd=open(getLockName(), O_WRONLY | O_CREAT | O_EXCL);
+#if __GNUC__ > 4 || (__GNUC__ == 4 && (__GNUC_MINOR__ > 3 || (__GNUC_MINOR__ == 3 && __GNUC_PATCHLEVEL__ > 2)))
+ lockFd=open(getLockName(), O_WRONLY | O_CREAT | O_EXCL, 0777);
+#else
+ lockFd=open(getLockName(), O_WRONLY | O_CREAT | O_EXCL);
+#endif
+
if (lockFd<0 && errno==EEXIST)
{
/* Hmm, lock file already exists. Is it stale? */

View File

@@ -0,0 +1,11 @@
--- kdialogd4/kdialogd.cpp.orig 2009-02-03 19:49:03.000000000 +0500
+++ kdialogd4/kdialogd.cpp 2009-02-03 19:49:17.000000000 +0500
@@ -391,7 +391,7 @@
// * the dir select dialog doesnt seem to set the QDialog result parameter
// when it is accepted - so for this reason if ok is clicked we store an
// 'accepted' value there, and check for that after the dialog is finished.
- kDebug() << "finished " << (int)itsDlg << itsAccepted << (itsDlg ? QDialog::Accepted==itsDlg->result() : false);
+ kDebug() << "finished " << itsDlg << itsAccepted << (itsDlg ? QDialog::Accepted==itsDlg->result() : false);
if(itsDlg && !(itsAccepted || QDialog::Accepted==itsDlg->result()))
cancel();