summaryrefslogtreecommitdiffstats
path: root/newlib/libc/sys/linux/stdlib
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2006-10-05 17:24:13 +0000
committerCorinna Vinschen <corinna@vinschen.de>2006-10-05 17:24:13 +0000
commitcea9b62102c60a001f12b1709868716e3ee23cf5 (patch)
tree564aced29bbdf7aa03529e9a9cfe17057ba6a1ac /newlib/libc/sys/linux/stdlib
parent66845c62b18a89e2dd2f336a29cee9073e4fe3cd (diff)
downloadcygnal-cea9b62102c60a001f12b1709868716e3ee23cf5.tar.gz
cygnal-cea9b62102c60a001f12b1709868716e3ee23cf5.tar.bz2
cygnal-cea9b62102c60a001f12b1709868716e3ee23cf5.zip
* cygcheck.cc (get_word, get_dword): Move to path.cc.
(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.
Diffstat (limited to 'newlib/libc/sys/linux/stdlib')
0 files changed, 0 insertions, 0 deletions