From 8f166a97259444a284f9839689db563ff58cf73b Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Sat, 8 Feb 2003 01:01:49 +0000 Subject: merge from HEAD - x_fileno, not fileno on an XFILE (This used to be commit e3468d8edc77c4d3dffc81770f4bc991e5a5fe52) --- source3/lib/readline.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/lib/readline.c') diff --git a/source3/lib/readline.c b/source3/lib/readline.c index c0ccf44715..8b90c32c7f 100644 --- a/source3/lib/readline.c +++ b/source3/lib/readline.c @@ -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 -- cgit