There's no "stat" in Win32 at all.
There's an implementation of stat in C library. XEmacs has its own
implementation.
The good thing is to improve our implemenation of stat().
The Right Thing is to build a filesystem abstraction, which would
use advantages of file system API set, instead of riding the dirty
way of emulation of UNIX-style api set.
Have a slice of a pie in the sky.
Kirill