This is the mail archive of the
cygwin-cvs@cygwin.com
mailing list for the Cygwin project.
src/winsup/utils ChangeLog cygpath.cc utils.sgml
- From: corinna at cygwin dot com
- To: cygwin-cvs at cygwin dot com
- Date: 22 May 2002 10:05:42 -0000
- Subject: src/winsup/utils ChangeLog cygpath.cc utils.sgml
CVSROOT: /cvs/src
Module name: src
Changes by: corinna@sources.redhat.com 2002-05-22 03:05:42
Modified files:
winsup/utils : ChangeLog cygpath.cc utils.sgml
Log message:
* cygpath.cc (usage): Change usage output slightly.
* cygpath.cc (main): Add option l to support conversion to
Windows long file names. Refactured code for capital options.
Support of options from file for capital options.
(dowin): New function. Refactured from main.
(doit): Call long path conversion.
(get_long_name): New function.
(get_long_paths): New function.
(get_long_path_name_w32impl): New function. Reimplementation
of Windows API function GetLongPathName (only 98/Me/2000/XP or
higher).
(get_short_name): Call GetShortPathName only once.
(get_short_paths): Fix calculating buffer size.
* utils.sgml: Update cygpath section for l option.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/utils/ChangeLog.diff?cvsroot=src&r1=1.143&r2=1.144
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/utils/cygpath.cc.diff?cvsroot=src&r1=1.17&r2=1.18
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/utils/utils.sgml.diff?cvsroot=src&r1=1.20&r2=1.21