realpath bug

Mike Frysinger vapier at gentoo.org
Thu Feb 8 19:09:42 UTC 2007


On Thursday 08 February 2007, Marc Leeman wrote:
> > I attach a suggested patch. Please let me know if the solution is
> > correct.
> >
> > -                return NULL;
> > +                return resolved_path;
>
> I encountered this problem with a syslogd rewrite in busybox
> 1.4.0/1.4.1 where the function xmalloc_realpath depends on the return
> value of realpath. The re-write is correct, but it lets a uclibc bug
> surface.
>
> Since it always returns NULL; syslogd breaks on (buildroot generated)
> read only filesystems.

could you be more specific as to what is breaking ?  "syslogd breaks on read 
only filesystems" does not translate well into actual test cases for 
inclusion into uClibc testsuite ...
-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/uclibc/attachments/20070208/e050942c/attachment-0002.pgp 


More information about the uClibc mailing list