newlib/winsup/utils
Christopher Faylor f0136ac908 * cygcheck.cc (pathlike): New class.
(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-06-04 01:57:16 +00:00
..
ChangeLog * cygcheck.cc (pathlike): New class. 2007-06-04 01:57:16 +00:00
ChangeLog-2000
Makefile.in * Makefile.in: Fix -ntdll typo. 2006-09-12 15:14:51 +00:00
aclocal.m4 update to newer autoconf 2006-05-24 16:59:03 +00:00
configure update to newer autoconf 2006-05-24 16:59:03 +00:00
configure.in update to newer autoconf 2006-05-24 16:59:03 +00:00
cygcheck.cc * cygcheck.cc (pathlike): New class. 2007-06-04 01:57:16 +00:00
cygpath.cc * cygpath.cc (do_options): Allow outputflag combined with other 2007-05-29 07:54:45 +00:00
dump_setup.cc * dump_setup.cc (package_find): Fix is_alias computation for "/usr/lib". 2005-12-19 16:58:33 +00:00
dumper.cc * dumper.cc (dumper::prepare_core_dump): Record a phdr for each section. 2007-05-29 08:08:06 +00:00
dumper.h
getfacl.c
ipcrm.c
ipcs.c * ipcs.c (_POSIX2_LINE_MAX): Drop definition. 2007-02-22 10:53:37 +00:00
kill.cc * kill.cc (getsig): Rectify bug introduced by 2005-02-26 change. Don't pad 2005-03-08 04:06:26 +00:00
mkgroup.c bad_keywords 2006-01-18 15:57:56 +00:00
mkpasswd.c bad_keywords 2006-01-18 15:57:56 +00:00
module_info.cc
mount.cc * cygwin/external.cc (cygwin_internal): Implement CW_SET_DOS_FILE_WARNING. 2007-03-30 13:36:06 +00:00
parse_pe.cc * parse_pe.c (exclusion::sort_and_check): Remove crude cast. 2005-06-14 12:42:57 +00:00
passwd.c * passwd.c (longopts): Add --logonserver option. 2005-08-18 20:25:43 +00:00
path.cc * cygcheck.cc (pathlike): New class. 2007-06-04 01:57:16 +00:00
path.h * cygcheck.cc (get_word, get_dword): Move to path.cc. 2006-10-05 17:24:13 +00:00
ps.cc * ps.cc (main): Set aflag if -p option is given. 2006-02-17 11:16:23 +00:00
regtool.cc * regtool.cc (key_type): Drop. 2006-10-21 17:19:29 +00:00
setfacl.c bad_keywords 2006-01-18 15:57:56 +00:00
setmetamode.c * Makefile.in: Build setmetamode.exe. 2006-07-03 16:00:58 +00:00
ssp.c bad_keywords 2006-01-18 15:57:56 +00:00
ssp.txt
strace.cc * strace.cc (proc_child): Propagate return code from child process. 2006-05-24 16:50:50 +00:00
umount.cc
utils.sgml * cygpath.cc (usage): Add -O and -F, remove tabs. 2007-01-09 12:17:05 +00:00