X-Spam-Check-By: sourceware.org Message-ID: <43E45697.1060407@cwilson.fastmail.fm> Date: Sat, 04 Feb 2006 02:24:07 -0500 From: Charles Wilson User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: cvs is broken/cygwin-bug in mkdir()? References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Igor Peshansky wrote: > On Sat, 4 Feb 2006, Sven Köhler wrote: > >> 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 > > As Brian said, this was already reported. The ball is now in the CVS > maintainer's court: . > > That's exactly right (see line 1002 of server.c). > >> Is this a bug in cygwin? > > Yes. I think I'd rather not add a hackish workaround in server.c (ignore the obvious bug in the dreck below) if (status != 0 - && status != EEXIST + && (status != EEXIST) +#ifdef __CYGWIN__ + && ((status != ENOENT) && (dir[strlen(dir)-2] == '/') && (dir(strlen(dir)-1] == '.')) +#endif + ) ....signal error... and just say "use a snapshot cygwin1.dll, or update to 1.5.20 when it is released". -- Chuck -- 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/