Re: New stat stuff (was [PATCH] improve performance of stat() operations (e.g. ls -lR ))

2002-05-29 Thread Conrad Scott
Christopher Faylor [EMAIL PROTECTED] wrote: I think you're running run.exe from Chuck Wilson's site. Umm . . . (quick check). No: it's the copy from the current version of XFree-startup-scripts (4.2.0-2). I was using it in this case without an X server running (it's always happily worked either

Re: New stat stuff (was [PATCH] improve performance of stat() operations (e.g. ls -lR ))

2002-05-29 Thread Charles Wilson
Christopher Faylor [EMAIL PROTECTED] wrote: I think you're running run.exe from Chuck Wilson's site. Umm . . . (quick check). No: it's the copy from the current version of XFree-startup-scripts (4.2.0-2). I was using it in this case without an X server running (it's always happily worked

Re: New stat stuff (was [PATCH] improve performance of stat() operations (e.g. ls -lR ))

2002-05-29 Thread Christopher Faylor
On Wed, May 29, 2002 at 05:51:09PM -0400, Charles Wilson wrote: Christopher Faylor [EMAIL PROTECTED] wrote: I think you're running run.exe from Chuck Wilson's site. Umm . . . (quick check). No: it's the copy from the current version of XFree-startup-scripts (4.2.0-2). I was using it in this case

Re: New stat stuff (was [PATCH] improve performance of stat() operations (e.g. ls -lR ))

2002-05-28 Thread Conrad Scott
Chris, I've just picked up the latest changes from CVS and I'm having a problem with run.exe from a .BAT file (i.e., from my current cygwin.bat mechanism). After a bit of tracing, I've found that it comes down to NtQueryObject in handle_to_fn() in dtable.cc. NtQueryObject succeeds but the

Re: New stat stuff (was [PATCH] improve performance of stat() operations (e.g. ls -lR ))

2002-05-28 Thread Conrad Scott
Christopher Faylor [EMAIL PROTECTED] wrote: On Tue, May 28, 2002 at 11:00:28PM +0100, Conrad Scott wrote: I've just picked up the latest changes from CVS and I'm having a problem with run.exe from a .BAT file (i.e., from my current cygwin.bat mechanism). What's run.exe? cgf Sorry: it's

Re: New stat stuff (was [PATCH] improve performance of stat() operations (e.g. ls -lR ))

2002-05-28 Thread Matt
On Tue, 28 May 2002, Don Bowman wrote: So I've performed a mini-benchmark of Chris' changes. I did a ls -lR /dev/null of the cygwin source tree on my notebook. It might be a good test to do ls -lR /test.txt between the different configurations and diff the output to make sure nothing was

Re: New stat stuff (was [PATCH] improve performance of stat() operations (e.g. ls -lR ))

2002-05-28 Thread Christopher Faylor
On Tue, May 28, 2002 at 11:47:45PM +0100, Conrad Scott wrote: Christopher Faylor [EMAIL PROTECTED] wrote: On Tue, May 28, 2002 at 11:00:28PM +0100, Conrad Scott wrote: I've just picked up the latest changes from CVS and I'm having a problem with run.exe from a .BAT file (i.e., from my current

Re: [PATCH] improve performance of stat() operations (e.g. ls -lR )

2002-05-27 Thread Christopher Faylor
On Mon, May 27, 2002 at 02:24:37PM +0200, Corinna Vinschen wrote: On Sun, May 26, 2002 at 10:23:39PM -0400, Chris Faylor wrote: You can get nearly all of the information that you need from FindFirstFile. Unfortunately, GetFileInformationByHandle() seems to be the only available function which

Re: [PATCH] improve performance of stat() operations (e.g. ls -lR )

2002-05-27 Thread Corinna Vinschen
On Mon, May 27, 2002 at 01:43:54PM -0400, Chris Faylor wrote: In the process of researching this, I discovered that NT has a mechanism for determining a filename from an open handle so I'm trying to work that into dtable.cc. Interesting. Could you provide some link? MSDN or so? Corinna