This is the mail archive of the
cygwin-cvs@cygwin.com
mailing list for the Cygwin project.
src/winsup/utils ChangeLog cygcheck.cc path.cc ...
- From: briand at cygwin dot com
- To: cygwin-cvs at cygwin dot com
- Date: 11 Mar 2008 17:20:02 -0000
- Subject: src/winsup/utils ChangeLog cygcheck.cc path.cc ...
CVSROOT: /cvs/src
Module name: src
Changes by: briand@sourceware.org 2008-03-11 17:20:02
Modified files:
winsup/utils : ChangeLog cygcheck.cc path.cc path.h
Log message:
* cygcheck.cc (dirname): New static function.
(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.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/utils/ChangeLog.diff?cvsroot=src&r1=1.395&r2=1.396
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/utils/cygcheck.cc.diff?cvsroot=src&r1=1.97&r2=1.98
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/utils/path.cc.diff?cvsroot=src&r1=1.13&r2=1.14
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/utils/path.h.diff?cvsroot=src&r1=1.3&r2=1.4