summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/uname.cc
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2015-01-24 19:56:42 +0000
committerCorinna Vinschen <corinna@vinschen.de>2015-01-24 19:56:42 +0000
commit73b4c402056e0cdee47589d60b4191b15bbcf570 (patch)
tree2ff29abb2ccf3560df9011a97fbaf4c75b37d37f /winsup/cygwin/uname.cc
parent71906368e5c2b34a8bb98ea7418c52369f7a050f (diff)
downloadcygnal-73b4c402056e0cdee47589d60b4191b15bbcf570.tar.gz
cygnal-73b4c402056e0cdee47589d60b4191b15bbcf570.tar.bz2
cygnal-73b4c402056e0cdee47589d60b4191b15bbcf570.zip
* uname.cc (uname): Shorten "WOW64" to "WOW" to account for the new
Windows 10 OS version "10.0" starting with preview build 9926.
Diffstat (limited to 'winsup/cygwin/uname.cc')
-rw-r--r--winsup/cygwin/uname.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/uname.cc b/winsup/cygwin/uname.cc
index b586e6374..1aa7f7371 100644
--- a/winsup/cygwin/uname.cc
+++ b/winsup/cygwin/uname.cc
@@ -1,7 +1,7 @@
/* uname.cc
Copyright 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
- 2006, 2007, 2008, 2013, 2014 Red Hat, Inc.
+ 2006, 2007, 2008, 2013, 2014, 2015 Red Hat, Inc.
Written by Steve Chamberlain of Cygnus Support, sac@cygnus.com
Rewritten by Geoffrey Noer of Cygnus Solutions, noer@cygnus.com
@@ -32,7 +32,7 @@ uname (struct utsname *name)
/* Add a hint to the sysname, that we're running under WOW64. This might
give an early clue if somebody encounters problems. */
if (wincap.is_wow64 ())
- strncat (name->sysname, "-WOW64",
+ strncat (name->sysname, "-WOW",
sizeof name->sysname - strlen (name->sysname) - 1);
GetSystemInfo (&sysinfo);