On Fri, 8 Oct 2004 10:08:13 -0400, Dan Sugalski wrote: > At 3:59 PM +0200 10/8/04, Ronald Blaschke wrote: >> > This there a Win32 API stat()-like function that makes it worth to write >>> win32/stat.c? >> >>Not one that I have found. And: >>perl returns no value for block size and blocks on Activestate Perl >>5.8.4 (on win32). > > All the stat things with _PLATFORM_ in their names are meant to be > platform-dependent things, so not having them on windows is just > fine. I thought they'd be part of the standard stat interface and > thus not a problem (albeit perhaps returning 0 or something > meaningless) on platforms that supported stat() but didn't do > individual things, but I guess not. :(
> Having a win-specific stat.c is probably in order, with it not > defining any of the unavailable _PLATFORM_ things. (As well as adding > in anything win-specific that it might be useful to have, but after > 0.1.1 gets released) Thanks for explaining things to me. Hope the patch [perl #31897] will do.