X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Date: Wed, 7 Apr 2010 10:53:43 +0200
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: 1.7.1: cvs version built in is unstable
Message-ID: <20100407085343.GY18530@calimero.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <C742AC34C772EC4BAAF642C22E6079D301211253F0C7@NSPEXMBX-A.the-lab.llnl.gov>  <DCBD1FBD71D1A3458CB77C1EB5195274059B268F@CORPUSMX50C.corp.emc.com>  <C742AC34C772EC4BAAF642C22E6079D30123F71F318E@NSPEXMBX-A.the-lab.llnl.gov>  <4BBBDA78.10002@cwilson.fastmail.fm>  <20100407083403.GD27428@calimero.vinschen.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20100407083403.GD27428@calimero.vinschen.de>
User-Agent: Mutt/1.5.20 (2009-06-14)
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On Apr  7 10:34, Corinna Vinschen wrote:
> On Apr  6 21:06, Charles Wilson wrote:
> > On 4/6/2010 1:33 PM, Roe, Kevin L. wrote:
> > > Is it possible to change the setting of "POSIX_NO_TRUNC"?
> > 
> > No. That symbol (accurately) describes the underlying behavior of the C
> > runtime library (in this case, the new cygwin1.dll) and is defined in
> > /usr/include/sys/features.h.  You really don't want to start lying about
> > the behavior of your C library; that way lies madness.
> 
> The real solution lies in Cygwin, I fear.  We probably have to add a
> tweak to the pathname handling which reverts to good old Win32
> compatible filenames (no leading spaces, no trailing dots and spaces)
> when the target filesystem is Samba.
> 
> I look into it, but maybe not for 1.7.4.

I'm sorry, but I don't see a problem with these filenames on Samba:

  $ touch a.b.
  $ ls -l 
  [...]
  -rw-r--r-- 1 corinna vinschen       0 2010-04-07 10:36 AB2F49~0
  $ ls -l a.b.
  -rw-r--r-- 1 corinna vinschen       0 2010-04-07 10:36 a.b.
  $ rm a.b.
  $ touch "abc "
  $ ls -l
  [...]
  -rw-r--r-- 1 corinna vinschen       0 2010-04-07 10:40 AZIJUG~1
  $ ls -l "abc "
  -rw-r--r-- 1 corinna vinschen       0 2010-04-07 10:40 abc 
  $ rm "abc "

I also tested cvs, and it didn't complain about filenames with a
dot as the 9th char.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

