default cygdrive path prefix #define

Jason Tishler
Sat Nov 4 21:02:00 GMT 2000


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:
> >
> >
> >
> >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_PROGRAM_OPTIONS_NAME "Program Options"

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 already includes both so I'm quite willing to use


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:
Hazlet, NJ 07730 USA                 WWW:

More information about the Cygwin-developers mailing list