This is the mail archive of the
mailing list for the Cygwin project.
RE: 1.7.1: cvs version built in is unstable
I tried the touch command and here are the results:
Drive behaving nicely:
510 $ touch foo.
Drive behaving badly:
511 $ touch foo.
touch: cannot touch `foo.`: No such file or directory
This looks like the culprit.
> -----Original Message-----
> From: email@example.com [mailto:firstname.lastname@example.org] On
> Behalf Of Corinna Vinschen
> Sent: Wednesday, April 07, 2010 1:54 AM
> To: email@example.com
> Subject: Re: 1.7.1: cvs version built in is unstable
> 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
> > > /usr/include/sys/features.h. You really don't want to start lying
> > > 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 Vinschen Please, send mails regarding Cygwin
> 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
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple