10b06c5ee0
* autoload.cc: Add LoadDLLinitfunc for ole32.dll. Add LoadDLLfuncEx statements for CoInitialize@4, CoUninitialize@0 and CoCreateInstance@20. * dir.cc (dir_suffixes): New datastructure. (readdir): Check for R/O *.lnk files to hide the suffix. (opendir): Use `dir_suffixes' in path conversion. (rmdir): Ditto. * fhandler.cc (fhandler_disk_file::fstat): Add S_IFLNK flag before calling `get_file_attribute'. Take FILE_ATTRIBUTE_READONLY into account only if the file is no symlink. * path.cc (inner_suffixes): New datastructure. (SYMLINKATTR): Eliminated. (path_conv::check): Use `inner_suffixes' on inner path components. (shortcut_header): New global static variable. (shortcut_initalized): Ditto. (create_shortcut_header): New function. (cmp_shortcut_header): Ditto. (symlink): Create symlinks by creating windows shortcuts. Preserve the old code. (symlink_info::check_shortcut): New method. (symlink_info::check_sysfile): Ditto. (symlink_info::check): Check for shortcuts. Move code reading old system attribute symlinks into symlink_info::check_sysfile(). (chdir): Use `dir_suffixes' in path conversion. * security.cc (get_file_attribute): Check for S_IFLNK flag. Force 0777 permissions then. * spawn.cc (std_suffixes): Add ".lnk" suffix. * syscalls.cc (_unlink): Use `inner_suffixes' in path conversion. Check for shortcut symlinks to eliminate R/O attribute before calling DeleteFile(). (stat_suffixes): Add ".lnk" suffix. (stat_worker): Force 0777 permissions if file is a symlink. |
||
---|---|---|
.. | ||
config/i386 | ||
include | ||
lib | ||
regexp | ||
CYGWIN_LICENSE | ||
ChangeLog | ||
ChangeLog-1995 | ||
ChangeLog-1996 | ||
ChangeLog-1997 | ||
ChangeLog-1998 | ||
ChangeLog-1999 | ||
ChangeLog-2000 | ||
Makefile.in | ||
ROADMAP | ||
acconfig.h | ||
ansi.sgml | ||
assert.cc | ||
autoload.cc | ||
autoload.h | ||
automode.c | ||
binmode.c | ||
child_info.h | ||
config.h.in | ||
configure | ||
configure.in | ||
cygerrno.h | ||
cygheap.cc | ||
cygheap.h | ||
cygrun.c | ||
cygwin.din | ||
cygwin_version.h | ||
dcrt0.cc | ||
debug.cc | ||
debug.h | ||
delqueue.cc | ||
delqueue.h | ||
dir.cc | ||
dlfcn.cc | ||
dll_init.cc | ||
dll_init.h | ||
dll_init.sgml | ||
dtable.cc | ||
dtable.h | ||
dtable.sgml | ||
environ.cc | ||
environ.h | ||
errno.cc | ||
exceptions.cc | ||
exec.cc | ||
external.cc | ||
external.sgml | ||
fcntl.cc | ||
fhandler.cc | ||
fhandler.h | ||
fhandler_clipboard.cc | ||
fhandler_console.cc | ||
fhandler_floppy.cc | ||
fhandler_mem.cc | ||
fhandler_random.cc | ||
fhandler_raw.cc | ||
fhandler_serial.cc | ||
fhandler_socket.cc | ||
fhandler_tape.cc | ||
fhandler_termios.cc | ||
fhandler_tty.cc | ||
fhandler_windows.cc | ||
fhandler_zero.cc | ||
fork.cc | ||
gcrt0.c | ||
glob.c | ||
gmon.c | ||
gmon.h | ||
grp.cc | ||
heap.cc | ||
heap.h | ||
host_dependent.h | ||
init.cc | ||
ioctl.cc | ||
localtime.c | ||
malloc_wrapper.cc | ||
mcount.c | ||
misc-std.sgml | ||
miscfuncs.cc | ||
mkvers.sh | ||
mmap.cc | ||
net.cc | ||
ntdll.h | ||
ntea.cc | ||
passwd.cc | ||
path.cc | ||
path.h | ||
path.sgml | ||
perprocess.h | ||
perthread.h | ||
pinfo.cc | ||
pinfo.h | ||
pipe.cc | ||
poll.cc | ||
posix.sgml | ||
profil.c | ||
profil.h | ||
pthread.cc | ||
registry.cc | ||
registry.h | ||
resource.cc | ||
scandir.cc | ||
security.cc | ||
security.h | ||
select.cc | ||
select.h | ||
shared.cc | ||
shared.sgml | ||
shared_info.h | ||
signal.cc | ||
sigproc.cc | ||
sigproc.h | ||
smallprint.c | ||
spawn.cc | ||
strace.cc | ||
strsep.cc | ||
sync.cc | ||
sync.h | ||
syscalls.cc | ||
sysconf.cc | ||
syslog.cc | ||
termios.cc | ||
test.c | ||
textmode.c | ||
thread.cc | ||
thread.h | ||
times.cc | ||
tty.cc | ||
tty.h | ||
tz_posixrules.h | ||
uinfo.cc | ||
uname.cc | ||
wait.cc | ||
window.cc | ||
winsup.h | ||
winver.rc |