Quick and dirty malloc() support for realpath.

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Wed Oct 28 18:41:45 UTC 2009


On Wed, Oct 28, 2009 at 12:19:44PM -0500, Rob Landley wrote:
>Please read the patch I submitted.
>
>@@ -168,5 +172,6 @@
>                new_path--;
>        /* Make sure it's null terminated. */
>        *new_path = '\0';
>+       if (allocated) got_path = strdup(got_path);

please follow the established coding-style in this file, i.e. break
the above in two lines, one for "if" and one for the rest (if the rest
fits into 80 chars).


More information about the uClibc mailing list