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 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: <4BBBDA78 DOT 10002 AT cwilson DOT fastmail DOT fm> <20100407083403 DOT GD27428 AT calimero DOT vinschen DOT 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 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 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