summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>2000-04-03 07:18:51 +0000
committerLuke Leighton <lkcl@samba.org>2000-04-03 07:18:51 +0000
commit2ca35791546e97f6fdb08e521e695c19f1331ba8 (patch)
tree29d1eceedaaef4c6d124b9ad1570e314251a3fff
parentfc5c59ab0a9d9778c7d919c1f95bf1a0744b4d35 (diff)
downloadsamba-2ca35791546e97f6fdb08e521e695c19f1331ba8.tar.gz
closing stdin in the readline(""); test
-rw-r--r--source/tests/readline.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/tests/readline.c b/source/tests/readline.c
index 75a146e6a83..5a2d2fabed0 100644
--- a/source/tests/readline.c
+++ b/source/tests/readline.c
@@ -10,5 +10,6 @@
#endif
main()
{
+ fclose(stdin);
readline("");
}