delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2000/11/05/00:09:45

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-developers-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
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 <cgf AT redhat DOT com>
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
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019