delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/02/03/23:11:35

X-Spam-Check-By: sourceware.org
Message-ID: <43E4295C.6080002@upb.de>
Date: Sat, 04 Feb 2006 05:11:08 +0100
From: =?ISO-8859-1?Q?Sven_K=F6hler?= <skoehler AT upb DOT de>
User-Agent: Thunderbird 1.5 (Windows/20051201)
MIME-Version: 1.0
Newsgroups: gmane.os.cygwin
To: cygwin AT cygwin DOT com
Subject: Re: cvs is broken/cygwin-bug in mkdir()?
References: <ds158s$vfk$1 AT sea DOT gmane DOT org> <43E425DE DOT AEB7CB93 AT dessent DOT net>
In-Reply-To: <43E425DE.AEB7CB93@dessent.net>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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

>> i'm trying to use cygwin's cvs in server-mode for another application
>> I get the following error, but on a linux-system, everything is fine!
>>
>>   E cannot mkdir /tmp/cvs-serv784/.
>>   error  No such file or directory
> 
> Already discussed:
> <http://www.cygwin.com/ml/cygwin/2006-01/threads.html#01207>
> <http://www.cygwin.com/ml/cygwin/2006-01/msg01357.html>
> 
> It's the trailing dot that is the problem, which it seems like cvs is
> erroneously adding.  Previous versions of Cygwin accepted it, but the
> change was made to reject such calls to mkdir() in order to more
> linux-like.  I'm not sure about the errno returned, though.

Right, the trailing dot is the problem _but_ the directory
"/tmp/cvs-serv784" is created by cvs, but cvs then additionally tries to
create "/tmp/cvs-serv784/."

As i demonstrated, my Linux returns the error "file already exists"
instead of cygwin's "no such file or directory". So the problem is
perhaps gone, if cygwin becomes more Linux-like once again ;-)

> A reported workaround is to use an earlier Cygwin (such as .18) but that
> really isn't a great idea since you will also have to downgrade a
> handful of other packages (coreutils, findutils, bash, libreadline,
> others?)  Or someone may have tracked down the issue in cvs, I'm not
> sure.

yes, that really not a good idea.

I'm trying to develop a Eclipse-Plugin for local CVS without SSH. It
would be nice, if cvs would run in servermode - by either fixing CVS or
cygwin - well, one of the two has to be fixed.

Greetings
  Sven

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

- Raw text -


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