mirror of
https://github.com/samba-team/samba.git
synced 2024-12-30 13:18:05 +03:00
One more fix for the difference between FILE and X_FILE.
(This used to be commit 7e56014b28
)
This commit is contained in:
parent
315e4f513b
commit
99f9caebe4
@ -86,7 +86,7 @@ char *smb_readline(char *prompt, void (*callback)(void),
|
|||||||
char **(completion_fn)(char *text, int start, int end))
|
char **(completion_fn)(char *text, int start, int end))
|
||||||
{
|
{
|
||||||
#if HAVE_LIBREADLINE
|
#if HAVE_LIBREADLINE
|
||||||
if (isatty(fileno(x_stdin))) {
|
if (isatty(x_fileno(x_stdin))) {
|
||||||
char *ret;
|
char *ret;
|
||||||
|
|
||||||
/* Aargh! Readline does bizzare things with the terminal width
|
/* Aargh! Readline does bizzare things with the terminal width
|
||||||
|
Loading…
Reference in New Issue
Block a user