aboutsummaryrefslogtreecommitdiff
path: root/sqlite3
diff options
context:
space:
mode:
authorSteve Bennett <steveb@workware.net.au>2022-02-23 08:34:03 +1000
committerSteve Bennett <steveb@workware.net.au>2022-02-23 12:30:38 +1000
commit8faa0cb2805808e9f350acdc24d1f4de875f5aa3 (patch)
tree62eaab64548a06b6c8475f4c2de2fb2bd628f8a9 /sqlite3
parent043325531af41ba102ff79ea4e251dfc201e287b (diff)
downloadjimtcl-8faa0cb2805808e9f350acdc24d1f4de875f5aa3.zip
jimtcl-8faa0cb2805808e9f350acdc24d1f4de875f5aa3.tar.gz
jimtcl-8faa0cb2805808e9f350acdc24d1f4de875f5aa3.tar.bz2
aio: gets: Improve behaviour for non-blocking streams
Previously calling gets on a non-blocking stream could easily result in a partial line. Now if a partial line is read, return zero/empty to indicate that nothing is available while storing the partial line. The next call to gets (typically within a readable script) will continue appending to the previous partial line until a complete line can be returned. Signed-off-by: Steve Bennett <steveb@workware.net.au>
Diffstat (limited to 'sqlite3')
0 files changed, 0 insertions, 0 deletions