diff options
author | Ralf Nolden <nolden@kde.org> | 2016-05-23 22:00:05 +0200 |
---|---|---|
committer | Ralf Nolden <nolden@kde.org> | 2016-06-01 10:35:39 +0000 |
commit | 3432742caa5171ceddee0e75adefda9310c3b1eb (patch) | |
tree | 5ecb538ff7ce3700793cb6dec81a52e920085a67 /src/corelib/io/io.pri | |
parent | 8fb29ed259393a83e8fb5545c419543a85fc7bc9 (diff) |
Merge BSD implementations of QLockFilePrivate::processNameByPid()
Until now, several solutions for the implementations of
processNameByPid() on BSD systems existed:
- one for FreeBSD using libutil through kinfo_getproc()
using sysctl() implicitly
- one for GNU/kFreeBSD using sysctl() explicitly added in commit
a8f4fa217daa1b6f7b13cc48c1e5ee8d2d76b008
OpenBSD and NetBSD also had different approaches in their ports patches
using kvm() and sysctl(). The code unifies this for all BSDs using
sysctl().
Change-Id: Iced9ef01e5966d8688f464f51024a7ed562e26a3
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Dmitry Shachnev <mitya57@gmail.com>
Diffstat (limited to 'src/corelib/io/io.pri')
-rw-r--r-- | src/corelib/io/io.pri | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/corelib/io/io.pri b/src/corelib/io/io.pri index 8d9908cd90..553c996458 100644 --- a/src/corelib/io/io.pri +++ b/src/corelib/io/io.pri @@ -147,7 +147,6 @@ win32 { SOURCES += io/qsettings_mac.cpp OBJECTIVE_SOURCES += io/qurl_mac.mm } - freebsd: LIBS_PRIVATE += -lutil # qlockfile_unix.cpp requires this mac { osx { OBJECTIVE_SOURCES += io/qfilesystemwatcher_fsevents.mm |