delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/03/16/13:22:42

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
From: Chris Faylor <cgf AT cygnus DOT com>
Date: Thu, 16 Mar 2000 13:21:45 -0500
To: cygwin AT sourceware DOT cygnus DOT com
Subject: Re: Cygwin performance (was [ANN] PW32 the...)
Message-ID: <20000316132145.A25190@cygnus.com>
Reply-To: cygwin AT sourceware DOT cygnus DOT com
Mail-Followup-To: cgf AT cygnus DOT com, cygwin AT sourceware DOT cygnus DOT com
References: <99B82AA9708ED0119B55006097125A002DE964 AT ifk63 DOT mach DOT uni-karlsruhe DOT de> <20000316173203 DOT 853C91F1F AT sabami DOT seaslug DOT org>
Mime-Version: 1.0
User-Agent: Mutt/1.1.8i
In-Reply-To: <20000316173203.853C91F1F@sabami.seaslug.org>; from scott@sabmail.rresearch.com on Thu, Mar 16, 2000 at 09:32:03AM -0800

On Thu, Mar 16, 2000 at 09:32:03AM -0800, Scott Blachowicz wrote:
>Heribert Dahms <heribert_dahms AT icon-gmbh DOT 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 AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019