Cygwin performance (was [ANN] PW32 the...)

Chris Faylor cgf@cygnus.com
Thu Mar 16 10:22:00 GMT 2000


On Thu, Mar 16, 2000 at 09:32:03AM -0800, Scott Blachowicz wrote:
>Heribert Dahms <heribert_dahms@icon-gmbh.de> wrote:
>> are you hardwired to 'ls', 'ls -l'  or (like me) 'll'?
>> My stock b20 'ls' spits out only filenames!
>
>I usually use 'ls -l', but what I really want (usually) is the filenames,
>sizes and mod times (and sometimes permissions). And, if I want that, I'll
>have to take the stat() penalty, I guess. So...I was curious...what is it in
>the stat() call that can only be obtained by opening the file? Is it just the
>cygnus stat() emulation that does that? One of these days, maybe I'll try out
>a native-Win32 perl 'ls' wrapper script...

The Windows API dictates that much of the information required to fill in a
stat structure can only come by querying an open file handle.

cgf

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com



More information about the Cygwin mailing list