git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b36a53b
)
merge from HEAD - x_fileno, not fileno on an XFILE
author
Andrew Bartlett
<abartlet@samba.org>
Sat, 8 Feb 2003 01:01:49 +0000
(
01:01
+0000)
committer
Andrew Bartlett
<abartlet@samba.org>
Sat, 8 Feb 2003 01:01:49 +0000
(
01:01
+0000)
(This used to be commit
e3468d8edc77c4d3dffc81770f4bc991e5a5fe52
)
source3/lib/readline.c
patch
|
blob
|
history
diff --git
a/source3/lib/readline.c
b/source3/lib/readline.c
index c0ccf44715da51a1a64625d09bf826302be6bb22..8b90c32c7f9f1066c388f2c3bef10248b5b5baab 100644
(file)
--- 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