Files
poky/meta/recipes-devtools
Robert Yang 1bbc547a5e pseudo: Make realpath() remove trailing slashes
Linux system's realpath() remove trailing slashes, but pseudo's doesn't, need
make them identical.

E.g., the following code (rel.c) prints '/tmp' with system's realpath, but
pseudo's realpath prints '/tmp/':

    #include <stdio.h>
    #include <limits.h>
    #include <stdlib.h>

    int main() {
        char out[PATH_MAX];
        printf("%s\n", realpath("/tmp/", out));
        return 0;
    }

$ bitbake base-passwd -cdevshell # For pseudo env
$ gcc rel.c
$ ./a.out
/tmp/ (but should be /tmp)

This patch fixes the problem.

(From OE-Core rev: 319bbf66e03377adf2db7efa93ef578e3460eb38)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-12-30 08:47:09 +00:00
..
2019-12-09 12:00:43 +00:00
2019-10-23 16:30:35 +01:00
2019-08-30 17:10:28 +01:00
2019-12-16 23:25:49 +00:00
2018-08-23 18:02:23 +01:00
2019-10-31 16:09:35 +00:00
2019-12-09 12:00:43 +00:00
2019-11-25 17:57:23 +00:00
2019-12-16 23:25:49 +00:00
2019-12-16 23:25:49 +00:00
2019-12-28 23:25:41 +00:00
2019-10-19 23:18:33 +01:00
2018-03-09 09:17:03 -08:00
2019-12-04 12:30:58 +00:00
2019-11-21 23:08:19 +00:00
2019-05-27 17:06:34 +01:00
2018-01-30 12:53:16 +00:00
2019-02-15 16:05:37 +00:00
2019-12-28 23:25:42 +00:00
2019-07-31 23:03:01 +01:00
2019-12-15 09:10:46 +00:00
2019-07-15 09:30:00 +01:00
2019-12-28 23:25:41 +00:00
2019-12-09 12:00:43 +00:00
2019-12-09 12:00:42 +00:00
2019-07-18 12:16:19 +01:00
2018-11-14 11:14:39 +00:00
2019-08-28 11:31:21 +01:00
2019-07-19 16:19:14 +01:00
2019-12-16 23:25:49 +00:00
2019-11-21 23:08:20 +00:00
2019-04-05 17:32:50 +01:00