SVN commit 707211 by hasso: Backport 707209. Fix browsing SMB printers. -i is not POSIX and doesn't exist in most of xargs implementations, -I should be used instead. Patch by Kris Moore . M +1 -1 smbview.cpp --- branches/KDE/3.5/kdelibs/kdeprint/management/smbview.cpp #707210:707211 @@ -179,7 +179,7 @@ m_current = item; *m_proc << "nmblookup"+m_wins_server+"-M "; *m_proc << KProcess::quote(item->text(0)); - *m_proc << " -S | grep '<20>' | sed -e 's/^[[:space:]]*//' -e 's/[[:space:]]*<20>.*//' | xargs -iserv_name smbclient -N -L 'serv_name' -W "; + *m_proc << " -S | grep '<20>' | sed -e 's/^[[:space:]]*//' -e 's/[[:space:]]*<20>.*//' | xargs -Iserv_name smbclient -N -L 'serv_name' -W "; *m_proc << KProcess::quote(item->text(0)); *m_proc << " -A "; *m_proc << KProcess::quote(m_passwdFile->name());