Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | * cygcheck.cc (dirname): New static function. | Brian Dessent | 2008-03-11 | 1 | -0/+2 |
| | | | | | | | | | | | | | | (find_app_on_path): Use SYMLINK_MAX. Resolve symlink relative to link's location. Adjust to the fact that cygpath already normalizes its return value. * path.cc (rel_vconcat): Add cwd parameter, and use it instead of calling GetCurrentDirectory() if possible. Rename throughout. (vcygpath): Rename from cygpath and accept cwd and va_list. Pass cwd on to rel_vconcat(). (cygpath_rel): New front end for vcygpath. (cygpath): Ditto. * path.h (cygpath_rel): Declare. (SYMLINK_MAX): Define to 4095. | ||||
* | * cygcheck.cc (get_word, get_dword): Move to path.cc. | Corinna Vinschen | 2006-10-05 | 1 | -0/+6 |
| | | | | | | | | | | | | | | | | | | | (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. | ||||
* | * Makefile.in (strace.exe): Include mingw_getopt.o in link line. | Christopher Faylor | 2003-03-04 | 1 | -2/+2 |
| | | | | | | | | * cygcheck.cc (print_version): Update copyright. * strace.cc (print_version): Ditto. (main): Allow cygwin paths for -o option. (create_child): Allow cygwin path as argv[0]. * path.cc (path.cc): Allow UNC paths. | ||||
* | * path.h: New file. | Christopher Faylor | 2001-11-12 | 1 | -0/+11 |