Summary: | Reentrant function prototypes are wrong for NetBSD | ||
---|---|---|---|
Product: | [Unmaintained] kdelibs | Reporter: | Hasso Tepper <hasso> |
Component: | knetwork | Assignee: | Thiago Macieira <thiago> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | NetBSD | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Hasso Tepper
2006-05-13 14:25:06 UTC
I thought we had fixed that recently in Subversion. I don't see any progress on this. Does it mean that there will be no solution in KDE3? SVN commit 648568 by thiago: Add the code for KSocketFactory. For now, it doesn't support any proxies. I'll add the code for that later. Let's see if it breaks compilation anywhere. Also, use this opportunity to fix an old-time NetBSD problem: it provides reentrant a getservbyname() function. So assume all NetBSDs running KDE 4 have it reentrant. BUG:127253 M +1 -0 CMakeLists.txt AM network/ksocketfactory.cpp [License: LGPL (v2+)] M +6 -0 network/ksocketfactory.h --- trunk/KDE/kdelibs/kdecore/CMakeLists.txt #648567:648568 @@ -186,6 +186,7 @@ network/kstreamsocket.cpp network/ksocketbuffer.cpp network/klocalsocket.cpp + network/ksocketfactory.cpp network/netsupp.cpp localization/kcatalog.cpp localization/kcharsets.cpp ** trunk/KDE/kdelibs/kdecore/network/ksocketfactory.cpp #property svn:eol-style + native --- trunk/KDE/kdelibs/kdecore/network/ksocketfactory.h #648567:648568 @@ -23,9 +23,11 @@ #include <kdecore_export.h> #include <QtCore/QString> +#include <QtNetwork/QNetworkProxy> class QTcpSocket; class QTcpServer; +class QUdpSocket; class QHostAddress; /** @@ -164,6 +166,10 @@ static QTcpServer *listenAt(const QString &service, int defaultPort = -1, QObject *parent = 0); static QUdpSocket *datagramSocket(const QString &node, const QString &service, QObject *parent = 0); + + static QNetworkProxy proxyForConnection(const QString &node, const QString &service); + static QNetworkProxy proxyForListening(const QString &service); + static QNetworkProxy proxyForDatagram(const QString &node, const QString &service); }; #endif |