Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-08-28* cygcheck.cc (nuke): Use malloc rather than alloca for environment variables.Christopher Faylor
(load_cygwin): Ditto. * dump_setup.cc (parse_filename): Cosmetic changes. (get_packages): Ditto.
2008-08-17* cygcheck.cc (print_version): Update copyright dates.Christopher Faylor
2008-08-04* cygcheck.cc (load_cygwin): Duplicate argv list since it disappears whenChristopher Faylor
cygwin1.dll is unloaded.
2008-07-27* cygcheck.cc (load_cygwin): Free the cygwin dll after we're done with it.Christopher Faylor
2008-04-22 * cygcheck.cc (dump_sysinfo): Fix multiple Cygwin DLL test.Corinna Vinschen
* path.cc: Fetch mount points from fstab files instead of from registry. Use adapted functions copied from Cygwin DLL. (mnt_t): Drop issys member. Define as "mnt_t" instead of "struct mnt_t" subsequently. (max_mount_entry): New variable. (unconvert_slashes): Move to earlier location in file. Make inline. (find2): Remove. (get_cygdrive0): Remove. (get_cygdrive): Remove. (skip_ws): New function. (find_ws): Ditto. (conv_fstab_spaces): Ditto. (read_flags): Ditto. (from_fstab_line): Ditto. (get_user): Ditto. (from_fstab): Ditto. (mnt_sort): Ditto. (read_mounts): Drop old registry code. Fetch "Software\Cygwin\Setup\rootdir" value from HKCU or HKLM key. Use rootdir extracted from module path as fallback. Call from_fstab for nouser and user mount points. (setmntent): Check max_mount_entry to test if read_mounts must be called. (getmntent): Use MOUNT_SYSTEM flag instead of mnt_t's issys member.
2008-03-11 * cygcheck.cc (find_app_on_path): Make buffer SYMLINK_MAX + 1Brian Dessent
chars.
2008-03-11 * cygcheck.cc (dirname): New static function.Brian Dessent
(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.
2008-01-13 * cygcheck.cc (dump_sysinfo): Always try to get a OSVERSIONINFOEXCorinna Vinschen
first. Load kernel32.dll earlier. Make osname a buffer. Simplify Non-NT code. Use GetProductInfo in Vista/2008 case. Clean up non-Vista version info. Exit early if not on NT.
2007-08-03 * Makefile.in (cygcheck.exe): Add bloda.o as prerequisite, adjustingDave Korn
dependency-filtering $(wordlist ...) call appropriately. Link ntdll. (bloda.o): New rule to build bloda.o * cygcheck.cc (dump_sysinfo): Call bloda function dump_dodgy_apps(). * bloda.cc: New file implements detection of applications from the Big List Of Dodgy Apps.
2007-06-04* cygcheck.cc (pathlike): New class.Christopher Faylor
(paths): Redefine as type pathlike. (display_error): Declare a few different ways to allow more flexible usage throughout. (display_error_fmt): New function for those cases where C++ just isn't enough. (add_path): Rewrite to allocate pathlike paths. Always tack on a trailing slash since that's what everyone who uses it wants. NULL terminate the path list. Register "it's a system path" field. (init_path): Call add_path with info regarding whether path is a system path or not. (pathlike::check_existence): Move into pathlike class. Accept file and extension arguments to build up path on the fly. Modify other arguments. (find_on_path): Constify return value and appropriate arguments. Eliminate short-circuit for fully-qualified paths. Simplify loop which iterates over path. (already_did): Constify argument. (track_down): Ditto. Regularize some error messages. (find_app_on_path): Ditto. (cygcheck): Constify argument. Use 20th century string handling functions. (dump_sysinfo): Remove odd inclusion of '\\bin' "Just in case". Accommodate change of paths to pathlike. * path.cc (isslash): Rename from SLASH_P and use throughout. (rel_vconcat): Front-end to vconcat which prepends cwd to path before passing along for conversion to native windows. (cygpath): Remove "./" test. Call rel_vconcat if filename appears to be relative.
2007-02-20 * cygcheck.cc (dump_sysinfo): Add "not supported" to osname on 9xCorinna Vinschen
machines. Drop "not supported" for Vista. Drop "Longhorn" text for now.
2006-10-05 * cygcheck.cc (get_word, get_dword): Move to path.cc.Corinna Vinschen
(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.
2006-09-13white spaceChristopher Faylor
2006-09-13Check in previously mentioned change to cygcheck.ccChristopher Faylor
2006-02-08 * cygcheck.cc (find_on_path): Update copyright text.Corinna Vinschen
2006-02-08 * cygcheck.cc (find_on_path): Create copy of rv on successful accessCorinna Vinschen
check, since rv can be reused in subsequent calls.
2006-01-20* cygcheck.cc (common_paths): Add "patch".Christopher Faylor
2006-01-19* cygcheck.cc (init_paths): Record first_nonsys_path.Christopher Faylor
(find_on_path): Start on first nonsys path when !search_sysdirs.
2006-01-17copyrightChristopher Faylor
2006-01-15 * Makefile.in (cygcheck.exe): Do not link against libwininet.a.Corinna Vinschen
* cygcheck.cc (pInternetCloseHandle): Define global function pointer. (display_internet_error): Use it. (package_grep): Attempt to load wininet.dll at runtime. Call WinInet API through function pointers throughout.
2006-01-13 * cygcheck.cc (dump_sysinfo): Convert k32 to HMODULE.Corinna Vinschen
2006-01-13 * cygcheck.cc (dump_sysinfo): Convert osname to const and remove castsCorinna Vinschen
in subsequent assignments. Recognize Longhorn/Vista and report as not yet supported. Recognize when running under WOW64 and report native CPU type. Slightly rearrange \n printing.
2006-01-12* cygcheck.cc: Replace ` with ' throughout.Christopher Faylor
2006-01-05* cygcheck.cc (dump_sysinfo): Report the failing drive to prevent having toChristopher Faylor
guess.
2005-12-29* cygcheck.cc (common_apps): Add crontab, vi, vim.Christopher Faylor
2005-12-15* cygcheck.cc (common_apps): Add a few more binaries to look for.Christopher Faylor
2005-11-22* Makefile.in: Link cygcheck with libwininet.a.Christopher Faylor
* cygcheck.cc: Add includes. (grep_packages): New global variable. (display_internet_error): New function. (safe_chars): New global variable. (base_url): Ditto. (package_grep): New function. (usage): Reword --help output for clarity. Document new argument. (longopts): Add 'package-query' option. (opts): Add 'p' option, reorder to be consistent with 'longopts'. (main): Accommodate new option. * utils.sgml (cygcheck): Update --help output. Document new -p option.
2005-08-17 * cygcheck.cc (dump_sysinfo_services): Properly null-terminate 'buf'.Brian Dessent
Avoid extraneous cygrunsrv invocation if 'verbose' is true.
2005-07-20* cygcheck.cc (find_on_path): Perform .exe magic on non-PATH search.Christopher Faylor
2005-07-06* cygcheck.cc (track_down, cygcheck): Return true on success.Christopher Faylor
(main): Reflect cygcheck failures in exit status.
2005-05-30 * cygcheck.cc (dump_sysinfo): Recognize XP Media Center and Tablet PCCorinna Vinschen
Editions. Change .NET to 2003 throughout. Recognize 2003 Web Server and Datacenter Server. Report when running in terminal server session.
2005-05-27* cygcheck.cc (load_cygwin): Make half-hearted attempt to work with older DLLs.Christopher Faylor
* strace.cc (load_cygwin): Ditto.
2005-05-23 * cygcheck.cc (dump_sysinfo_services): Add new function that usesCorinna Vinschen
new cygrunsrv options to dump service info. (dump_sysinfo): Call dump_sysinfo_services if running under NT. Change 'Cygnus' to 'Cygwin' in output.
2005-05-20* cygcheck.cc (load_cygwin): Remove debugging statement.Christopher Faylor
2005-05-20* cygcheck.cc (dump_sysinfo): Don't attempt to use path if it is not set.Christopher Faylor
(nuke): Fix off by one error in allocation of environment variable. (load_cygwin): Always set PATH even if cygwin environment is empty.
2005-05-17* cygcheck.cc (cygwin_internal): Define as a "C" function.Christopher Faylor
* strace.cc (cygwin_internal): Ditto. * cygpath.cc (print_version): Update copyright.
2005-05-16* cygcheck.cc (load_cygwin): Avoid calling putenv with a NULL path.Christopher Faylor
2005-05-15 * cygcheck.cc (load_cygwin): Don't touch $PATH for now.Corinna Vinschen
(print_version): Fix copyright. * strace.cc (print_version): Ditto.
2005-05-09* cygcheck.cc (nuke): New function.Christopher Faylor
(load_cygwin): New function. (main): Use load_cygwin to load argv/envp from cygwin environment, if appropriate.
2005-03-24 * cygcheck.cc (init_paths): Use full path instead of "." for theCorinna Vinschen
current directory. Do not add "." if present in $PATH. (dump_sysinfo): Skip placeholder first value of paths[].
2004-11-18* cygcheck.cc (eprintf): New function.Bas van Gompel
2004-11-16* cygcheck.cc (find_on_path): Clear show_error and/or print_failedBas van Gompel
parameters to display_error. (rva_to_offset): Ditto. (dll_info): Ditto. (track_down): Ditto.
2004-11-11* cygcheck.cc: Change "keyeprint" to "display_error" throughout.Christopher Faylor
2004-11-11* cygcheck.cc (main): Allow a '-l' without an additional argument.Christopher Faylor
2004-11-11* cygcheck.cc (keyeprint): New optional parameters: show_error andBas van Gompel
print_failed.
2004-10-31* cygcheck.cc (get_dword): Fix errormessage.Bas van Gompel
(cygwin_info): Ditto. (track_down): Ditto. (check_keys): Ditto.
2004-10-27* cygcheck.cc (dump_sysinfo): Warn about missing or multiple cygwin1Bas van Gompel
dlls.
2004-10-25* cygcheck.cc (dump_sysinfo): Add leading newline before legend forBas van Gompel
drive-list.
2004-10-25fix whitespace, update some copyrightsChristopher Faylor
2004-10-22* cygcheck.cc (dump_sysinfo): In legend for drive-list: Add ``ram'' andBas van Gompel
``unk''. Use single puts. Add leading newline. Line up equal-signs.