Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin-developers AT sources DOT redhat DOT com Date: Sun, 5 Nov 2000 00:05:28 -0500 From: Jason Tishler To: cygwin-developers AT sources DOT redhat DOT com Subject: Re: default cygdrive path prefix #define Message-ID: <20001105000528.C1115@dothill.com> References: <20001103170124 DOT B196 AT dothill DOT com> <20001103171035 DOT A23295 AT redhat DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20001103171035.A23295@redhat.com>; from cgf@redhat.com on Fri, Nov 03, 2000 at 05:10:35PM -0500 Organization: Dot Hill Systems Corp. Chris, On Fri, Nov 03, 2000 at 05:10:35PM -0500, Christopher Faylor wrote: > On Fri, Nov 03, 2000 at 05:01:24PM -0500, Jason Tishler wrote: > >I may need to set the default cygdrive path prefix in setup.exe to > >implement the following: > > > > http://sources.redhat.com/ml/cygwin/2000-11/msg00160.html > > > >In order to keep setup.exe consistent with cygwin1.dll, they need to > >share a #define for the default cygdrive path prefix. Where is the best > >place to put this new #define? > > /usr/include/sys/cygwin.h (aka winsup/cygwin/include/sys/cygwin.h) is > probably the best place. What about winsup/cygwin/include/sys/version.h? There is already stuff like the following: /* Identifiers used in the Win32 registry. */ #define CYGWIN_INFO_CYGNUS_REGISTRY_NAME "Cygnus Solutions" #define CYGWIN_INFO_CYGWIN_REGISTRY_NAME "Cygwin" #define CYGWIN_INFO_PROGRAM_OPTIONS_NAME "Program Options" #define CYGWIN_INFO_CYGWIN_MOUNT_REGISTRY_NAME "mounts v2" I'm looking to add the following 3 #defines (with possibly better (i.e., longer) names): #define CYGDRIVE_FLAGS "cygdrive flags" #define CYGDRIVE_PREFIX "cygdrive prefix" #define CYGDRIVE_DEFAULT_PREFIX "/cygdrive" Note that path.cc already includes both so I'm quite willing to use either. Thanks, Jason -- Jason Tishler Director, Software Engineering Phone: +1 (732) 264-8770 x235 Dot Hill Systems Corporation Fax: +1 (732) 264-8798 82 Bethany Road, Suite 7 Email: Jason DOT Tishler AT dothill DOT com Hazlet, NJ 07730 USA WWW: http://www.dothill.com