* 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.
This commit is contained in:
Corinna Vinschen
2002-09-04 13:11:29 +00:00
parent c309557a9f
commit 03dc3df581
6 changed files with 95 additions and 200 deletions

View File

@@ -170,6 +170,9 @@ class path_conv
/* Socket marker */
#define SOCKET_COOKIE "!<socket >"
/* 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)));