diff options
Diffstat (limited to 'config/nsinstall.c')
-rw-r--r-- | config/nsinstall.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/nsinstall.c b/config/nsinstall.c index 478cd47b..48041ea2 100644 --- a/config/nsinstall.c +++ b/config/nsinstall.c @@ -39,7 +39,7 @@ #define GETCWD_CAN_MALLOC #endif -#if defined(LINUX) || defined(__GNU__) || defined(__GLIBC__) +#if defined(LINUX) || defined(__GNU__) || defined(__GLIBC__) #include <getopt.h> #endif @@ -69,7 +69,7 @@ mkdirs(char *path, mode_t mode) char *cp; struct stat sb; int res; - + while (*path == '/' && path[1] == '/') path++; for (cp = strrchr(path, '/'); cp && cp != path && cp[-1] == '/'; cp--) |