www.delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
To: | cygwin AT cygwin DOT com |
From: | Chuck <skilover AT bluebottle DOT com> |
Subject: | Re: ls output still truncated |
Date: | Tue, 20 Feb 2007 16:58:36 -0500 |
Lines: | 39 |
Message-ID: | <erfqud$rng$1@sea.gmane.org> |
References: | <erfe79$avu$1 AT sea DOT gmane DOT org> <45DB4B01 DOT 90002 AT cygwin DOT com> <erfk4a$dcf$1 AT sea DOT gmane DOT org> <45DB56F4 DOT 60800 AT cygwin DOT com> <erfneq$6v6$1 AT sea DOT gmane DOT org> <45DB659A DOT 6090207 AT cygwin DOT com> |
Mime-Version: | 1.0 |
User-Agent: | Thunderbird 1.5.0.9 (Windows/20061207) |
In-Reply-To: | <45DB659A.6090207@cygwin.com> |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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 |
Larry Hall (Cygwin) wrote: > On 02/20/2007, Chuck wrote: >> Larry Hall (Cygwin) wrote: >> > Can you send the output of a successful 'ls -l' from within a directory >> > with one file and then the strace of a failing case of 'ls' within this >> > directory and a non-failing case of the same to the list? >> > > Does it work fine without 'tty' set for bash run at cmd.exe? >> > > >> >> Your wish is my command. Attached are two strace output files. The names >> should be self-explanatory. > > What is the path to this directory? What's the listing ('ls -l') of this > directory? What's the difference, if any, when 'ls' is run in this > directory without 'tty' set in the CYGWIN environment variable (this needs > to *not* be set at shell start-up time)? > The path to the directory is /cygwin/home/CHamilto/test. The ls -l listing (when it works) is... $ ls -l total 49120 drwxr-xr-x+ 2 CHamilto Domain Users 0 Feb 20 15:54 ./ drwxr-xr-x+ 18 CHamilto Domain Users 0 Feb 20 15:54 ../ -rwxr-xr-x 1 CHamilto Domain Users 50297564 Feb 20 12:22 test.wav* $ pwd /home/CHamilto/test CYGWIN was not set when I ran it as you can see below. $ set | grep CYGWIN $ I downloaded the source for coreutils and see that in ls.c the same source code is used to compile ls, dir, and vdir. The strange thing is that dir and vdir never fail. Only ls does. I haven't figured out how to compile with the debugging info yet. -- 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 |