File k3b-iterate-skip.patch of Package kde3-k3b
diff -Naru k3b-1.0.5_orig/src/k3blsofwrapper.cpp k3b-1.0.5/src/k3blsofwrapper.cpp
--- k3b-1.0.5_orig/src/k3blsofwrapper.cpp 2008-05-27 17:24:04.000000000 +0900
+++ k3b-1.0.5/src/k3blsofwrapper.cpp 2019-09-16 09:57:16.612854392 +0900
@@ -81,6 +81,7 @@
for( QStringList::iterator it = l.begin(); it != l.end(); ++it ) {
int pid = (*it).mid(1).toInt();
QString app = (*(++it)).mid(1);
+ ++it; // add once more; because "lsof -Fpc" returns 3 lines per process
kdDebug() << "(K3bLsofWrapper) matched: app: " << app << " pid: " << pid << endl;