summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/netbsd_msync.c
diff options
context:
space:
mode:
authorjb <jb@FreeBSD.org>1998-04-30 09:13:48 +0000
committerjb <jb@FreeBSD.org>1998-04-30 09:13:48 +0000
commit18a366f3a01c96e9bb5b684ad825f600340ccb30 (patch)
treec22240ae6bebb8c6624e2f1fdfa986a5cfd81bca /lib/libc/sys/netbsd_msync.c
parent0b5bef5fb753fa949c2fe6fa8e612678591e94bf (diff)
downloadFreeBSD-src-18a366f3a01c96e9bb5b684ad825f600340ccb30.zip
FreeBSD-src-18a366f3a01c96e9bb5b684ad825f600340ccb30.tar.gz
Build __error.c into libc, but not libc_r. The weak symbol in the
file works with libpthread, but when built into libc_r which has a non-weak symbol of the same name, the linker behaves unpredicatably and sometimes links the wrong symbol. The linker behaviour is a byproduct of what the program calls from object to object so it is like winning a lottery if the program actually works. The odds are quite good - 95:1, I think. We need a sure thing, though, so weak symbols can't be used instead of renaming things.
Diffstat (limited to 'lib/libc/sys/netbsd_msync.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud