diff options
author | Michał Łyszczek <michal.lyszczek@bofc.pl> | 2018-02-02 22:01:36 +0100 |
---|---|---|
committer | Michał Łyszczek <michal.lyszczek@bofc.pl> | 2018-02-02 22:01:36 +0100 |
commit | f5cf69d94ce594be2796f75bada6def7993c9d41 (patch) | |
tree | 7f530ab1bfeaa09c1f4e3ba15c918a839a2d391e /rb | |
parent | 57a2874206420e66d47ac079a8892aae19c7c127 (diff) | |
download | librb-f5cf69d94ce594be2796f75bada6def7993c9d41.tar.gz librb-f5cf69d94ce594be2796f75bada6def7993c9d41.tar.bz2 librb-f5cf69d94ce594be2796f75bada6def7993c9d41.zip |
fix: rb_discard crashes in single-thread mode
Diffstat (limited to 'rb')
-rw-r--r-- | rb/rb.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -687,7 +687,7 @@ struct rb *rb_new * and return, as we don't need to init pthread elements. */ - flags |= O_NONBLOCK; + rb->flags |= O_NONBLOCK; return rb; } |