[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: qt-copy/src/corelib/io
From: Raphael Langerhorst <raphael.langerhorst () kdemail ! net>
Date: 2006-12-16 13:03:02
Message-ID: 1166274182.663938.21492.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 614121 by raphael:
Make qt-copy compile on NetBSD. NetBSD only has statvfs, no statfs.
At least fix this in qt-copy, I've already told the Trolls about
the issue a month ago:
http://www.trolltech.com/developer/task-tracker/index_html?method=entry&id=139740
M +5 -0 qsettings.cpp
--- trunk/qt-copy/src/corelib/io/qsettings.cpp #614120:614121
@@ -105,8 +105,13 @@
static bool isLikelyToBeNfs(int handle)
{
+#if defined(__NetBSD__)
+ struct statvfs buf;
+ if (fstatvfs(handle, &buf) != 0)
+#else
struct statfs buf;
if (fstatfs(handle, &buf) != 0)
+#endif
return false;
return qt_isEvilFsTypeName(buf.f_fstypename);
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic