X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: =?ISO-8859-1?Q?Sven_K=F6hler?= Subject: Re: cvs is broken/cygwin-bug in mkdir()? Date: Sat, 04 Feb 2006 05:11:08 +0100 Lines: 37 Message-ID: <43E4295C.6080002@upb.de> References: <43E425DE DOT AEB7CB93 AT dessent DOT net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit User-Agent: Thunderbird 1.5 (Windows/20051201) In-Reply-To: <43E425DE.AEB7CB93@dessent.net> X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk 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 >> 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: > > > > 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/