[patch] fix for cygcheck -s if run from /usr/bin

2005-03-24 Thread Brian Dessent
Currently, if you run cygcheck -s with the current directory as /usr/bin you get every cyg*.dll found twice, once with ".\" prefix and the second time with "\cygwin\bin\" prefix. The user gets a spurious "Multiple Cygwin DLLs found" warning even if there is only one present. The following patch

Re: [patch] fix for cygcheck -s if run from /usr/bin

2005-03-24 Thread Corinna Vinschen
On Mar 24 01:53, Brian Dessent wrote: > * cygcheck.cc (init_paths): Use full path instead of "." for the > current directory. Do not add "." if present in $PATH. > (dump_sysinfo): Skip placeholder first value of paths[]. Looks good. I've checked this in. Thanks, Corinna --