delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/04/07/04:53:54

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Wed, 7 Apr 2010 10:53:43 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: 1.7.1: cvs version built in is unstable
Message-ID: <20100407085343.GY18530@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <C742AC34C772EC4BAAF642C22E6079D301211253F0C7 AT NSPEXMBX-A DOT the-lab DOT llnl DOT gov> <DCBD1FBD71D1A3458CB77C1EB5195274059B268F AT CORPUSMX50C DOT corp DOT emc DOT com> <C742AC34C772EC4BAAF642C22E6079D30123F71F318E AT NSPEXMBX-A DOT the-lab DOT llnl DOT gov> <4BBBDA78 DOT 10002 AT cwilson DOT fastmail DOT fm> <20100407083403 DOT GD27428 AT calimero DOT vinschen DOT de>
MIME-Version: 1.0
In-Reply-To: <20100407083403.GD27428@calimero.vinschen.de>
User-Agent: Mutt/1.5.20 (2009-06-14)
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

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

- Raw text -


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