diff --git a/winsup/cygwin/path.cc b/winsup/cygwin/path.cc index d9968ee2f..025acd6e2 100644 --- a/winsup/cygwin/path.cc +++ b/winsup/cygwin/path.cc @@ -52,26 +52,20 @@ declaration error with the XPG variant implemented herein. */ #define basename basename #include "winsup.h" -#include "miscfuncs.h" -#include -#include -#include +#include +#include #include #include +#include #include "cygerrno.h" -#include "security.h" #include "path.h" #include "fhandler.h" #include "dtable.h" #include "cygheap.h" #include "shared_info.h" -#include "cygtls.h" #include "tls_pbuf.h" #include "environ.h" -#include -#include -#include -#include +#include "uuid.h" #undef basename suffix_info stat_suffixes[] = @@ -710,8 +704,6 @@ path_conv::check (const char *src, unsigned opt, /* This loop handles symlink expansion. */ for (;;) { - assert (src); - is_relpath = !isabspath (src); error = normalize_posix_path (src, path_copy, tail); if (error > 0)