From 79e56091c9e4f21ecf1807e0f0f4441ddddc84e6 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Thu, 22 Feb 2001 12:56:36 +0000 Subject: * shortcut.c: New file. Provides a C interface to reading of Windows shortcuts to avoid compiler flag `-fvtable-thunks'. * shortcut.h: Ditto. * Makefile.in: Add shortcut.o to DLL_OFILES. * cygerrno.h: Provide a C interface to `geterrno_from_win_error' for using in shortcut.c. * errno.cc (geterrno_from_win_error): Define as extern "C". * path.cc (struct symlink_info): Remove methods `check_shortcut' and `check_sysfile'. (shortcut_header): Move to shortcut.c. (shortcut_initalized): Ditto. (create_shortcut_header): Ditto. (cmp_shortcut_header): Ditto. (symlink_info::check_shortcut): Ditto. Reorganize as a plain C function. (symlink_info::check_sysfile): Redefine as a global function using the same parameter list as `check_shortcut' for clearness. (symlink_info::check): Change parameter list for calls to `check_shortcut' and `check_sysfile'. --- winsup/cygwin/Makefile.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'winsup/cygwin/Makefile.in') diff --git a/winsup/cygwin/Makefile.in b/winsup/cygwin/Makefile.in index b665bd74c..71f513aba 100644 --- a/winsup/cygwin/Makefile.in +++ b/winsup/cygwin/Makefile.in @@ -124,7 +124,8 @@ DLL_OFILES:=assert.o autoload.o cygheap.o dcrt0.o debug.o delqueue.o dir.o \ miscfuncs.o mmap.o \ net.o ntea.o passwd.o path.o pinfo.o pipe.o poll.o pthread.o regexp.o \ regerror.o regsub.o registry.o resource.o scandir.o security.o select.o \ - shared.o signal.o sigproc.o smallprint.o spawn.o strace.o strsep.o \ + shared.o \ + shortcut.o signal.o sigproc.o smallprint.o spawn.o strace.o strsep.o \ sync.o syscalls.o sysconf.o syslog.o termios.o thread.o times.o tty.o \ uinfo.o uname.o wait.o window.o \ $(EXTRA_DLL_OFILES) $(EXTRA_OFILES) $(MT_SAFE_OBJECTS) -- cgit v1.2.3