Don't attempt to update prebinding on Panther, it doesn't work quite right and it's not needed as of 10.3.4. Bug 246283, r+a=ben.

This commit is contained in:
bryner%brianryner.com 2004-10-20 23:55:25 +00:00
Родитель aedb51d8be
Коммит 41b44d3798
1 изменённых файлов: 4 добавлений и 3 удалений

Просмотреть файл

@ -64,9 +64,10 @@ UpdatePrebinding()
// We run the redo-prebinding script in these cases:
// 10.1.x (5.x): No auto-update of prebinding exists
// 10.3.x (7.x): Auto-update of prebinding fails to complete successfully
// (for no apparent reason)
if (u.release[0] != '5' && u.release[0] != '7')
// On 10.3.x, prebinding fails to update automatically but this script
// doesn't work either. It doesn't matter though, because in 10.3.4 and
// higher, the loader is improved so that prebinding is unnecessary.
if (u.release[0] != '5')
return;
if (!_dyld_launched_prebound()) {