Use NameFromFH and ExamineFH if a file handle is passed to __stat().
commitab43e6aaebe62f4c01343fe35e5ca875387e5756
authorweissms <weissms@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Tue, 5 Jul 2011 06:31:09 +0000 (5 06:31 +0000)
committerweissms <weissms@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Tue, 5 Jul 2011 06:31:09 +0000 (5 06:31 +0000)
tree131a4c80386ba1dfc79a73b06199bfd2a3b1f750
parent2dd3839a82832745c57ff9534c8554dc764a3eec
Use NameFromFH and ExamineFH if a file handle is passed to __stat().

After transition to dos packets file handles and locks are not the same
thing anymore.

git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@39825 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
compiler/clib/__stat.c
compiler/clib/__stat.h
compiler/clib/fstat.c
compiler/clib/lstat.c
compiler/clib/stat.c