| delorie.com/archives/browse.cgi | search |
| 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 <cygwin AT cwilson DOT fastmail DOT fm> |
| 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: | <ds158s$vfk$1 AT sea DOT gmane DOT org> <Pine DOT GSO DOT 4 DOT 63 DOT 0602032230020 DOT 3425 AT access1 DOT cims DOT nyu DOT edu> |
| In-Reply-To: | <Pine.GSO.4.63.0602032230020.3425@access1.cims.nyu.edu> |
| 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 |
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: <http://cygwin.com/ml/cygwin/2006-01/msg01383.html>.
>
> 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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |