This commit is contained in:
Kelvin Sherlock 2016-08-02 18:37:28 -04:00
parent 54c927895a
commit 9972b9e66b
7 changed files with 11 additions and 9 deletions

View File

@ -27,6 +27,7 @@
#include <string>
#include <unordered_map>
#include <cstdio>
#include <cstring>
#include <vector>
#include <sys/types.h>

View File

@ -46,7 +46,7 @@
#include <cpu/defs.h>
#include <cpu/fmem.h>
#include <cpu/cpuModule.h>
#include <cpu/CpuModule.h>
#include <toolbox/toolbox.h>
#include <toolbox/mm.h>

View File

@ -40,11 +40,10 @@
#include <unistd.h>
#include <fcntl.h>
#include <stdlib.h>
#include <sys/paths.h>
#include <cpu/defs.h>
#include <cpu/fmem.h>
#include <cpu/cpuModule.h>
#include <cpu/CpuModule.h>
#include <toolbox/toolbox.h>
#include <toolbox/os.h>

View File

@ -36,7 +36,7 @@
#include <cpu/defs.h>
#include <cpu/fmem.h>
#include <cpu/cpuModule.h>
#include <cpu/CpuModule.h>
#include <macos/errors.h>

View File

@ -38,7 +38,7 @@
#include <cpu/defs.h>
#include <cpu/fmem.h>
#include <cpu/cpuModule.h>
#include <cpu/CpuModule.h>
#include <macos/errors.h>

View File

@ -40,11 +40,10 @@
#include <stdlib.h>
#include <unistd.h>
#include <fcntl.h>
#include <sys/paths.h>
#include <cpu/defs.h>
#include <cpu/fmem.h>
#include <cpu/cpuModule.h>
#include <cpu/CpuModule.h>
#include <macos/errors.h>

View File

@ -29,8 +29,8 @@
#if defined(LIBC_SCCS) && !defined(lint)
static char sccsid[] = "@(#)realpath.c 8.1 (Berkeley) 2/16/94";
#endif /* LIBC_SCCS and not lint */
#include <sys/cdefs.h>
//#include <sys/cdefs.h>
#include <limits.h>
//#include "namespace.h"
#include <sys/param.h>
#include <sys/stat.h>
@ -42,6 +42,9 @@ static char sccsid[] = "@(#)realpath.c 8.1 (Berkeley) 2/16/94";
//#include "un-namespace.h"
#define FS_SPEC
#ifndef PATH_MAX
#define PATH_MAX 1024
#endif
/*
* Find the real name of path, by removing all ".", ".." and symlink