delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
From: | ericblake AT comcast DOT net (Eric Blake) |
To: | Dave Bodenstab <dave AT bodenstab DOT org>, cygwin AT cygwin DOT com |
Subject: | Re: Possible bug with mmap on XP? |
Date: | Fri, 03 Feb 2006 16:39:04 +0000 |
Message-Id: | <020320061639.25459.43E387280009B5B90000637322070208530A050E040D0C079D0A@comcast.net> |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
> > I would like to modify my program to set the required permissions. > Is the mapping between Cygwin's uname()'s sysname and XP, NT, 98SE, > 98, etc. available somewhere? Actually, if I could just tell if the > underlying windows is XP, that would be sufficient I think. The end of wincap.cc shows the mapping between the Windows version string (which gets put in the sysname portion of uname(2)) vs. the os capabilities in use (with some pretty informative variable names). http://cygwin.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/wincap.cc?rev=1.50&content-type=text/x-cvsweb-markup&cvsroot=src Wouldn't you know it - a version of NT-5.1 selects wincap_xp? -- Eric Blake -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |