From b69c7e13638df93b8184f0ab25c064bbde4b32e0 Mon Sep 17 00:00:00 2001 From: Steve Hay Date: Wed, 21 Nov 2007 09:45:57 +0000 Subject: RE: Net/Ping/t/510_ping_udp.t fails on Windows Vista From: "Steve Hay" Message-ID: <1B32FF956ABF414C9BCE5E487A1497E7DC885B@ukmail02.planit.group> p4raw-id: //depot/perl@32431 --- ext/Win32/Win32.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ext/Win32/Win32.pm b/ext/Win32/Win32.pm index 4519d2e19a..72dac3a95c 100644 --- a/ext/Win32/Win32.pm +++ b/ext/Win32/Win32.pm @@ -526,7 +526,7 @@ elements are, respectively: An arbitrary descriptive string, the major version number of the operating system, the minor version number, the build number, and a digit indicating the actual operating system. For the ID, the values are 0 for Win32s, 1 for Windows 9X/Me and 2 for -Windows NT/2000/XP/2003. In scalar context it returns just the ID. +Windows NT/2000/XP/2003/Vista. In scalar context it returns just the ID. Currently known values for ID MAJOR and MINOR are as follows: @@ -572,7 +572,7 @@ constants. PRODUCTTYPE provides additional information about the system. It should be one of the following integer values: - 1 - Workstation (NT 4, 2000 Pro, XP Home, XP Pro) + 1 - Workstation (NT 4, 2000 Pro, XP Home, XP Pro, Vista) 2 - Domaincontroller 3 - Server @@ -587,7 +587,7 @@ GetOSVersion() in list context. Currently the possible values for the OS name are - Win32s Win95 Win98 WinMe WinNT3.51 WinNT4 Win2000 WinXP/.Net Win2003 + Win32s Win95 Win98 WinMe WinNT3.51 WinNT4 Win2000 WinXP/.Net Win2003 WinVista This routine is just a simple interface into GetOSVersion(). More specific or demanding situations should use that instead. Another -- cgit v1.2.1