diff options
author | Christopher Faylor <me@cgf.cx> | 2007-06-04 01:57:16 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2007-06-04 01:57:16 +0000 |
commit | f0136ac908139d876f3ebb6c4070ebc847d70cdd (patch) | |
tree | 6f1561a3dec4c983ed9c2ee856cc39037ae1b559 /newlib/libc/stdio/fseek.c | |
parent | 1fec1363bbabb7cdc9e825ec8cdaa9991a57064e (diff) | |
download | cygnal-f0136ac908139d876f3ebb6c4070ebc847d70cdd.tar.gz cygnal-f0136ac908139d876f3ebb6c4070ebc847d70cdd.tar.bz2 cygnal-f0136ac908139d876f3ebb6c4070ebc847d70cdd.zip |
* 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.
Diffstat (limited to 'newlib/libc/stdio/fseek.c')
0 files changed, 0 insertions, 0 deletions