Message275510
Okay so regarding blocking reads with a full buffer, what you are saying is the second check to break the read loop should be sufficient: +/* If the buffer ended with a newline, break out */ +if (buf[*readlen - 1] == '\n') + break; | |
| Date | User | Action | Args | | 2016-09-10 00:30:02 | martin.panter | set | recipients: + martin.panter, lemburg, mhammond, terry.reedy, paul.moore, tzot, amaury.forgeotdarc, ncoghlan, pitrou, giampaolo.rodola, tim.golden, mark, ned.deily, christoph, ezio.melotti, v+python, hippietrail, flox, davidsarah, santoso.wijaya, akira, David.Sankel, python-dev, smerlin, lilydjwg, berker.peksag, piotr.dobrogost, eryksun, Drekin, steve.dower, wiz21, stijn, Jonitis, gurnec, escapewindow, dead1ne | | 2016-09-10 00:30:01 | martin.panter | set | messageid: <1473467401.99.0.489305764964.issue1602@psf.upfronthosting.co.za> | | 2016-09-10 00:30:01 | martin.panter | link | issue1602 messages | | 2016-09-10 00:30:01 | martin.panter | create | | |