summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorRichard Mitton <richard@codersnotes.com>2013-09-25 18:45:59 +0000
committerRichard Mitton <richard@codersnotes.com>2013-09-25 18:45:59 +0000
commit25b092835e14dadf8af83be53ab5d549e8b572b2 (patch)
treec9cbd90ec32e86ff90e7fa00eb191283c0526932 /llvm/lib
parentb6854d80e36520b9471e88bf8d241279d7cd6dce (diff)
downloadbcm5719-llvm-25b092835e14dadf8af83be53ab5d549e8b572b2.tar.gz
bcm5719-llvm-25b092835e14dadf8af83be53ab5d549e8b572b2.zip
Fixed a race condition where the prompt would randomly go missing.
el_gets was using fflush to output it's string, but because we have our own filter running on the piped pty output, fflush only causes the prompt to be written into the pipe, and does not cause the filter code to run immediately. The simplest fix is to manually block and wait for all editline output to be processed. This fixes PR 14637. llvm-svn: 191392
Diffstat (limited to 'llvm/lib')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud