cea9b62102
(LINK_EXTENSION): New macro. (check_existence): New static function. (find_on_path): Check for symbolic links if asked. (dll_info): New error handling. (track_down): Only call dll_info() for executables, display an error for symlinks, and print magic number for others. (find_app_on_path): New static function. (cygcheck, dump_sysinfo): Call find_app_on_path() instead of find_on_path(). * path.cc (cmp_shortcut_header): New static function. (get_word, get_dword): Moved from cygcheck.cc. (EXE_MAGIC, SHORTCUT_MAGIC, SYMLINK_COOKIE, SYMLINK_MAGIC): New macros. (is_exe, is_symlink, readlink): New functions. * path.h (is_exe, is_symlink, readlink): Declare. (get_word, get_dword): Ditto. |
||
---|---|---|
.. | ||
aclocal.m4 | ||
ChangeLog | ||
ChangeLog-2000 | ||
configure | ||
configure.in | ||
cygcheck.cc | ||
cygpath.cc | ||
dump_setup.cc | ||
dumper.cc | ||
dumper.h | ||
getfacl.c | ||
ipcrm.c | ||
ipcs.c | ||
kill.cc | ||
Makefile.in | ||
mkgroup.c | ||
mkpasswd.c | ||
module_info.cc | ||
mount.cc | ||
parse_pe.cc | ||
passwd.c | ||
path.cc | ||
path.h | ||
ps.cc | ||
regtool.cc | ||
setfacl.c | ||
setmetamode.c | ||
ssp.c | ||
ssp.txt | ||
strace.cc | ||
umount.cc | ||
utils.sgml |