mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-25 19:25:43 +00:00
Open VMS changes bug 60143
This commit is contained in:
parent
157d2345bc
commit
5a0634f3c0
@ -55,7 +55,7 @@ static int quiet_fgets (char *buf, int length, FILE *input);
|
||||
|
||||
static void echoOff(int fd)
|
||||
{
|
||||
#ifdef XP_UNIX
|
||||
#if defined(XP_UNIX) && !defined(VMS)
|
||||
if (isatty(fd)) {
|
||||
struct termios tio;
|
||||
tcgetattr(fd, &tio);
|
||||
@ -67,7 +67,7 @@ static void echoOff(int fd)
|
||||
|
||||
static void echoOn(int fd)
|
||||
{
|
||||
#ifdef XP_UNIX
|
||||
#if defined(XP_UNIX) && !defined(VMS)
|
||||
if (isatty(fd)) {
|
||||
struct termios tio;
|
||||
tcgetattr(fd, &tio);
|
||||
|
@ -64,7 +64,11 @@
|
||||
|
||||
static char consoleName[] = {
|
||||
#ifdef XP_UNIX
|
||||
#ifdef VMS
|
||||
"TT"
|
||||
#else
|
||||
"/dev/tty"
|
||||
#endif
|
||||
#else
|
||||
"CON:"
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user