[Gambas-Notification] [Git][gambas/gambas][master] Avoid race conditions with actual reads, when we need to PEEK all the bytes of a stream.

Benoît Minisini (@bminisini) gitlab at mg.gitlab.com
Tue Feb 1 02:41:27 CET 2022



Benoît Minisini pushed to branch master at Gambas / gambas


Commits:
c1c14d0f by gambas at 2022-02-01T02:37:09+01:00
Avoid race conditions with actual reads, when we need to PEEK all the bytes of a stream.

[INTERPRETER]
* BUG: If some data have been peeked on a stream, then the next reads will
  only return the peeked data until they all have been exhausted, and the
  Lof() function will return the number of peeked bytes yet to read.

- - - - -


1 changed file:

- main/gbx/gbx_stream.c


View it on GitLab: https://gitlab.com/gambas/gambas/-/commit/c1c14d0f8ad9cc086820e49a6a0e7b27132480b4

-- 
View it on GitLab: https://gitlab.com/gambas/gambas/-/commit/c1c14d0f8ad9cc086820e49a6a0e7b27132480b4
You're receiving this email because of your account on gitlab.com.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/notification/attachments/20220201/34d1bebc/attachment.htm>


More information about the Notification mailing list