libc/winsup/utils
Corinna Vinschen 5aa8817e3a Allow cygwin_conv_path(3) and cygpath(1) to emit /proc/cygdrive prefixed path
* include/sys/cygwin.h (CCP_PROC_CYGDRIVE): New flag.
        * mount.cc (mount_info::cygdrive_posix_path): Take flag values rather
        than just a trailing_slash_p bool.  Emit /proc/cygdrive path if
        CCP_PROC_CYGDRIVE flag is given.
        (mount_info::conv_to_posix_path): Take flag values rather than just
        a keep_rel_p bool.  Rename _p variables.  Print flag value as hex in
        debug_printf.  Call cygdrive_posix_path with flag values.
        * mount.h (mount_info::cygdrive_posix_path): Accommodate above change
        in declaration.
        (mount_info::conv_to_posix_path): Ditto.
        * fhandler_process.cc (format_process_exename): Accommodate change to
        mount_info::conv_to_posix_path.
        * path.cc (cygwin_conv_path): Ditto.

        * cygpath.cc (absolute_flag): Initialize to CCP_RELATIVE to simplify
        expressions.
        (cygdrive_flag): New global flag.
        (long_options): Add --proc-cygdrive option.
        (options): Add -U option.
        (usage): Add description for -U option.
        (do_sysfolders): Or cygdrive_flag to cygwin_conv_path call.
        (do_pathconv): Simply or absolute_flag to conv_func.  Or
        cygdrive_flag to conv_func.
        (do_options): Initalize absolute_flag to CCP_RELATIVE.  Initialize new
        cygdrive_flag.  Set absolute_flag to CCP_ABSOLUTE on -a.  Set
        cygdrive_flag to CCP_PROC_CYGDRIVE on -U.

        * new-features.xml (ov-new2.4): Document cygpath -U option.
        * utils.xml (cygpath): Ditto.
        * path.xml (func-cygwin-path): Add CCP_PROC_CYGDRIVE description.

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2015-12-06 17:25:48 +01:00
..
COPYING.dumper * dumper.cc: Change license to plain GPLv2 + later. 2007-07-24 19:08:23 +00:00
ChangeLog Allow cygwin_conv_path(3) and cygpath(1) to emit /proc/cygdrive prefixed path 2015-12-06 17:25:48 +01:00
ChangeLog-2000 * regtool.cc (translate): Ensure that 'c' is initialized. 2001-01-10 14:20:16 +00:00
ChangeLog.64bit * Merge in cygwin-64bit-branch. 2013-04-23 09:44:36 +00:00
Makefile.in * Makefile.in: Add rules to create and depend on tzmap.h. 2014-12-05 13:41:52 +00:00
aclocal.m4 winsup/ChangeLog: 2013-11-07 00:19:52 +00:00
autogen.sh ChangeLog: 2012-11-23 13:22:47 +00:00
bloda.cc Update copyrights 2013-01-21 16:28:27 +00:00
configure * configure.ac: Convert to new AC_INIT style. 2014-08-15 21:24:35 +00:00
configure.ac * configure.ac: Convert to new AC_INIT style. 2014-08-15 21:24:35 +00:00
cygcheck.cc cygcheck.cc: Fix missing commas in products array 2015-08-30 21:46:58 +02:00
cygpath.cc Allow cygwin_conv_path(3) and cygpath(1) to emit /proc/cygdrive prefixed path 2015-12-06 17:25:48 +01:00
cygwin-console-helper.cc * cygwin-console-helper.cc: New file. 2009-07-05 00:01:26 +00:00
dump_setup.cc * dump_setup.cc (check_package_files): Accommodate postinstall 2015-02-17 23:36:23 +00:00
dumper.cc * Merge in cygwin-64bit-branch. 2013-04-23 09:44:36 +00:00
dumper.h * Merge in cygwin-64bit-branch. 2013-04-23 09:44:36 +00:00
getconf.c winsup/utils: add CPU cache variables to getconf(1) 2015-10-22 12:51:20 -05:00
getfacl.c Reapply POSIX ACL changes. 2015-11-18 22:27:54 +01:00
kill.cc Fix SEGV of kill -l 0 2015-11-26 22:31:01 +01:00
ldd.cc Fix potential hang in ldd if DLL encounters missing entry point 2015-07-20 18:32:24 +02:00
ldh.cc * ldh.cc (WinMain): Change DONT_RESOLVE_DLL_REFERENCES to 2010-08-28 12:12:53 +00:00
loadlib.h * Makefile.in: Move CFLAGS and CXXFLAGS so that they can be manipulated by 2012-11-28 03:22:36 +00:00
locale.cc * Merge in cygwin-64bit-branch. 2013-04-23 09:44:36 +00:00
minidumper.cc * minidumper.cc (filter_minidump_type): New function. 2014-05-13 10:26:26 +00:00
mkgroup.c * mkgroup.c (MAX_SID_LEN): Remove. Instead, use SECURITY_MAX_SID_SIZE 2015-02-25 20:18:29 +00:00
mkpasswd.c * mkgroup.c (MAX_SID_LEN): Remove. Instead, use SECURITY_MAX_SID_SIZE 2015-02-25 20:18:29 +00:00
module_info.cc * Makefile.in (cygcheck.exe): Link against wininet.dll. 2013-11-19 11:14:36 +00:00
mount.cc * Merge in cygwin-64bit-branch. 2013-04-23 09:44:36 +00:00
parse_pe.cc * Merge in cygwin-64bit-branch. 2013-04-23 09:44:36 +00:00
passwd.c * passwd.c (GetPW): If server is NULL, and the user is not a local 2014-11-24 11:07:32 +00:00
path.cc Bind mounts require POSIX paths 2015-06-08 17:37:55 +02:00
path.h * Makefile.in (path-mount.o): Add a rule to build stripped down version 2009-07-22 10:20:26 +00:00
pldd.c * pldd.c: Fix typo in license header. 2012-02-24 21:53:28 +00:00
ps.cc cygwin: Fix copyright dates 2015-07-29 13:45:46 +02:00
regtool.cc * regtool.cc (longopts): Add --force option. 2015-02-03 15:14:57 +00:00
setfacl.c setfacl: Allow to combine -b and -k options 2015-11-18 22:41:11 +01:00
setmetamode.c Clean up whitespace. 2011-12-17 23:39:47 +00:00
ssp.c * Merge in cygwin-64bit-branch. 2013-04-23 09:44:36 +00:00
ssp.txt Cleanup formatting on some files. Remove excessive whitespace. 2000-10-28 05:00:00 +00:00
strace.cc strace: Handle ofile descriptor more carefully. 2015-08-03 12:02:17 +02:00
testsuite.cc Update copyrights 2013-01-21 16:28:27 +00:00
testsuite.h Update copyrights 2013-01-21 16:28:27 +00:00
tzmap-from-unicode.org Asia/Calcutta -> Asia/Kolkata (not on unicode.org) 2015-04-23 22:03:45 +02:00
tzmap.h Asia/Calcutta -> Asia/Kolkata (not on unicode.org) 2015-04-23 22:03:45 +02:00
tzset.c cygwin: Fix copyright dates 2015-07-29 13:45:46 +02:00
umount.cc Update copyrights 2013-01-21 16:28:27 +00:00
wide_path.h * cygpath.cc (do_pathconv): when -p option is given, generate wide 2013-06-26 13:10:35 +00:00