use prebinding script on panther, it doesn't happen automatically like it

does on jaguar due to apple issues.
This commit is contained in:
pinkerton%aol.net 2004-06-16 05:45:18 +00:00
parent 1f3b071b23
commit 69bd069ad2

View File

@ -1313,12 +1313,13 @@ const int kReuseWindowOnAE = 2;
- (void) updatePrebinding
{
// For MacOS 10.2 and higher, don't do anything, since
// the OS updates our prebinding automatically.
// the OS updates our prebinding automatically, except on 10.3 where
// they screwed up and it doesn't work.
struct utsname u;
uname(&u);
float osVersion = atof(u.release);
if (osVersion >= 6.0) // MacOS 10.2 is based on Darwin 6.0
if (osVersion >= 6.0 && osVersion < 7.0) // Only bail for 10.2.x
return;
// Check our prebinding status. If we didn't launch prebound,