mirror of
https://github.com/samba-team/samba.git
synced 2025-01-28 17:47:29 +03:00
minor portability fix
samba-patches 820
This commit is contained in:
parent
e2558baa32
commit
ea0a12fb60
@ -196,7 +196,9 @@ static int dochild(int master, const char *slavedev, const struct passwd *pass,
|
||||
}
|
||||
stermios.c_lflag &= ~(ECHO | ECHOE | ECHOK | ECHONL);
|
||||
stermios.c_lflag |= ICANON;
|
||||
#ifdef ONLCR
|
||||
stermios.c_oflag &= ~(ONLCR);
|
||||
#endif
|
||||
if (tcsetattr(0, TCSANOW, &stermios) < 0)
|
||||
{
|
||||
DEBUG(3, ("could not set attributes of pty\n"));
|
||||
|
Loading…
x
Reference in New Issue
Block a user