From 04f57e1644b3d52e539669235a267704a1c864d1 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Fri, 1 Jul 2016 11:57:30 -0700 Subject: Report as CYGNAL in uname syscall. This allows applications to distinguish whether they are running on the stock Cygwin or Cygnal. * winsup/cygwin/uname.cc (uname): sysname is now filled in with CYGNAL_ prefix rather than CYGWIN_. --- winsup/cygwin/uname.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/winsup/cygwin/uname.cc b/winsup/cygwin/uname.cc index 479cc442a..25d8d6268 100644 --- a/winsup/cygwin/uname.cc +++ b/winsup/cygwin/uname.cc @@ -26,7 +26,7 @@ uname (struct utsname *name) char *snp = strstr (cygwin_version.dll_build_date, "SNP"); memset (name, 0, sizeof (*name)); - __small_sprintf (name->sysname, "CYGWIN_%s", wincap.osname ()); + __small_sprintf (name->sysname, "CYGNAL_%s", wincap.osname ()); /* Add a hint to the sysname, that we're running under WOW64. This might give an early clue if somebody encounters problems. */ -- cgit v1.2.3