X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Chuck Subject: Re: ls output still truncated Date: Tue, 20 Feb 2007 16:58:36 -0500 Lines: 39 Message-ID: References: <45DB4B01 DOT 90002 AT cygwin DOT com> <45DB56F4 DOT 60800 AT cygwin DOT com> <45DB659A DOT 6090207 AT cygwin DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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 Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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/