summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2003-02-08 01:01:49 +0000
committerAndrew Bartlett <abartlet@samba.org>2003-02-08 01:01:49 +0000
commit8f166a97259444a284f9839689db563ff58cf73b (patch)
tree1d171a5fd5a38d7fce3d002e4a4b1a630f455e12 /source3
parentb36a53b0cb794ad7b620cfa8e794e4149965c15e (diff)
downloadsamba-8f166a97259444a284f9839689db563ff58cf73b.tar.gz
samba-8f166a97259444a284f9839689db563ff58cf73b.tar.bz2
samba-8f166a97259444a284f9839689db563ff58cf73b.zip
merge from HEAD - x_fileno, not fileno on an XFILE
(This used to be commit e3468d8edc77c4d3dffc81770f4bc991e5a5fe52)
Diffstat (limited to 'source3')
-rw-r--r--source3/lib/readline.c2
1 files changed, 1 insertions, 1 deletions
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