From 03dc3df581744715c07b2bd742a8cb440b3a20de Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Wed, 4 Sep 2002 13:11:29 +0000 Subject: * Makefile.in (DLL_OFILES): Drop shortcut.o. * path.cc: Move all shortcut functions from shortcut.c to here. (check_shortcut): Implement without using COM interface. * path.h: Move definition of SHORTCUT_HDR_SIZE to here. * shortcut.c: Remove. * shortcut.h: Ditto. --- winsup/cygwin/path.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'winsup/cygwin/path.h') diff --git a/winsup/cygwin/path.h b/winsup/cygwin/path.h index f9f55035e..c8bb7cead 100644 --- a/winsup/cygwin/path.h +++ b/winsup/cygwin/path.h @@ -170,6 +170,9 @@ class path_conv /* Socket marker */ #define SOCKET_COOKIE "!" +/* The sizeof header written to a shortcut by Cygwin or U/WIN. */ +#define SHORTCUT_HDR_SIZE 76 + /* Maximum depth of symlinks (after which ELOOP is issued). */ #define MAX_LINK_DEPTH 10 int __stdcall slash_unc_prefix_p (const char *path) __attribute__ ((regparm(1))); -- cgit v1.2.3