This is the mail archive of the
cygwin-developers
mailing list for the Cygwin project.
Re: Avoid collisions between parallel installations of Cygwin
- From: Christian Franke <Christian dot Franke at t-online dot de>
- To: cygwin-developers at cygwin dot com
- Date: Mon, 12 Oct 2009 20:58:38 +0200
- Subject: Re: Avoid collisions between parallel installations of Cygwin
- References: <20091012162848.GB11169@calimero.vinschen.de>
Corinna Vinschen wrote:
--- cygwin/external.cc 6 Oct 2009 21:51:16 -0000 1.108
+++ cygwin/external.cc 12 Oct 2009 16:02:18 -0000
@@ -413,6 +413,12 @@ cygwin_internal (cygwin_getinfo_types t,
int useTerminateProcess = va_arg (arg, int);
exit_process (status, !!useTerminateProcess); /* no return */
}
+ case CW_GET_INSTKEY:
+ {
+ extern WCHAR installation_key_buf[18];
+ PWCHAR dest = va_arg (arg, PWCHAR);
+ wcscpy (dest, installation_key_buf);
+ }
default:
break;
Minor issue: 'return 0;' missing.
Christian