[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdelibs/dcop
From: Peter Kümmel <syntheticpp () yahoo ! com>
Date: 2006-03-02 18:31:59
Message-ID: 1141324319.822628.25180.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 515120 by kuemmel:
fix dcopserver crash on win32, (I don't wanna touch the unix code)
CCMAIL:michael@drueing.de
M +6 -2 KDE-ICE/authutil.c
M +2 -0 dcopserver.cpp
--- trunk/KDE/kdelibs/dcop/KDE-ICE/authutil.c #515119:515120
@@ -187,8 +187,12 @@
{
if (creat_fd == -1)
{
- creat_fd = creat (creat_name, 0666);
-
+#ifdef _WIN32
+ creat_fd = creat (creat_name, S_IREAD | S_IWRITE);
+#else
+ creat_fd = creat (creat_name, 0666);
+#endif
+
if (creat_fd == -1)
{
if (errno != EACCES)
--- trunk/KDE/kdelibs/dcop/dcopserver.cpp #515119:515120
@@ -1074,8 +1074,10 @@
connect( con, SIGNAL( activated(int) ), this, SLOT( newClient(int) ) );
}
char c = 0;
+#ifndef Q_CC_MSVC
write(ready[1], &c, 1); // dcopserver is started
close(ready[1]);
+#endif
m_timer = new QTimer(this);
connect( m_timer, SIGNAL(timeout()), this, SLOT(slotTerminate()) );
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic