diff options
author | Christopher Faylor <me@cgf.cx> | 2011-10-20 14:02:54 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2011-10-20 14:02:54 +0000 |
commit | 38d732a152ff27601b385c00e6574111461b65c4 (patch) | |
tree | ce60ae6b1ad6b8ca6e1d71d10cddaffebbf62ab2 /winsup/cygwin/devices.in | |
parent | aa982024d14f9d6c4afe8ada89e5a46585623102 (diff) | |
download | cygnal-38d732a152ff27601b385c00e6574111461b65c4.tar.gz cygnal-38d732a152ff27601b385c00e6574111461b65c4.tar.bz2 cygnal-38d732a152ff27601b385c00e6574111461b65c4.zip |
Throughout change TTY_* to PTY_*, tty_* to pty_*, and ttym_* to ptmx_*.
* devices.cc: Regenerate.
* dtable.cc: (fh_alloc): Preserve /dev/tty name when that's what we opened.
(build_fh_pc): Preserve any existing name.
* fhandler.cc (fhandler_base::open_with_arch): Ditto.
* fhandler_tty.cc (fhandler_pty_master::fhandler_pty_master): Force the name to
/dev/ptmx while preserving other pty master device information.
* path.h (cfree_maybe): New macro.
(path_conv::operator =): Free any allocated strings in target.
(path_conv::free_strings): Delete unused function.
* sigproc.cc (proc_terminate): Remove previous accommodation for execed
processes since it didn't have the desired effect. Change comment to a FIXME.
* spawn.cc (chExeced): Mark NO_COPY.
(exe_suffixes): Ditto.
Diffstat (limited to 'winsup/cygwin/devices.in')
-rw-r--r-- | winsup/cygwin/devices.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/devices.in b/winsup/cygwin/devices.in index 203ab4379..b404e425d 100644 --- a/winsup/cygwin/devices.in +++ b/winsup/cygwin/devices.in @@ -66,8 +66,8 @@ const device dev_error_storage = } %% "/dev/tty", BRACK(FH_TTY), "/dev/tty" -"/dev/pty%(0-63)d", BRACK(FHDEV(DEV_TTYS_MAJOR, {$1})), "/dev/pty{$1}", ttys_dev -"/dev/ptym%(0-63)d", BRACK(FHDEV(DEV_TTYM_MAJOR, {$1})), "/dev/ptym{$1}", ttym_dev +"/dev/pty%(0-63)d", BRACK(FHDEV(DEV_PTYS_MAJOR, {$1})), "/dev/pty{$1}", ptys_dev +"/dev/ptym%(0-63)d", BRACK(FHDEV(DEV_PTYM_MAJOR, {$1})), "/dev/ptym{$1}", ptym_dev "/dev/cons%(0-63)d", BRACK(FHDEV(DEV_CONS_MAJOR, {$1})), "/dev/cons{$1}", cons_dev "/dev/console", BRACK(FH_CONSOLE), "/dev/console", console_dev "/dev/ptmx", BRACK(FH_PTMX), "/dev/ptmx" |