freebsd-ports/x11-toolkits/qt32/files/patch-qfiledialog.cpp
Alan Eldridge d1662ca0ad Repocopy from qt30. Modified to current status.
NOT TO BE USED AS A DEPENDENCY UNTIL AFTER 5.0 RELEASE!!!!
2003-01-06 15:05:36 +00:00

11 lines
448 B
C++

--- src/dialogs/qfiledialog.cpp Thu Nov 7 14:07:21 2002
+++ /cvs/qt-copy/src/dialogs/qfiledialog.cpp Thu Nov 21 13:06:09 2002
@@ -3170,7 +3170,7 @@
user = dr.mid( 1, i-1 ).local8Bit();
dr = dr.mid( i, dr.length() );
struct passwd *pw;
-#if defined(QT_THREAD_SUPPORT) && defined(_POSIX_THREAD_SAFE_FUNCTIONS)
+#if 0
struct passwd mt_pw;
char buffer[2048];
if ( ::getpwnam_r( user, &mt_pw, buffer, 2048, &pw ) == 0 && pw == &mt_pw )