tech-userlevel archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: importing basename_r and dirname_r from FreeBSD?
On Sun, May 22, 2011 at 02:57:12PM +0000, Emmanuel Dreyfus wrote:
> The solution is to have a dirname_r() as a drop-in replacement,
> using a macro. For porting glusterfs to NetBSD, I had to add
> GNU libc's implementation on dirname() through a patch. Of course
> that change will not be accepted upstream, therefore the search
> for an alternative.
If it's really worth adding (which I'm not sure about), it would
probably be better to call it __linux_dirname or something along those
lines.
--
David A. Holland
dholland%netbsd.org@localhost
Home |
Main Index |
Thread Index |
Old Index