Merge pull request #1493 from ajrhacker/stdlib_fix

Fix Clang build (nw)
This commit is contained in:
Miodrag Milanović 2016-10-09 17:33:59 +02:00 committed by GitHub
commit a22650b437

View File

@ -2296,7 +2296,7 @@ int InputBuffer::incrementalHistorySearch(PromptBase& pi, int startChar) {
historyLinePosition);
}
fprintf(stdout, "\n");
std::exit(0);
exit(0);
//#endif
// these characters update the search string, and hence the selected input
@ -2938,7 +2938,7 @@ int InputBuffer::getInputLine(PromptBase& pi) {
//if (!pi.write()) break; // Redraw prompt
//refreshLine(pi); // Refresh the line
fprintf(stdout,"\n");
std::exit(0);
exit(0);
//break;
//#endif