1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-29 21:47:30 +03:00

One more fix for the difference between FILE and X_FILE.

This commit is contained in:
Andrew Bartlett -
parent 6a028507f0
commit 7e56014b28

View File

@ -86,7 +86,7 @@ char *smb_readline(char *prompt, void (*callback)(void),
char **(completion_fn)(char *text, int start, int end))
{
#if HAVE_LIBREADLINE
if (isatty(fileno(x_stdin))) {
if (isatty(x_fileno(x_stdin))) {
char *ret;
/* Aargh! Readline does bizzare things with the terminal width