[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gluster-devel] Rejected NetBSD patches
From: |
Emmanuel Dreyfus |
Subject: |
Re: [Gluster-devel] Rejected NetBSD patches |
Date: |
Mon, 30 Apr 2012 21:38:59 +0200 |
User-agent: |
MacSOUP/2.7 (unregistered for 1928 days) |
Kaleb S. KEITHLEY <address@hidden> wrote:
> I've attached MT-SAFE versions of dirname() and basename() derived from
> FreeBSD-8.2's implementations. (They compile on FreeBSD and Fedora, but
> I haven't tested glusterfs with them.) Note that I'm rather dismayed
> that dirname() and basename() in FreeBSD's libc aren't weak symbols. I
> presume that NetBSD's libc has the same misfeature.
$ nm /usr/lib/libc.so|grep basename
0004fca8 T _basename
0004fca8 W basename
$ uname -sr
NetBSD 5.1_STABLE
But I do not know how to hijack a weak symbol.
--
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
address@hidden