delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Message-ID: | <3F001668.B6DF89CF@dessent.net> |
Date: | Mon, 30 Jun 2003 03:52:24 -0700 |
From: | Brian Dessent <brian AT dessent DOT net> |
Organization: | My own little world... |
X-Accept-Language: | en,en-US |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: ls.exe slow down in cygwin 1.3.13 (a followup from the "ls problem" |
thread last november 2002) | |
References: | <019d01c33ed0$40f343f0$200aa8c0 AT thorin> |
Carlo Florendo wrote: > I've tried stracing the output of "ls -l" and I've attached the output of strace too. > An observation on the output of strace is that the delay starts when line 442 is printed. > > Line 442 of the strace output is: > > 104 1970355 [main] ls 2012 _open: -1 = open (/usr/local/etc/zoneinfo/posixrules, 0x10000) > > I'm wondering what this zoneinfo/posixrules is. The file does not exist in my installation. One of the time library functions (i.e. ctime() or localtime() or strftime(), etc) apparently looks for those files to determine time zone information. Mine does it too, but it doesn't take anywhere near as long. It looks like you have $TZ set to CST-8, just for kicks why not try "unset TZ; ls -l" just to see if it makes any difference at all. Brian -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |