Commit 99fde49b authored by Benoit Perrot's avatar Benoit Perrot
Browse files

Index: ChangeLog

from  Benoît Perrot  <benoit@lrde.epita.fr>

	* src/shell.cc (readline): When the true readline is lacking, use
	STL's getline instead of istream::operator>> to get a line instead
	of a word.
	Reported by Julien Vanegue.
parent bf456b38
2004-07-14 Benot Perrot <benoit@lrde.epita.fr>
* src/shell.cc (readline): When the true readline is lacking, use
STL's getline instead of istream::operator>> to get a line instead
of a word.
Reported by Julien Vanegue.
2004-07-14 Benot Perrot <benoit@lrde.epita.fr>
* INSTALL: Explain --with-readline-{includes,library} usage.
......
......@@ -58,7 +58,7 @@ namespace shell
#else // !HAVE_READLINE_READLINE_H
std::cout << prompt;
std::cin >> line;
getline(std::cin, line);
return !std::cin.eof();
#endif // HAVE_READLINE_READLINE_H
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment