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:09:16 -0500 From: Christopher Faylor To: cygwin-developers AT sources DOT redhat DOT com Subject: Re: default cygdrive path prefix #define Message-ID: <20001105000916.A19050@redhat.com> Reply-To: cygwin-developers AT sources DOT redhat DOT com Mail-Followup-To: cygwin-developers AT sources DOT redhat DOT com References: <20001103170124 DOT B196 AT dothill DOT com> <20001103171035 DOT A23295 AT redhat DOT com> <20001105000528 DOT C1115 AT dothill DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.6i In-Reply-To: <20001105000528.C1115@dothill.com>; from Jason.Tishler@dothill.com on Sun, Nov 05, 2000 at 12:05:28AM -0500 On Sun, Nov 05, 2000 at 12:05:28AM -0500, Jason Tishler wrote: >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. I think that you mean cygwin/version.h. You're right. That is the right place for it. I was going to suggest this but somehow I thought that that header file wasn't available outside of the winsup tree. But, of course it is. The naming should be consistent, though. This should be CYGWIN_INFO_CYGDRIVE_FLAGS, etc. cgf