realpath bug

Mike Frysinger vapier at gentoo.org
Sat Feb 10 02:34:35 UTC 2007


On Friday 09 February 2007, Marc Leeman wrote:
> The system is using an empty /tmp fs (tmpfs), so the socket or any other
> file is not present in /tmp when xmallok_realpath("/dev/log") is called.

then the behavior of realpath is correct ... it should return NULL on broken 
symlinks which is what it appears to be doing

> So since uclibc's implementation of realpath matches glibc's; we should
> re-store the relevant parts of the older syslogd code again instead of
> fixing it in xmalloc_realpath()?

that seems to be prudent i would think
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/busybox/attachments/20070209/d9d95fa7/attachment-0002.pgp 


More information about the busybox mailing list