Patch [fixes DB_ado installation error]

From: Date: Mon, 06 Jan 2003 12:02:07 +0000
Subject: Patch [fixes DB_ado installation error]
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-12156@lists.php.net to get a copy of this message
This corrects the error in installing DB_ado under Windows 2k and XP. The uname string reports "Windows" to the sysname field but the package requires win32 as the os name. Assuming win32 is useful (perhaps windows shopuld mean 16-bit windows, it makes sense to remap NT5+ to "win32". --- pear/OS/Guess.php.orig 2003-01-06 22:51:00.000000000 +1100 +++ pear/OS/Guess.php 2003-01-06 22:52:47.000000000 +1100 @@ -119,6 +119,7 @@ break; case 'Windows': $release = $parts[3]; + if ($release>=5) $sysname="win32"; break; default: $release = preg_replace('/-.*/', '', $parts[2]); Peter Hawkins, Global Vision Media 371 George St, Fitzroy, Vic, Australia 3065 +61 3 9412 7612

« previous php.pear.dev (#12156) next »