diff options
author | cperciva <cperciva@FreeBSD.org> | 2008-03-25 11:31:16 +0000 |
---|---|---|
committer | cperciva <cperciva@FreeBSD.org> | 2008-03-25 11:31:16 +0000 |
commit | e212b28cc6ee26e864b6342ab5858510c28de531 (patch) | |
tree | 5b4da64bd06220a8922e6407c7a2c6204fbca661 /lib/libthr/thread/thr_cond.c | |
parent | e2f2131976c50e61068074f9b8e58763dfa61d8b (diff) | |
download | FreeBSD-src-e212b28cc6ee26e864b6342ab5858510c28de531.zip FreeBSD-src-e212b28cc6ee26e864b6342ab5858510c28de531.tar.gz |
Adjust recognize-shared-libraries regex to avoid matching symlinks to
shared libraries.
This fixes a problem which resulted in 6.x->7.x upgrades having the
/usr/lib/libpthread.so -> libthr.so symlink missing; what happened was
that the old libpthread.so symlink pointed to /lib/libpthread.so.2 --
which matched the "/lib/*\.so\.[0-9]+" regex -- but the new symlink
didn't, so FreeBSD Update got confused and deleted the symlink as part
of its "remove old shared libraries" step.
To recreate the symlink (which I understand is necessary for ports like
KDE to build) on a 7.x system which FreeBSD Update upgraded from 6.x:
# ln -s libthr.so /usr/lib/libpthread.so
Reported by: Dmitry RCL Rekman
Help diagnosing bug from: kris
MFC after: 7 days
Diffstat (limited to 'lib/libthr/thread/thr_cond.c')
0 files changed, 0 insertions, 0 deletions