* call closesocket for mswindows instead of fileclose. Probably needs to be checked for Amiga and OS/2 too.


git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@25187 3ad0048d-3df7-0310-abae-a5850022a9f2
  * only call findclose if findfirst succeeded


git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@25188 3ad0048d-3df7-0310-abae-a5850022a9f2