[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Minios-devel] [UNIKRAFT/LIBNEWLIB PATCH v2 1/1] file.c: Add realpath() stub.
Thanks, Felipe! Reviewed-by: Costin Lupu <costin.lupu@xxxxxxxxx> On 9/3/19 12:47 PM, Felipe Huici wrote: > Add stub for realpath() needed by the upcoming Micropython port. > > Signed-off-by: Felipe Huici <felipe.huici@xxxxxxxxx> > --- > file.c | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/file.c b/file.c > index 3fdf99a..1566679 100644 > --- a/file.c > +++ b/file.c > @@ -47,6 +47,7 @@ > #include <sys/stat.h> > #include <errno.h> > #undef errno > +#include <stdlib.h> > extern int errno; > > #define STDIN_FILENO 0 /* standard input file descriptor */ > @@ -117,3 +118,8 @@ int pipe(int pipefd[2] __unused) > { > return 0; > } > + > +char *realpath(const char *restrict file_name, char *restrict resolved_name) > +{ > + return 0; > +} > _______________________________________________ Minios-devel mailing list Minios-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/minios-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |