if ioresult <> 0 then exit;\r
end;\r
\r
+ {$IF FPC_FULLVERSION>=20602}\r
+ handle := getfilehandle(pidfile);\r
+ {$else}\r
handle := getfs(pidfile);\r
+ {$endif}\r
\r
//debugout('got handle');\r
{check if locking is possible: it's not if other process still runs}\r