You don't need this check, you can just do that unconditionally and it'll work in both cases. https://github.com/willemt/bipbuffer/blob/cb7b9ad5a5a41eb35b18a325abc995102851bd8d/bipbuffer.c#L125
You don't need this check, you can just do that unconditionally and it'll work in both cases.
bipbuffer/bipbuffer.c
Line 125 in cb7b9ad