This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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 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 Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

Problem reports:
Unsubscribe info:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]