delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <480F720A.8722C059@dessent.net> |
Date: | Wed, 23 Apr 2008 10:29:46 -0700 |
From: | Brian Dessent <brian AT dessent DOT net> |
X-Mailer: | Mozilla 4.79 [en] (Windows NT 5.0; U) |
MIME-Version: | 1.0 |
To: | Bernard Blackham <b-cygwin AT largestprime DOT net> |
CC: | cygwin AT cygwin DOT com |
Subject: | Re: Subversion problems with "svn switch", "svn co", "svn switch", because of 'wrong' permissions in .svn/ directories |
References: | <20080419165955 DOT GD11912 AT trikaliotis DOT net> <20080421102419 DOT GA18922 AT trikaliotis DOT net> <045401c8a39b$78a3d3c0$2708a8c0 AT CAM DOT ARTIMI DOT COM> <20080423170816 DOT GA463 AT mersenne DOT largestprime DOT net> |
X-IsSubscribed: | yes |
Reply-To: | cygwin AT cygwin DOT com |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
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 |
Bernard Blackham wrote: > Why doesn't the Cygwin SVN build simply just #define WIN32 (or > whatever it takes) so the code which is _already in SVN_ to work > around this problem is actually used to fix the issue? I have not > seen anyone give a reason as to why this shouldn't be done. (If > there is, please feel free to flame me :) Because defining WIN32 would enable all of the native Windows codepaths and disable all the POSIX codepaths... that would not work very well considering that all Cygwin functions expect POSIX paths not Win32 paths. You'd essentially be building a native Win32 svn client that has no POSIX capability but still uses the Cygwin library, the worst of all possible worlds. But I'm quite sure you wouldn't even get that far since all those MSVCRT-specific things would stop it from even building, such as 1-arg vs 2-arg mkdir(), %lld vs %I64d, : vs ;, _foo vs foo, etc. What really needs to happen is to find just those places where a virus scanner workaround exists and change "#ifdef _WIN32" to "#if defined(_WIN32) || defined(__CYGWIN__)". Brian -- 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 |