forward port SVN commit 645708 by dfaure:
forward port SVN commit 645708 by dfaure:

Fix kmail saying "I seem to be running already" upon session restoration due to a stale lock file.
Now (on linux) it checks if the pid in the lock file really belongs to a running kmail or kontact.


svn path=/trunk/KDE/kdepim/; revision=645744

lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi