Cygwin: path.cc: clean up includes
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
parent
7ae89fe708
commit
28cf818c2e
|
@ -52,26 +52,20 @@
|
||||||
declaration error with the XPG variant implemented herein. */
|
declaration error with the XPG variant implemented herein. */
|
||||||
#define basename basename
|
#define basename basename
|
||||||
#include "winsup.h"
|
#include "winsup.h"
|
||||||
#include "miscfuncs.h"
|
#include <w32api/winioctl.h>
|
||||||
#include <ctype.h>
|
#include <w32api/shlobj.h>
|
||||||
#include <winioctl.h>
|
|
||||||
#include <shlobj.h>
|
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
#include <sys/cygwin.h>
|
#include <sys/cygwin.h>
|
||||||
|
#include <wctype.h>
|
||||||
#include "cygerrno.h"
|
#include "cygerrno.h"
|
||||||
#include "security.h"
|
|
||||||
#include "path.h"
|
#include "path.h"
|
||||||
#include "fhandler.h"
|
#include "fhandler.h"
|
||||||
#include "dtable.h"
|
#include "dtable.h"
|
||||||
#include "cygheap.h"
|
#include "cygheap.h"
|
||||||
#include "shared_info.h"
|
#include "shared_info.h"
|
||||||
#include "cygtls.h"
|
|
||||||
#include "tls_pbuf.h"
|
#include "tls_pbuf.h"
|
||||||
#include "environ.h"
|
#include "environ.h"
|
||||||
#include <assert.h>
|
#include "uuid.h"
|
||||||
#include <ntdll.h>
|
|
||||||
#include <wchar.h>
|
|
||||||
#include <wctype.h>
|
|
||||||
#undef basename
|
#undef basename
|
||||||
|
|
||||||
suffix_info stat_suffixes[] =
|
suffix_info stat_suffixes[] =
|
||||||
|
@ -710,8 +704,6 @@ path_conv::check (const char *src, unsigned opt,
|
||||||
/* This loop handles symlink expansion. */
|
/* This loop handles symlink expansion. */
|
||||||
for (;;)
|
for (;;)
|
||||||
{
|
{
|
||||||
assert (src);
|
|
||||||
|
|
||||||
is_relpath = !isabspath (src);
|
is_relpath = !isabspath (src);
|
||||||
error = normalize_posix_path (src, path_copy, tail);
|
error = normalize_posix_path (src, path_copy, tail);
|
||||||
if (error > 0)
|
if (error > 0)
|
||||||
|
|
Loading…
Reference in New Issue