delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/01/03/09:09:15

X-Spam-Check-By: sourceware.org
Message-ID: <43BA8581.1090303@byu.net>
Date: Tue, 03 Jan 2006 07:09:05 -0700
From: Eric Blake <ebb9 AT byu DOT net>
Reply-To: cygwin AT cygwin DOT com
User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
MIME-Version: 1.0
To: Angelo Graziosi <Angelo DOT Graziosi AT roma1 DOT infn DOT it>
CC: cygwin AT cygwin DOT com
Subject: Re: Using (test) coreutils-5.93-2
References: <Pine DOT OSF DOT 4 DOT 21 DOT 0601031246090 DOT 13731-100000 AT ax0rm1 DOT roma1 DOT infn DOT it>
In-Reply-To: <Pine.OSF.4.21.0601031246090.13731-100000@ax0rm1.roma1.infn.it>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

[No need to carbon me on original emails - I read the list for a reason]

According to Angelo Graziosi on 1/3/2006 4:56 AM:
> With coreutils-5.3.0-9 I observe:
> 
> -------------------------------------------------------------------
> $ ls -lrta
...
> -rw-r--r--   1 Administrator Administrators   418 Nov 26 12:59 t.c
> drwxrwxrwx+ 12 Administrator Users              0 Dec 19 23:50 ..
> -rwxr-xr-x   1 Administrator Administrators 10580 Dec 21 02:30 t.exe
...

> But with coreutils-5.93-2 :
> 
> -------------------------------------------------------------------
> $ ls -lrta
...
> -rw-r--r--   1 Administrator Administrators   418 Nov 26 12:59 t.c
> 
> drwxrwxrwx+ 12 Administrator Users              0 Dec 19 23:50 .. <===
> drwxrwxrwx+ 12 Administrator Users              0 Dec 19 23:50 .. <===
> 
> -rwxr-xr-x   1 Administrator Administrators 10580 Dec 21 02:30 t.exe
> 
> i.e. the command ls -lrta shows two '.' and two '..' with coreutil-5.93-2.

I'll investigate; for what it's worth, I'm not even seeing the duplication
in the (no longer available) 5.93-1, although the only thing that changed
between -1 and -2 was recompilation to pick up brand new flags to open
such as O_DIRECT.  Perhaps the ls code uses one of those flags when
available, and the use of that flag is tickling a cygwin bug; I'll have
more details once I finish my analysis.

- --
Life is short - so eat dessert first!

Eric Blake             ebb9 AT byu DOT net
volunteer cygwin coreutils maintainer
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDuoWB84KuGfSFAYARAmk5AJ95TfGqgCQZidkQSj0QDHs90U3iAwCfSKqR
hVO2UkFHd+2fsYtFMGrjvSM=
=xxoO
-----END PGP SIGNATURE-----


--
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/

- Raw text -


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