newlib/winsup/cygwin/include
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
..
arpa Remove spurious execute permissions from some Cygwin source and text files 2015-10-27 16:10:37 +00:00
asm Define __s64 and __u64 2015-04-27 14:40:27 +02:00
attr
bits
cygwin Drop using _tlsbase and _tlstop in favor of access via NtCurrentTeb. 2015-12-02 12:11:06 +01:00
machine
net
netinet Define MAX_IPOPTLEN 2015-11-02 15:42:30 +01:00
sys Allow cygwin_conv_path(3) and cygpath(1) to emit /proc/cygdrive prefixed path 2015-12-06 17:25:48 +01:00
a.out.h
byteswap.h
dlfcn.h
elf.h
endian.h
err.h
error.h
fcntl.h * include/fcntl.h: Move all open flags (except O_NDELAY) to newlib's 2014-11-25 11:42:20 +00:00
features.h
fenv.h Remove spurious execute permissions from some Cygwin source and text files 2015-10-27 16:10:37 +00:00
fnmatch.h
fts.h
ftw.h
getopt.h
glob.h * include/glob.h: Fix invalid use of 'restrict' error. 2013-11-28 10:00:01 +00:00
icmp.h
ifaddrs.h
io.h
lastlog.h
limits.h
mapi.h
memory.h
mntent.h
monetary.h
mqueue.h
netdb.h * autoload.cc (IdnToAscii): Define. 2013-11-19 13:29:37 +00:00
paths.h
poll.h
process.h
pthread.h headers: properly decorate attributes 2014-08-01 15:48:37 +00:00
pty.h
regex.h
resolv.h Remove spurious execute permissions from some Cygwin source and text files 2015-10-27 16:10:37 +00:00
search.h
semaphore.h
sysexits.h
syslog.h
termio.h
tzfile.h
ucontext.h Implement getcontext, setcontext, makecontext, swapcontext 2015-07-17 14:31:12 +02:00
utmpx.h
wait.h